Ninorigo

Custom Moving Average (EMA & SMA)

Ninorigo 已更新   
This script is a custom visualization tool to plot 4 Moving Averages (MA).

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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?