My EA is specifically for gold/xauusd and it uses the 4h candle close and pending orders, sometimes it triggers signals at 01:00 (on IC markets the 4h candles are 09:00-13:00, 13:00-1700, 17:00-21:00, 21:00-01:00 and so on)
the problem is that gold on IC markets is closed between 00:00-01:00 and doesn't re-open until a few minutes after 01:00, as my EA uses "Once per bar" it misses out on this signal and waits for the next 05:00-09:00 bar
how do i make it check for the 0100-0500 bar a few minutes after gold has reopened?
my current solution is to use a broker with a different timezone so that the gold market closes and opens within a 4h bar but i'd like to keep using IC markets if possible
below is the basic flow of how the EA works if that helps
https://fxdreema.com/shared/4SVthMFT