OPEN-SOURCE SCRIPT
Updated SPY Offset

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
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 updatesRelease Notes
Clean ups1. Blue line = SPY SMA 7d
2. Green line = Net Liq SMA 7d
3. Orange line = Difference
Release Notes
Cleaner computationAdded upper/lower bands
Removed Horizontal Offset (not sure if this is a good thing)
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.