OPEN-SOURCE SCRIPT
Updated Double_Based_EMA_v2

Developmment of Double_Based_EMA. The version 2 brings a set of emas, with 8, 34, 144 ,610 periods.
The price source is the closes inside the upper or lower range of the Donchian Chanell with the same period.
The reading is the same as My Script 44.
The price will try to reach the next level of EMA.
if $ >8 will try 34.
if $ >8 and 8>34 will try 144.
if $ >8 and 8>34 and 34>144 will try 610.
if $ <8 will try 34.
if $ <8 and 8<34 will try 144.
if $ <8 and 8<34 and 34<144 will try 610.
//---- Consolidation
The price will oscilate between the highest ema and it´s next in period . Eg 34 > 8 > 610 > 144. $ < 34 will try 144.
The price will oscilate betwenn the lowest ema and it´s next in period. Eg 610 > 34 > 8 > 144. $ > 144 will try 610.
//---
Observe how $ swing between the emas
8 <-> 34
8 <-> 34 <-> 144
34 <-> 144 <-> 610
//---
$ > 8 > 34 > 144 > 610 - pure trend up
S < 8 < 34 < 144 < 610 - pure trend dw
//--- Optional periods - 17 , 72 , 305 , 1292
Enjoy, comment.
The price source is the closes inside the upper or lower range of the Donchian Chanell with the same period.
The reading is the same as My Script 44.
The price will try to reach the next level of EMA.
if $ >8 will try 34.
if $ >8 and 8>34 will try 144.
if $ >8 and 8>34 and 34>144 will try 610.
if $ <8 will try 34.
if $ <8 and 8<34 will try 144.
if $ <8 and 8<34 and 34<144 will try 610.
//---- Consolidation
The price will oscilate between the highest ema and it´s next in period . Eg 34 > 8 > 610 > 144. $ < 34 will try 144.
The price will oscilate betwenn the lowest ema and it´s next in period. Eg 610 > 34 > 8 > 144. $ > 144 will try 610.
//---
Observe how $ swing between the emas
8 <-> 34
8 <-> 34 <-> 144
34 <-> 144 <-> 610
//---
$ > 8 > 34 > 144 > 610 - pure trend up
S < 8 < 34 < 144 < 610 - pure trend dw
//--- Optional periods - 17 , 72 , 305 , 1292
Enjoy, comment.
Release Notes
Adjusting the limits and including 2 more MAs. Now with 34, 144 and 610.Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.