EA Waites for the next bar to open trade
-
This EA waits until the next bar to open a trade once the two conditions are met. I have it in the "On Tick" section so I thought it would go through the whole process every tick.
shared/dIhRd1Xwb
How do I make it trade as soon as the conditions are met?
FYI: the second condition is from an indicator that is not on the chart but in its own window. Not sure if that matters but it was something I had thought about.
-
@daniel208forex Put a shared link on here and the problem can be checked. Your conditions are probably set to candle1
-
I guess I had one more step in creating the link. lol
-
@daniel208forex As long as indicator buffers are correct, this will check candle 3 for a correct condition, then check candle 2 for the condition, then wait for candle 1 to close, then place a trade on the forming candle 0. Is this not what you want/expect the EA to do?
-
@daniel208forex You can use just 1 'close trades' block for buys and sells at the same time.
-
@jstap I want all conditions check each tic, once they are all met I want it to open a trade.
Would I just use candle ID 0?
-
@l-andorrà Candle ID would be 1 on each condition or 0?
-
@daniel208forex EA will check conditions every tick if placed on the on tick tab, generally you use the candle number to check if a condition is happening or has happened, if candle close is in your condition then use 1 or higher, this is because as 0 closes it becomes 1.