Dillon_Grech

Indicator - ATR Profit Loss - DG

Hi Traders,

This is an on chart indicator that can be used for setting take profit and stop losses very easily using the Average True Range Indicator (ATR). Using a volatility adjusted TP and SL will allow you to set your targets and losses based on market conditions. In the settings, you are able to adjust how much of a multiplier you require depending on your risk tolerance and strategy. For those that follow the NNFX method, the defult settings are preset to 1xATR TP and 1.5xATR SL.

How to use:
- For longs, 'isLong' box must be ticked, for shorts, this box is unticked
- For longs, green line is TP, red line is SL
- For shorts, red line is TP, green line is SL

Regards,
Dillon Grech
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Ingin menggunakan skrip ini pada carta?

Komen

Cheers!!
Balas
It’s about as close as I’ve found to what I need, but it’s a shame you have to remember to edit it’s direction each time. Would be good if you had an option to tick on or off to have it try and gauge trend? I.E if price is above 200 EMA, it’s a long and if price is below 200 EMA it’s a short. If you also had the option to set the EMA length, that’d be amazing. Personally I use a 100 for trend but 200 is also popular.

As the other guy said, if it could also list the current ATR value on each bar (I.e. 1x on the TP and 1.5 on the SL), that’d be awesome!

Well done!
Balas
Vellox Vellox
I use this a lot now. Ignore my comments above, I switched to an equal ATR for both directions so I set both colours the same and found another indicator which shows values on the bars. The single thing missing is the option to set the ATR value (I.e. looks like it’s set to 14) so would be good to be able to change that although I could obviously copy the code into a new indicator and set manually myself. Great indicator though! Cheers.
Balas
Hey! This is useful as you don't need to use the calculator to figure out the ATR. However a suggestion I have is showing the 1ATR and 1.5ATR digits on the right so that you don't have to move your cursor exactly to where the 2 lines are. I found this to be tiring when I was backtesting so I just switched back to using the calculator.
Balas
@sueun123, Hey Sueun! Great suggestion ill look into this and see what i come up with. Thank you!
Balas
Laman Utama Penyaring Saham Penyaring Forex Penyaring Kripto Kalendar Ekonomi Bagaimana ia berfungsi Ciri-ciri Carta Harga Rujuk rakan Peraturan Dalaman Pusat Bantuan Laman web dan Penyelesaian Broker Widget Penyelesaian Pencartaan Perpustakaan Pencartaan yang Ringan Blog & Berita Twitter
Profil Tetapan Profil Akaun dan Pengebilan Kawan-kawan yang dirujuk Coin Tiket Sokongan Saya Pusat Bantuan Mesej Peribadi Sembang Daftar Keluar