PROTECTED SOURCE SCRIPT
Updated

Index Lead Lag

188
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.
Release Notes
Add index changes to status line visualization
Release Notes
Updated default lookback length for improved visibility of trend
Release 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 view
Release Notes
try that again

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.