LucasVivien

MA Bollinger Bands + RSI (Study)

LucasVivien Обновлено   
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!
Информация о релизе:
! 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.
Информация о релизе:
! 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
Информация о релизе:
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.
Информация о релизе:
!!! OUTDATED SCRIPT !!!

I'll update the Study Script, according to new upadates on the Strategy Script, in a few days
Информация о релизе:
UPDATED according to last Strategy script update
Информация о релизе:
Avoid repainting on security function

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?