Gap Not Working
-
I am trying to execute a trade to trigger when a daily gap bar shows up. For shorts, it would execute at the low of the bar that gaps up. Attached is a picture of where it is actually executing trades and I don't know why. Buy/sells are opposite.

-
@xburbx You should use this block for calculating gaps instead:

In this example, this gap is measured from yesterday's close price (bullish candle) and today's open price. You will have to invert the order or price levels for the opposite gap
-
Thanks. Should I use the CANDLE TOTAL SIZE (PIPS) instead of CANDLE CLOSE here? If I use candle close and the ID 0 opens inside the candle wick of candle ID 1, it could be inside 10pips.

-
No. Only specific price levels can be used in this block. That 'candle total size' option is not price level, but a pips distance. The block will not work if you choose that.
-
Thanks. Wouldn't this potentially trigger a situation where the bar that is supposed to be the gap bar opens in the wick of bar 1? That would invalidate a gap. Bar 0 needs to be fully above or below bar 1.
-
Seeing if anyone can help here.
-
@xburbx I'm afraid I can't visualize the problem. Can you please share a screenshot of what you mean?
-
@l-andorrà Let me know if this picture helps. I have also put the shared project link in here.
