OPEN-SOURCE SCRIPT
Cập nhật ATR Pips with Stop Loss

This indicator shares ATR pips and a calculated 1.5 x stop loss calculation.
The plot lines are really not that important- it's the actual numbers.
What I do is uncheck the plot line checkboxes (ATR & SL) so it doesn't show up, that way I can reduce the indicator window.
This script is a modified script by ATR Pips [LazyBear] [Fixed by Elixium]. Kept the BB section for now as it might be useful, but doubt it.
Future updates:
- editable the multiple for SL
- static daily numbers (right now this shows the timeframe you are viewing, I'd keep that but add a static daily ATR so you have both)
- 1st number is ATR.
- 2nd number is ATR x 1.5 (a typical SL when trading daily time frame).
The plot lines are really not that important- it's the actual numbers.
What I do is uncheck the plot line checkboxes (ATR & SL) so it doesn't show up, that way I can reduce the indicator window.
This script is a modified script by ATR Pips [LazyBear] [Fixed by Elixium]. Kept the BB section for now as it might be useful, but doubt it.
Future updates:
- editable the multiple for SL
- static daily numbers (right now this shows the timeframe you are viewing, I'd keep that but add a static daily ATR so you have both)
Phát hành các Ghi chú
Added the ability to customize the multiplier for the stop loss. The default multiplier is 1.5 a typical used SL for trading the daily timeframe.Phát hành các Ghi chú
Add some helpful updates:- 20 EMA using the ATR. I've found it helpful to know if the ATR is above or below the 20EMA. This is now plotted.
- Added Target Multiplier option - default is 3 * ATR (2 is less aggressive. See below on how you can use this)
First, yes of course you can easily do this math in your head but I build indicators so I can look at charts quickly and get the numbers I immediately.
This is a more aggressive trade strategy but let's say your trade system provides entry signal.
- 3 positions on entry (within your RR calculations).
- SL is recommended ATR * 1.5.
- 1st position is target 1 (T1) and is 1:1 with your SL.
- 2nd position (T2) is the target multiplier mentioned above default is ATR * 3.
- 3rd Position is (T3) discretionary position that can be closed or have a trailing stop put in place if T2 reached.
Generally with this type of strategy when T1 is reached you will move up remaining SL positions to break even.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.