Page 1 of 1

Backtesting the Middle Indicator

Posted: Fri Jun 23, 2006 2:40 am
by chaika
Isn't it possible to do backtesting with the middle indicator? For example, I created the following system for Amibroker:

Average_Close_Old = Ref(H,-1)+Ref(L,-1);

Average_Close_New = H+L;

Buy = Average_Close_New > Average_Close_Old;

Sell = Average_Close_New < Average_Close_Old;

Short = Average_Close_New < Average_Close_Old;

Cover = Average_Close_New > Average_Close_Old;

In backtesting over the last year with AAI, the system performs well. It doesn't pefrom well with BBBY.

For some reason, the system will only go long and not short. Does anyone know how to correc the system so that it will go short as well as long?

Posted: Fri Jun 23, 2006 3:56 am
by M+13
I was thinking the same thing...Sorry I am not much help on the coding. Still learning the basics. But....

TRO - Is there a way to use your MTC checker and modify it to find the "cows" of the 60 min mid point?

Thanks

Mark