OPEN-SOURCE SCRIPT

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.
發行說明
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
ATRAverage True Range (ATR)LONGlossshortstoptrendTrend AnalysisVolatility Stop

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


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
更多:

免責聲明