Skip to content
Algo Trade Analytics Docs

barstate.isconfirmed - Pine Script Variable

Returns true if the script is calculating the last (closing) update of the current bar. The next script calculation will be on the new bar data.

bool

series

  • Pine Script® code that uses this variable could calculate differently on history and real-time data.