McGinley Dynamic Indicator

McGinley Dynamic is a technical indicator developed by a market technician, R. McGinley in 1997

I based my indicator from code by everget so you should go follow him if you aren't already!

I had issues with the default version of this indicator using different lengths so this is my fix for those issues. This follows the price very closely especially when the stock is falling. I have color coded so go long when it is green and short when it is red.

Let me know if you would like me to write any other scripts for indicators out there!
Release Notes: Changed the default length
Release Notes: Changed the color codes
Release Notes: updated to match my other indicators
Release Notes: fixed issue with default resolution

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.


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.

Want to use this script on a chart?