QuantNomad

MTF Trailing SL Strategy [QuantNomad]

This is a Multi-Timeframe version of my Trailing SL Strategy.
Few weeks ago I published Trailing SL Strategy. There I used only basic Trailing SL to enter positions.
It worked pretty well so I tried to work on it a bit. I thought what if you can use the same ATR TSL on different timeframes and combine them into one signal.
In this strategy you can use only ATR stops and choose 3 other higher timeframes in addition to your current timeframe.
You'll see Trailing SL plotted on the chart form all these timeframes.

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

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.

Here is the link to my basic Trailing SL Strategy:

版本注释: Fixed backtesting range
版本注释: Updated the way I get the data from Higher Timeframe

Courses:
Pine Progr: https://qntly.com/pineprog
Adv.Pine Use-Cases: https://qntly.com/advpine

Buy me a beer: https://qntly.com/beer

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

Discord: https://qntly.com/discord
Telegram: https://qntly.com/tel
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?