FX Pattern System


System Description:

Signals a buy signal when: moving average is going up standard error channel is going up stochastic is greater than 65 close crosses above top standard error band standard error bandwidth is less than 1.2 Signals a sell signal when: moving average is going down standard error channel is going down stochastic is lesser than 35 close crosses below bottom standard error band standard error bandwidth is less than 1.2
Long Entry Code(copy and paste into the Enhanced System Tester):
bc:=ROC(Mov(C,21,S),1,$)>0 AND ROC(Mov(LinearReg(C,14),3,S),1,$)>0 AND Stoch(5,3)>65 AND Cross(C,Mov((2*STE(C,14))+LinearReg(C,14),3,S)) AND (((4*STE(C, 14))/Mov(C,14,S))*100)<1.2; trade:=If(PREV<=0,If(bc,C,0), If(L<HighestSince(1,PREV=0,C)-(2*ATR(14)),-1,PREV)); Cross(trade>0,0.5)
Long Exit Code(copy and paste into the Enhanced System Tester):
bc:=ROC(Mov(C,21,S),1,$)>0 AND ROC(Mov(LinearReg(C,14),3,S),1,$)>0 AND Stoch(5,3)>65 AND Cross(C,Mov((2*STE(C,14))+LinearReg(C,14),3,S)) AND (((4*STE(C, 14))/Mov(C,14,S))*100)<1.2; trade:=If(PREV<=0,If(bc,C,0), If(L<HighestSince(1,PREV=0,C)-(2*ATR(14)),-1,PREV)); Cross(0,trade)
Short Entry Code(copy and paste into the Enhanced System Tester):
sc:=ROC(Mov(C,21,S),1,$)<0 AND ROC(Mov(LinearReg(C,14),3,S),1,$)<0 AND Stoch(5,3)<35 AND Cross(Mov(LinearReg(C,14),3,S)-(2*STE(C,14)),C) AND (((4*STE(C, 14))/Mov(C,14,S))*100)<1.2; trade:=If(PREV<=0,If(sc,C,0), If(H>LowestSince(1,PREV=0,C)+(2*ATR(14)),-1,PREV)); Cross(trade>0,0.5)
Short Exit Code(copy and paste into the Enhanced System Tester):
sc:=ROC(Mov(C,21,S),1,$)<0 AND ROC(Mov(LinearReg(C,14),3,S),1,$)<0 AND Stoch(5,3)<35 AND Cross(Mov(LinearReg(C,14),3,S)-(2*STE(C,14)),C) AND (((4*STE(C, 14))/Mov(C,14,S))*100)<1.2; trade:=If(PREV<=0,If(sc,C,0), If(H>LowestSince(1,PREV=0,C)+(2*ATR(14)),-1,PREV)); Cross(0,trade)