OPEN-SOURCE SCRIPT

ATR+ (Stop Loss Indicator)

Aggiornato
This script is designed to aid in back-testing and trade execution.

It displays three sets of values - the teal colored value is the current ATR, the green colored value is your stop loss distance (in pips) below the most recent swing low for long trades, and the red colored value is your stop loss distance (in pips) above the most recent swing high for short trades.

You can change the stop loss settings to base your stop loss on a set pip amount or by however many multiples of the current ATR as you wish (eg. 1.5x ATR).

Feel free to ask any questions or edit the script without permission :)

- Matt.
Note di rilascio
Minor improvements
Note di rilascio
Converted ATR and S/L into whole numbers.
Added optional T1 (Profit Target).
Note di rilascio
Minor improvements to display chart.
Note di rilascio
Minor improvements.
Note di rilascio
Converted to Pine Script v4 and cleaned up code to remove unnecessary lines.
Note di rilascio
Fixed to work on all markets (previously was bugged on some markets)
Note di rilascio
Updated to Pine Script v5
Note di rilascio
Updated to v6 pine script and v9 ZenLibrary
ATRAverage True Range (ATR)LONGlossshortstoptrendTrend AnalysisVolatility Stop

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?


My Resources Hub: theartoftrading.com
FREE YouTube Lessons: rebrand.ly/zyt
FREE Pine Script Basics Course: rebrand.ly/zpsbc
Pine Script MASTERY Course: rebrand.ly/zpsmc
My Indicators & Strategies: rebrand.ly/zmisc
Anche su:

Declinazione di responsabilità