OPEN-SOURCE SCRIPT

ATR Trailing Stop Bands [R]

Updated
This is based on the Average True Range Trailing Stops Strategy by Sylvain Vervoort, coded on TV HPotter. I have added Bands to see potential short and long stop loss zones before the indicator signals to switch itself, also changed color on the main Trailing Stop based on whether it is short or long, added increased stop loss hunt protection by combining with my Wickiness indicator to add Wick Protection, based on either Average or Maximum Wicks, to prevent your stop getting wicked out. Experiment with different timeframes according to your trading style and how long you like to hold a trade. This indicator does not intend to tell you when to take profit, just how to place your stop to give you the best chance of not getting stopped out too early and to minimise risk by trailing it safely.

May you all never be stop hunted again.
Release Notes
Major update, and a nightmare to code. Added optional ATR Heat Bands, showing multiple's of 1 ATR, could be used for DCA. Big addition is the Risk Management side, it now shows Entry, Break Even Point (taking into account fees), 1R up to 5R (for Risk:Reward), and how much price has to move to earn 1-3% on account balance, which are good conservative daily profit targets. I think these all work now on XBTUSD, ETHUSD, and BitMex alts. Please help test on other exchanges and give me feedback, so I can get them compatible on Bitfinex and Binance for example.
Release Notes
Bugfix for xbtusd
stoplossstopstrailingstopVolatility

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