Forums › ProRealTime English forum › ProOrder support › Unable to back test RSI and Hull average strategy › Reply To: Unable to back test RSI and Hull average strategy
06/06/2020 at 8:01 PM
#134922
What are you trying to do with below?
I may be missing something, but I read below as …
If Close = Open and Close > Open Then … which of course will never occur??
On reflection, maybe the code is read as … if Open and Close … which of course you always have in every bar?? 🙂
So
c1 = Close
C2 = Open
Achieves nothing?? 🙂
1 2 3 4 5 6 7 |
C1 = CLOSE C2 = OPEN C3 = CLOSE>OPEN IF C1 AND C2 AND C3 THEN BUY 1 PERPOINT AT MARKET ENDIF |