OPEN-SOURCE SCRIPT

Ehlers Sinewave Indicator [CC]

Updated
The Sinewave Indicator was created by John Ehlers (Rocket Science For Traders pgs 97-99) and this is a few indicators in one. Simply put it is a leading indicator which you don't see too many of those these days. If the blue line crosses over the red line then within the next few bars the price will start an uptrend and if the blue line crosses below the red line then in the next few bars it will start a downtrend. I have also included an immediate buy and sell signal on the 0 line which is green when you should buy and red when you should sell.

Let me know if you would like to see any other scripts or if you want something custom done!
Release Notes
made changes to fix errors in the source book
Release Notes
fixed a typo
Release Notes
fixed a typo
Release Notes
Updated to v5 and fixed error reported by @kamicopia
Release Notes
Fixed an issue with degrees not being converted to radians
Centered OscillatorsehlerehlersjohnjohnehlersleadingleadingindicatorsOscillatorssinewavessinewvetrend

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?


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
Also on:

Disclaimer