OPEN-SOURCE SCRIPT

Run-Stacked Percentage Move

34
Tracks cumulative percentage change from a dynamic baseline that resets when price direction flips.
The baseline resets to the previous bar's close whenever a non-zero return has the opposite sign from the last non-zero return. Zero-change bars are ignored for flip detection but continue displaying the running cumulative percentage.
Teal histogram bars indicate positive moves from the baseline, red bars indicate negative moves. Useful for comparing directional momentum persistence across different instruments - configure the symbol input to track any security.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.