barstate.isrealtime - Pine Script Variable
barstate.isrealtime
Section titled “barstate.isrealtime”Overview
Section titled “Overview”Returns true if current bar is a real-time bar, false otherwise.
boolQualifier
Section titled “Qualifier”series
Remarks
Section titled “Remarks”- Pine Script® code that uses this variable could calculate differently on history and real-time data.