OPEN-SOURCE SCRIPT
Atualizado

ATR+ (Stop Loss Indicator)

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.
Notas de Lançamento
Minor improvements
Notas de Lançamento
Converted ATR and S/L into whole numbers.
Added optional T1 (Profit Target).
Notas de Lançamento
Minor improvements to display chart.
Notas de Lançamento
Minor improvements.
Notas de Lançamento
Converted to Pine Script v4 and cleaned up code to remove unnecessary lines.
Notas de Lançamento
Fixed to work on all markets (previously was bugged on some markets)
Notas de Lançamento
Updated to Pine Script v5
Notas de Lançamento
Updated to v6 pine script and v9 ZenLibrary

Aviso legal