TradingView
jasondhadley
Nov 1, 2016 4:58 PM

McGinley Dynamic Range 

Description

Changed the formula from the TradingView formula to reflect the true formula that McGinley created.
The difference is that according to MvGinley you want to take half of the period length and not the whole length when calculating the average. This is because he put more emphasis on the relevancy of newer data compared to old.

The other addition is plotting 2 averages, one based on Close pricing and the other based on Open pricing to create envelopes. This can also show when momentum reverses either direction. This is optional, un-check the box in the input settings.
Comments
Tuhi_Capital
great work - any chance you could also include 2 or more ma lines on the same script. thanks
ckcoin
Works like a charm
JerHong
Thanks for sharing all these useful tools. They are awesome!
More