Ehlers Sinewave Indicator V2 [CC]

The Sinewave Indicator was created by John Ehlers (Cybernetic Analysis For Stocks And Futures pgs 154-155) and this is an updated version of his original Sinewave Indicator which in my opinion seems to be more reactive to changes. Buy when the blue line crosses over the red line and sell when the blue line crosses under the red line. Also keep in mind that this indicator is based on cycles so it won't act the same as a typical indicator.

Let me know if there are other scripts you would like to see me publish or if you want something custom done!

จากใจ TradingView ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้ผู้ค้าสามารถเข้าใจและตรวจสอบได้ ยินดีด้วย! คุณสามารถใช้มันได้ฟรี แต่การใช้โค๊ดนี้ซ้ำเพื่อการเผยเเพร่ อยู่ภายใต้ กฎของเรา คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้กับชาร์ตได้



Once again, shouldn't the trading signal be the other way around (leadSine > or < sine, instead of the other way around)? That's what Ehlers said in his book.
sig = sine > leadSine ? 1 : sine < leadSine ? -1 : 0

Shouldn't be the other way around (leadSine > sine or leadSine < sine), since the leadSine crosses the sine before?
cheatcountry marketrading001
@marketrading001, That was how he did it in his book but I wasn't' personally happy with the signals it produced and I got overall better buy and sell results with flipping them around. I'm sorry for getting back to you so late. I have been taking the month off for the holidays
thank you!
@kalio5, yw
Good work bro!!!
Thank you for sharing))
cheatcountry DawnButlers