Thinking in Pine - Time Series Special Cases

Hello Everyone,

Welcome back to "Thinking in Pine" short video series. In this session, we have discussed few special cases of time series variables and using historical operator within local scope.

If you have not watched our previous video - "Thinking in Pine - Time Series", request you to do that before continuing this video.

🎲 Summary of our today's discussion
  • How historical operator works for variables defined inside an conditional block
  • How historical operator works for variables defined in a loop.


🎯 Example Program Used


🎲 References:

Beyond Technical Analysishewhomustnotbenamedpinescriptthinkinginpinetrendoscope

Publications connexes

Clause de non-responsabilité