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.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.