OPEN-SOURCE SCRIPT
McGinley Dynamic Range

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.
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.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.