Hi dear members
I have this single condition based on cross() function:
So, trigger is true if MA2 crosses MA1
Now, I would like to add a second condition.
trigger is true if MA2 crosses MA1 && for the next 16 periods MA1 does not cross MA2.
This formula is to be run on past prices (EOD) daily chart.
Any idea how to go about it?
Thanks!
I have this single condition based on cross() function:
Code:
MA1 = MA(C, 32);
MA2 = MA(C, 16);
trigger = Cross(MA2, MA1);
Now, I would like to add a second condition.
trigger is true if MA2 crosses MA1 && for the next 16 periods MA1 does not cross MA2.
This formula is to be run on past prices (EOD) daily chart.
Any idea how to go about it?
Thanks!