LucasVivien

MA Bollinger Bands + RSI (Study)

LucasVivien Cập nhật   
This study/indicator script is meant to allow users to set alerts based on my MA Bollinger Bands + RSI (Strategy).
Both Study and Strategy scripts reflect the exact same user inputs, parameters and trading signals.

6 different alerts available:
- MABB+RSI Long (or Short) Signal (all): activates for every single Long (or Short) signals
- MABB+RSI Long (or Short) Signal: activates when trade direction changes from Short to Long (or from Long to Short)
- MABB+RSI Long (or Short) Re-Entry Signal: after a stop loss was hit, activates upon same trade direction if new signal
(“Enable SL” & “Allow re-entry” must be switched on)

Chart legend:
- Red arrow = Short Signal
- Blue arrow = Long Signal
- Red square = Stop loss (when trade entry)
- Purple square = Stop loss (when hit)

NB1: Be sure to set both Study and Strategy script settings to the same values if you want to achieve similar results in both scripts.
NB2: When setting up your alerts, preferably use option “Once per bar close” to get proper confirmations.


Enjoy!
Phát hành các Ghi chú:
! OUTDATED !
If you are using coresponding "Strategy" script, be aware that its content is not reflected this "Study" script version anymore.
I will update Study script accordingly in a few days.
Phát hành các Ghi chú:
! UPDATED !

- Study() and Strategy() Scripts now both reflect the same results for a given set of settings.
All « strategy.position_size » variables were replaced by custom identifier: LSF (Long, Short, Flat) in corresponding Strategy Script

- Bigger arrows (blue / red) for signals along with trade direction change
Phát hành các Ghi chú:
Hi all,

- Alerts conditions added when SL are hit! You can now use them when automating your trading.

- There were inconsistencies within stop losses plots and activations: those where fixed.
NB:
Still minor issues when stop loss should activate on the candle right after trade entry candle. Instead of stopping, trade keeps going until it hits stop loss in following candles (or until trade direction reversal)
This issue occurs only when stop loss is set very close to trade entry price. So, depending on your strategy settings, if you give enough room for your trades to “breathe”, this will not be a problem.
Phát hành các Ghi chú:
!!! OUTDATED SCRIPT !!!

I'll update the Study Script, according to new upadates on the Strategy Script, in a few days
Phát hành các Ghi chú:
UPDATED according to last Strategy script update
Phát hành các Ghi chú:
Avoid repainting on security function

Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?