MA Cross and Daily Count
-
Hey all,
Can someone help me with this, i have a fxdreema EA which takes a trade at the end of every day, I'd like to prevent the trades from being executed for say 4 days after the cross of an EMA then resume as normal until the next cross, any ideas?Please see my existing project attached.
Thanks,
Dave.
......
daily close 10 100 sell 1 lot.ex4
daily close 10 100 sell 1 lot.mq4 -
Here is some idea: https://fxdreema.com/shared/oKWBYjWlb
I used a variable where I can store the value of time after which I will be allowed to do something (like drawing a vertical line). The value of this variable is checked on every tick and when the current time is >= from that value, the Condition pass. In Modify Variables I set the variable with a value that represents the current time + 4 days in the future.
-
you can do it this way too

theres quite a number of ways to do it with fxdreema......
MACD.xml