QuantNomad

MTF Trailing SL Alerts [QuantNomad]

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:

Release Notes: Fixed exit_short typo
Remove from Favorite Scripts Add to Favorite Scripts
Courses:
PineScript Programming: https://qntly.com/pinepro
TradingView Essential: https://qntly.com/tve

Access to Pro Indic.: https://qntly.com/proind

YouTube: https://qntly.com/youtube
Discord: https://qntly.com/discord
Telegram: https://qntly.com/tel

Comments

It will work in nifty and bank nifty chart?
Reply
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.
Reply
Typo on line 96, it should be entry_exit not entry_short to trigger Short Exit alerts
Reply
makiasd makiasd
I mean exit_short lol
Reply
QuantNomad makiasd
@makiasd, thx, fixed.
Reply
I have a question, if I create an alert I get a message from tradingview that the script might repaint?
Reply
QuantNomad jos-willem
@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 "". Because of this it shouldn't repaint.
Reply
Hope it works
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out