OPEN-SOURCE SCRIPT
Updated Stepped Multi Timeframe MAs with PDH PDL TDH TDL Dynamic Labels

- Plots stepped (blocky) higher‑timeframe moving averages and VWAP on the current chart (HMA/EMA/VWMA/SMA/VWAP toggles).
- Automatically switches MA source to the chart’s timeframe on Daily/Weekly/Monthly (e.g., Weekly chart shows weekly MAs), while intraday charts can use a user-selected higher timeframe.
- Draws Previous Day High/Low (PDH/PDL) anchored from the exact candle that formed the level, then extends the line across the chart up to the latest bar.
- Draws Today’s High/Low (TDH/TDL) the same way, and updates dynamically as new intraday highs/lows are made (the anchor shifts to the new wick candle).
- Keeps labels readable by placing them above/below each line with no background and a clean grey style, and repositions label X based on the visible chart window (so labels stay at a consistent % from the right edge while you pan/zoom)
Release Notes
update: updated the script nameRelease Notes
update: added VIX based first and second standard deviation for 1D volatility range of Indian and US marketsRelease Notes
update: added bellcurve visualization. A new way to see marketsOpen-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.