Here is the system,
basic moving average system with ROC to validate
Let me know if it is good or not and if ok what we can do to improve it. Also if you improve it so much that you can't stand to post it then please at least pm me with it and I won't post it.
There could be a # of things wrong with it, just not sure what they are, will have a better idea once somebody codes it in a different backtester. I have just begun using amibroker so might be coded wrong.
Lets have fun with this,
wdbaker
___________________________________________
Filter=TimeNum()>=080000 AND TimeNum()<=150000;
PositionSize=2500;
//*Buy___________________________________*//
test1= Filter AND MA(Close,5)>MA(Close,30) AND MA(Close,5)>MA(Close,50) AND ROC(MA(Close,50),2)>.09 ;
Buy=test1;
Sell=Cross(MA(Close,50),MA(Close,10))OR TimeNum()>150000;
//*Sell___________________________________*//
test2=Filter AND MA(Close,5)<MA(Close,30) AND MA(Close,5)<MA(Close,50) AND ROC(MA(Close,50),2)<-.045;
Short=test2;
Cover=Cross(MA(Close,10),MA(Close,50))OR TimeNum()>150000;
basic moving average system with ROC to validate
Let me know if it is good or not and if ok what we can do to improve it. Also if you improve it so much that you can't stand to post it then please at least pm me with it and I won't post it.
There could be a # of things wrong with it, just not sure what they are, will have a better idea once somebody codes it in a different backtester. I have just begun using amibroker so might be coded wrong.
Lets have fun with this,
wdbaker
___________________________________________
Filter=TimeNum()>=080000 AND TimeNum()<=150000;
PositionSize=2500;
//*Buy___________________________________*//
test1= Filter AND MA(Close,5)>MA(Close,30) AND MA(Close,5)>MA(Close,50) AND ROC(MA(Close,50),2)>.09 ;
Buy=test1;
Sell=Cross(MA(Close,50),MA(Close,10))OR TimeNum()>150000;
//*Sell___________________________________*//
test2=Filter AND MA(Close,5)<MA(Close,30) AND MA(Close,5)<MA(Close,50) AND ROC(MA(Close,50),2)<-.045;
Short=test2;
Cover=Cross(MA(Close,10),MA(Close,50))OR TimeNum()>150000;