OPEN-SOURCE SCRIPT
已更新 Custom Moving Average (EMA & SMA)

This script is a custom visualization tool to plot 4 Moving Averages (MA).
Each MA is customizable; you can:
Note:
Each MA is customizable; you can:
- enable (disable) the plot of MA;
- select whether the MA is an EMA or an SMA;
- the length;
- the source (open, close, ...);
- the offset value (default is 0).
Note:
- The 1st MA is an EMA with length 50.
- The others MAs are SMA with length 9, 30 and 100 respectively.
發行說明
Now, you can choice the following type of averages:- EMA
- SMA
- VWMA
- TEMA
Note:
TEMA is the acronym of Triple Exponential Moving Average.
The formula and calculation for TEMA is:
TEMA =3∗EMA1 − 3∗EMA2 + EMA3
where:
EMA1 is the Exponential Moving Average (EMA)
EMA2 is the EMA of EMA1
EMA3 is the EMA of EMA2
發行說明
New version of script.The Arnaud Legoux Moving Average (ALMA) is implemented. The ALMA indicator is a superior moving average as compared to the Exponential Moving and Simple Moving Averages.
The objective of the Arnaud Legoux Average is to minimize the noise and produce a more reliable signal than the conventional moving averages. The indicator (ALMA) removes small price fluctuations and also enhances the trend by applying a moving average (MA) twice, once from left to right, and once from right to left.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。