If you are trading the 1 hour timeframe, you can simply use TRADEINDEX keyword, that give you the barindex number where the trades were launched at market. Then you only need to make differences between the current barindex and the last tradeindex to know if there is already 4 bars elapsed.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok