OPEN-SOURCE SCRIPT
Multi EMA/SMA Lines

Multi EMA/SMA Lines is a highly customizable moving average indicator that provides traders with up to 12 individual moving averages—6 Exponential Moving Averages (EMAs) and 6 Simple Moving Averages (SMAs). Each moving average can be independently toggled on or off, allowing you to display only the MAs relevant to your trading strategy. Default period lengths include the most commonly used values (5, 10, 20, 50, 100, and 200), but all lengths are fully adjustable to suit any timeframe or trading style. Personalize your chart with individual color settings for each line, adjustable line widths, and three line style options (Solid, Dashed, or Dotted) to clearly distinguish between EMAs and SMAs. Whether you're identifying dynamic support and resistance levels, tracking trend direction, or spotting potential crossover signals, this all-in-one indicator eliminates the need for multiple separate MA indicators on your chart. SMAs are enabled by default for immediate use, while EMAs can be activated as needed for more responsive price tracking.
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.