Trading Strategies from Active Trader Magazine

Another Oddball System

To create the system test, open the tester under the Tools menu.
Select new test and enter the following formulas in for the specific orders.

Enter Long:
ama:=If(Cum(1)=5,Ref(C,-1)+(Pwr((Abs((C-Ref(C,
-4))/Sum(Abs(ROC(C,1,$)),4)))*((2/3)-(2/31))+(2/31),2))*(C-Ref(C,
-1)),PREV+(Pwr((Abs((C-Ref(C,-4))/Sum(Abs(ROC(C,1,$)),4)))*((2/3)
-(2/31))+(2/31),2))*(C-PREV));C>BBandTop(ama,38,S,3)

Close Long:
ama:=If(Cum(1)=5,Ref(C,-1)+(Pwr((Abs((C-Ref(C,
-4))/Sum(Abs(ROC(C,1,$)),4)))*((2/3)-(2/31))+(2/31),2))*(C-Ref(C,
-1)),PREV+(Pwr((Abs((C-Ref(C,-4))/Sum(Abs(ROC(C,1,$)),4)))*((2/3)
-(2/31))+(2/31),2))*(C-PREV));C<BBandBot(ama,38,S,3)

Enter Short:
ama:=If(Cum(1)=5,Ref(C,-1)+(Pwr((Abs((C-Ref(C,
-4))/Sum(Abs(ROC(C,1,$)),4)))*((2/3)-(2/31))+(2/31),2))*(C-Ref(C,
-1)),PREV+(Pwr((Abs((C-Ref(C,-4))/Sum(Abs(ROC(C,1,$)),4)))*((2/3)
-(2/31))+(2/31),2))*(C-PREV));C<BBandBot(ama,38,S,3)

Close Short:
ama:=If(Cum(1)=5,Ref(C,-1)+(Pwr((Abs((C-Ref(C,
-4))/Sum(Abs(ROC(C,1,$)),4)))*((2/3)-(2/31))+(2/31),2))*(C-Ref(C,
-1)),PREV+(Pwr((Abs((C-Ref(C,-4))/Sum(Abs(ROC(C,1,$)),4)))*((2/3)
-(2/31))+(2/31),2))*(C-PREV));C>BBandTop(ama,38,S,3)