OPEN-SOURCE SCRIPT

Double_based_ema

The indicator shows two EMA. One superior and one inferior. The prices used to generate the EMA are diferent.
For the superior EMA the price comes from the superior part of a Donchian Channel with the same period as the EMA.
For the inferior EMA the price comes from the inferior part of the same Donchian Chanell.
There is a superior limit and a inferior limit to this prices equal a 1/2 ATR with same period.
The prices from superior part are those between the center of the channel and superior channel minus 1/2 ATR.
The prices from inferior part are those between the center of the channel and inferior channel plus 1/2 ATR.
This gives a litlle gain in speed to the EMA lecture and a second point of view as the indicator shows the superior EMA when the price is above the midle and shows the inferior EMA when the price is under the midle of the channel.

Moving Averages

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明