If i want the accurate open time, it have to use default and not updateonclose. Otherwise i will get the new hour time at 21h45 (supposing default timeframe is 15 min) and not at 22h
For th close of the hour, i can get it only at 21h45 (not at 21h or 21h15 or 21h30) even with updateonclose
So i guess i need to do some math with hours to gt close time of the higher timeframe ? and also the barindex of the new or previous hour open ?
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