Hi , I created a simple trading system based on trends and acting on weekly ticks.
I intend to insert a condition that prevents the system transactions from happening, if the last transaction was in last tick.
The idea is to prevent transactions being made week after week , that the smallest gap between the two transactions is 2 weeks.
You know how to do it?
Here's the formula:
Buy =
(
C > EMA ( C , 10)
AND C > EMA ( C, 15 )
AND C > EMA ( C , 20)
AND RSI ( 4 ) < 82
)
;
Sell =
(
C < EMA ( C , 10)
And C < EMA ( C, 15 )
)
OR RSI ( 4 ) > 82
;
Short = 0 ;
Cover = 0 ;
Thanks for the help