Open Order X minutes after Daily Bar Open
Hi Marc ..
I’m creating a strategy that needs to open an order about 5 minutes or so after the Daily candle has opened.
Sorry if this is a dumb question, but I can’t find exactly what I need in older threads.
My main problem is that some brokers have a 5 minute freeze on NY close … and I therefore want my EA to only assess the rules and open an order 5 minutes after the Daily candle has opened.
Is there an easy way to do this in EA Wizard?
if I understand you you want to trade on Daily timeframe, but you want top open trade 5 minutes after the open.
It is possible to do this. By default rules in EA are evaluated every tick, so it should be enough to add time condition to the rule, like;
Hour = 0 and Minute = 5
… some other rules…
Just be aware that there could multiple ticks in one minute (even in one second) so you should probably use a variable to save information that the rule for given day was already triggered
and check this variable in IF condition to nottrigger it again.
Great thanks a lot Mark .. and sorry for spelling your name wrong in the above post!
Viewing 3 posts - 1 through 3 (of 3 total)