New candle - Open trade issue
-
I see when a new candle opens (i have same time signal) it wants to open a trade.
I need to open trade in exactly 1-3 seconds after the candle is opened.
I create a test project [https://fxdreema.com/shared/Fv0LNg9xc](link url)
But seems it doesn't work at all.
Is there any issue to open new trade once candle is opened? -
Is there any help on this?
-
@gsmtricks theres lots of problems with ontimer lately, maybe there is some unknown bug...
You could do it ontick, and just hope there are ticks during those 1-3 seconds.When new candle opens, put the time into a variable with TimeCurrent() function.
Now you can set condition: TimeCurrent() > variable + 2
This way you get a 2 second delay from candle open.