Hi

I met the other day the Trend Quality Indicator by David Sepiashvili
It looks quite interesting. I should test it by using the script for the trend experiment of the financial hacker blog but I havent yet.
Here is the code if someone wants to play with it

Quote:
var BQ(var* Data)
{

vars EMA15 = series(EMA(Data,15));
vars EMA7 = series(EMA(Data,7));
static var count;
if(crossUnder(EMA7,EMA15) ) count = 0;
count = count + Data[1]-Data[0];
vars CPCI = series();
CPCI[0] = count;
vars Trend = series(SMA(CPCI,4));
vars N = series();
N[0]=(CPCI[0]-Trend[0])*(CPCI[0]-Trend[0]);
vars Noise = series(sqrt(SMA(N,250)));
var c=1;
var Q1=0.5*Trend[0]/Noise[0];
var B=100*abs(Trend[0])/(abs(Trend[0])+Noise[0]);

return B;

}