■ The source (open, high, low, close, hl2, hlc3, ohlc4) can now be configured.
■ Simplified the Settings dialog.
■ 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.
■ Customize the line width of each moving average in the Style tab of the Settings Dialog.
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 a publication is governed by House Rules. You can favorite it to use it on a chart.