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.
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。