OPEN-SOURCE SCRIPT
Updated Moving A. By AndersonG

A moving average (MA) is a widely used indicator in technical analysis that helps smooth out price action by filtering out the “noise” from random short-term price fluctuations.
Moving average is a trend-following, or lagging, indicator because it is based on past prices. The most common applications of moving averages are:
to identify the trend direction
to determine support and resistance levels.
The two basic and commonly used moving averages are the simple moving average ( SMA ), which is the arithmetic average of a security over a defined number of time periods, and the exponential moving average ( EMA ), which gives greater weight to more recent prices.
Source; Investopedia
Moving average is a trend-following, or lagging, indicator because it is based on past prices. The most common applications of moving averages are:
to identify the trend direction
to determine support and resistance levels.
The two basic and commonly used moving averages are the simple moving average ( SMA ), which is the arithmetic average of a security over a defined number of time periods, and the exponential moving average ( EMA ), which gives greater weight to more recent prices.
Source; Investopedia
Release Notes
Adding Transparecy SettingsOnly one solid Color #fd9502
Release Notes
Improving Code And Adding "Exponential", "Simple", "Hull", "Weighted", "Volume Weighted", "Exponential Volume Weighted"
Color Setting
Release Notes
color settingsRelease Notes
-> Improving Color Selection-> Improving Code Performance
-> Adding New Moving Average Calculations
-> Adding Cross of Mas Highlighter
-> Adding SOURCE selector
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.