You cannot use TIME as a variable, since it’s a system constant that cannot be altered.
Use MyTime, instead.
Your idea is fine, it will do.
Selecting the first candle of the month can be done, provided there are no more than 253 candles from then on, si it would be impossible on a TF lower than 4 hours. You’ll need to scan backwards till you find the month’s first day.
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