OPEN-SOURCE SCRIPT
已更新

ATR+ (Stop Loss Indicator)

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

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。