I am using the system tester to back test a method where keltner bands cross moving averages. I buy when the keltner bands cross the Moving Averages on the upside and sell when the kelner bands cross the moving averages on the downside.I have 2 moving averages. A simple moving average and an exponential moving average. The Keltner Indicator is as below:
Mov((H+L+C)/3,10,S);
Mov((H+L+C)/3,x,S) + Mov((H-L),10,S);
Mov((H+L+C)/3,x,S) - Mov((H-L),10,S);
Simple Moving average= Mov(C,10,S)
Exponential Moving average= Mov(C,10,E)
Now I have done the following in the system tester:
BUY ORDER:
Cross(Mov((H+L+C)/3,10,S) AND (Mov((H+L+C)/3,10,S)+Mov((H-L),10,S)) AND (Mov((H+L+C)/3,10,S)-Mov((H-L),10,S)),Mov(C,10,S) AND Mov(C,10,E))
SELL ORDER:
Cross(Mov(C,10,S) AND Mov(C,10,E),Mov((H+L+C)/3,10,S) AND (Mov((H+L+C)/3,10,S)+Mov((H-L),10,S)) AND (Mov((H+L+C)/3,10,S)-Mov((H-L),10,S)))
SELL SHORT ORDER:
Cross(Mov(C,10,S) AND Mov(C,10,E),Mov((H+L+C)/3,10,S) AND (Mov((H+L+C)/3,10,S)+Mov((H-L),10,S)) AND (Mov((H+L+C)/3,10,S)-Mov((H-L),10,S)))
BUY TO COVER ORDER:
Cross(Mov((H+L+C)/3,10,S) AND (Mov((H+L+C)/3,10,S)+Mov((H-L),10,S)) AND (Mov((H+L+C)/3,10,S)-Mov((H-L),10,S)),Mov(C,10,S) AND Mov(C,10,E))
Is this correct? I would appreciate any help given. Thanks