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.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.