OPEN-SOURCE SCRIPT
Updated

SPY Offset

2 070
Show SPY with a 7 day offset (lag)

I dont know if there is a setting on the chart to draw a symbol/line with a lead/lag of 'n' days. This script plots a time series (symbol) with offset
Release Notes
Cleanups and misc updates
Release Notes
Clean ups

1. Blue line = SPY SMA 7d
2. Green line = Net Liq SMA 7d
3. Orange line = Difference
Release Notes
Cleaner computation
Added upper/lower bands
Removed Horizontal Offset (not sure if this is a good thing)

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.