OPEN-SOURCE SCRIPT
Run-Stacked Percentage Move

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.
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.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
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.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
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.