LucasVivien

MA Bollinger Bands + RSI (Study)

LucasVivien Uppdaterad   
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!
Versionsinformation:
! 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.
Versionsinformation:
! 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
Versionsinformation:
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.
Versionsinformation:
!!! OUTDATED SCRIPT !!!

I'll update the Study Script, according to new upadates on the Strategy Script, in a few days
Versionsinformation:
UPDATED according to last Strategy script update
Versionsinformation:
Avoid repainting on security function

Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?