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.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue