PROTECTED SOURCE SCRIPT
Updated Index Lead Lag

Plots the percent change of each index over a given input lookback window length.
Indices are color coded (and customizable) to identify their respective percent change in the stacked column plot.
Table at the bottom right shows the previously closed bar's percent changes.
Indicator indicates which indices are leading and lagging over the given lookback period.
Indices are color coded (and customizable) to identify their respective percent change in the stacked column plot.
Table at the bottom right shows the previously closed bar's percent changes.
Indicator indicates which indices are leading and lagging over the given lookback period.
Release Notes
Add index changes to status line visualizationRelease Notes
Updated default lookback length for improved visibility of trendRelease Notes
Added an optional highlight on the reference bar anchor for the current bar's percent change calculation. Highlighted bar appears `lookback window bars input` to the left of the current bar.Release Notes
Adds a vertical bar selector for the comparison start point. Click on the indicator then move the vertical bar to the desired chart data.Release Notes
Allow setting comparison anchor point between:* Time based using vertical selector bar (or timestamp input option)
* Fixed number of bars
Release Notes
bug fix with disabling the table viewRelease Notes
try that againProtected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.