OPEN-SOURCE SCRIPT

ATR+ (Stop Loss Indicator)

Mis à jour
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.
Notes de version
Minor improvements
Notes de version
Converted ATR and S/L into whole numbers.
Added optional T1 (Profit Target).
Notes de version
Minor improvements to display chart.
Notes de version
Minor improvements.
Notes de version
Converted to Pine Script v4 and cleaned up code to remove unnecessary lines.
Notes de version
Fixed to work on all markets (previously was bugged on some markets)
Notes de version
Updated to Pine Script v5
ATRAverage True Range (ATR)LONGlossshortstoptrendTrend AnalysisVolatility Stop

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


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
Aussi sur:

Clause de non-responsabilité