month - PineScript Variable
Overview
Section titled “Overview”Current bar month in exchange timezone.
intQualifier
Section titled “Qualifier”series
Remarks
Section titled “Remarks”- Note that this variable returns the month based on the time of the bar’s open. For overnight sessions (e.g. EURUSD, where Monday session starts on Sunday, 17:00) this value can be lower by 1 than the month of the trading day.