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.
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.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。