TradingView
QuantNomad
Apr 14, 2020 7:46 PM

MTF Trailing SL Alerts [QuantNomad] 

Bitcoin / U.S. DollarGemini

Description

These are alerts for my MTF Trailing SL Strategy.

Entry Long position if all 4 time-frames agree on the long signal.
Exit Long positions when at least 2 time-frames disagree on the long signals.

Entry to Short position if all 4 time-frames agree on Short signal.
Exit from Short positions when at least 2 time-frames disagree on Short signal.

Use "Once Per Bar Close" when creating alerts.

Link to the strategy:

tradingview.com/script/pVLm0yC5-MTF-Trailing-SL-Strategy-QuantNomad/

Release Notes

Fixed exit_short typo
Comments
Wolfofallstreets007
It will work in nifty and bank nifty chart?
Junglistt
Thanks for doing this as promised. I have been watching your videos and they have helped me improve my understanding of Pine a lot. The good work is much appreciated.
makiasd
Typo on line 96, it should be entry_exit not entry_short to trigger Short Exit alerts
makiasd
I mean exit_short lol
QuantNomad
@makiasd, thx, fixed.
jos-willem
I have a question, if I create an alert I get a message from tradingview that the script might repaint?
QuantNomad
@jos-willem, yep, you receive and alert because I'm using security function for the higher timeframe. But I'm using combination of lookahead and previous valuse "[1]". Because of this it shouldn't repaint.
muhiminulislamshuvo034
Hope it works
More