It's just a simple keltner trend with options added to:
Eradicate repainting more MAs Json alerts (useful for bots)
I recommend using "open" option for all sources if you are going to use it with a bot, or if you want to be safe and enter with confirmations. Using the default settings would also show you all the entries without repainting as it uses high and low prices to check breakouts and not solely the close price (which is generally a false representative in historic analysis).
My favorite lengths are 7, 14, and 21. There is no specific reason, they just seem to work well most of the time. You can (and should) optimize it to your purposes.
Thanks to the original author jaggedsoft this script is just a improved version of theirs.
Release Notes
minor bug fix for alerts and change in title
Release Notes
Instead of having a separate script for signals I am updating this one with the same features. I didn't know partial redundancy was prohibited so my other script got removed for it (and a few other reasons which makes sense). I also fixed some bugs with tp percentage calculation in this version. Enjoy!
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 publications 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.