OPEN-SOURCE SCRIPT
Intra-Day SMAs

Intra-Day SMAs is a simple yet essential tool for intraday traders who need to see daily moving average levels while working on lower timeframes. When you're trading on 5-minute, 15-minute, or hourly charts, it's critical to know where the key daily SMAs sit—these levels often act as significant support and resistance zones where price reacts. This indicator overlays up to four daily Simple Moving Averages directly onto your intraday chart, with default periods set to the most commonly watched levels: 5, 10, 20, and 50-day SMAs. Each SMA can be individually toggled on or off, with fully customizable colors and line widths to match your chart theme and visual preferences. While the indicator defaults to daily timeframe SMAs (the most common use case), an optional custom timeframe selector allows you to display SMAs from any higher timeframe—weekly, monthly, or any interval you choose. Whether you're scalping, day trading, or managing intraday entries for swing positions, having daily moving averages visible on your execution timeframe helps you anticipate potential turning points and avoid entering trades directly into overhead resistance or support. Clean, lightweight, and fully configurable.
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.