Bitcoin / TetherUS
Education

Thinking in Pine - Execution Model and Rollback on Realtime Bars

640
Hello All,

Welcome to another session of "Thinking in Pine" - short video tutorials on Pine Script.

Before continuing with this video, if you are not familiar with var, varip and regular variables, please watch our previous video - "Thinking in Pine - var, varip and regular variables"


🎲 Today's discussion points
  • How var, varip and regular variable modification code works with historical and real time bar updates.
  • Rollback concept of var variables


🎯 Example Program Used


🎲 References
Pine Script® User Manual - Execution Model

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.