Learn NinjaScript: Tracking Highs and Lows Over Time
Running highs and lows are the building blocks of breakout indicators, pivot detection, stop placement, and risk sizing. “Highest high of the last 20 bars” is one function call. “Highest high of this session so far” is a loop. “Highest high since the last SMA cross” is a reset-on-trigger pattern. Different problems, different tools —…









