I have seen the following article http://systemtradersuccess.com/rotat...erful-concept/
I am using a trial of the Amibroker charting software to see whether I can support my trading and have been investigating some trading systems to see how they work - objective to do some paper trading as well as backtesting.
The Rotaional Trading system in the above is developed by Frank Hassler. He has posted the following code
However when I run this afl I get stuck at
SetPositionSize( 20, spsPercentOfEquity);
idx = Foreign(“QQQQ”,”Close”);
score = TSI();
Score = IIf(idx>MA(idx,200) OR idx>MA(idx,30),score,0);
PositionScore = IIf(Year()>=2001 AND DayOfWeek()==2,score,scoreNoRotate);
I have tried to google to find code for "cbt_midlevel.afl".
Any help will be appreciated.