OPEN-SOURCE SCRIPT

Moving Averages For All Timeframes

By JohnMuchow
Updated
Manage moving averages, for every timeframe, from within one indicator.

Features:
■ Intraday - Up to 3 moving averages
■ Daily - Up to 4 moving averages
■ Weekly - Up to 2 moving averages
■ Monthly - Up to 2 moving averages
■ Choose between simple, exponential or volume weighted moving averages (SMA, EMA or VWMA)
Release Notes
version 2.0

Features:
■ The source (open, high, low, close, hl2, hlc3, ohlc4) can now be configured.
■ Simplified the Settings dialog.
Release Notes
Update chart showing moving average examples.
Release Notes
version 3.0

What's new:
■ Configure up to 4 moving averages for each timeframe: intraday, daily, weekly, monthly
■ Choose between 5 types of moving averages:

SMA - Simple moving average, average of price.
EMA - Exponential moving average, weight decreases exponentially on previous bars, resulting in more weight to current data.
RMA - RSI moving average, exponentially weighted.
VWMA - Volume weighted moving average, higher volume will have a greater weight.
WMA - Weighted moving average, weight decreases arithmetically on previous bars, resulting in more weight to current data.

snapshot
Release Notes
version 4.0

What's new:
■ Customize the line width of each moving average in the Style tab of the Settings Dialog.
Release Notes
version 5.0

■ Add support for moving average clouds.
■ Add option to show weekly moving average on a daily chart.
Release Notes
version 6.0

■ Configure up to five moving averages for intraday and daily charts.
Release Notes
version 7.0

■ Increase the max value for all the moving averages to the limit set by TradingView.
Exponential Moving Average (EMA)exponentialmovingaverageSimple Moving Average (SMA)volumeweightedmovingaverageVolume Weighted Moving Average (VWMA)
JohnMuchow
LevelUp Your Trading ~ Professional TradingView® Indicators: LevelUpTools.net

Buy Me A Beer: leveluptools.gumroad.com/coffee 🍻
Paypal Donation: is.gd/PayPal_Donation

Thanks for your support!

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer