OPEN-SOURCE SCRIPT

Ehlers Market Mode Indicator [CC]

By cheatcountry
The Market Mode Indicator was created by John Ehlers (Rocket Science For Traders pgs 114-117) and this is a handy tool that will tell you if the market is currently in a cycle or a trend. When the current market is in a cycle or choppy state then the indicator will read 0 and when it is in a trend then it will read 1. He uses some advanced digital signal processing to figure out the current trend and for how long it has been trending. I have included buy and sell signals using the trendline and so buy when the line turns green and sell when it turns red. Let me know if this indicator is useful for you.

Let me know if there are any other indicators you would like to see me publish!
Centered OscillatorschoppychoppymarketehlerehlersjohnjohnehlersmarketmodeOscillatorsTrend Analysistrendmarket
cheatcountry
I created the largest stock indicator library:
github.com/ooples/

Custom Indicator Requests:
forms.gle/ouMffZR3dQ8bSJQG7

Tips are appreciated:
paypal.me/cheatcountry
patreon.com/cheatcountry

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer