OPEN-SOURCE SCRIPT

ATR Trailing Stop Bands [R]

Telah dikemas kini
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.
Nota Keluaran
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.
Nota Keluaran
Bugfix for xbtusd
stoplossstopstrailingstopVolatility

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian