OPEN-SOURCE SCRIPT

Adaptive Autonomous Recursive Trailing Stop

已更新
Introduction

Trailing stop are important indicators in technical analysis, today i propose a new trailing stop A2RTS based on my last published indicator A2RMA (1), this last indicator directly used an error measurement thus providing a way to create enveloppes, which provide a direct way to create trailing stops based on highest/lowest rules.

The Indicator

If you need a more detailed explanation of this indicator i encourage you to check the A2RMA indicator post i made, parameters does not differ from the supertrend, thus having a length parameter and a factor parameter who is here described as gamma, gamma control how far away are the bands from each others thus spotting longer terms trends when gamma is higher.

快照

On BTCUSD

快照

Something worth mentioning is that the indicator sometimes behave like my MTA trailing stop indicator (2) who is closer to the price when a trend persist thus providing early exit points, however A2RTS behave a bit better.

快照

Price can sometimes break the trailing stop, this can be interpreted as a support/resistance or just as an exit point, the support resistance methodology on trailing stop is not the most recommended.

快照

Sometimes it is recommended to have an higher length rather than an high gamma like in this case for INTEL CORP, below gamma = 3 and length = 20

快照

The microprocessor market like to use higher length's instead of higher gamma's, A2RMA is a non-linear filter, this would explain such behaviour.

Conclusion

Trailing stops might not suffer as much from whipsaw trades than MA crossovers but they still remain inefficient when market is not trending, results of the proposed indicator on major forex pairs are more than disappointing, but i hope this will serve as basis for other trailing stops that might act a little bit better. I conclude this post by thanking everyone who support my work and i encourage you to modify this indicator and share it with the community.

Thanks for reading !

Cited Articles

Adaptive Autonomous Recursive Moving Average


MTA-Traling Stop




版本注释
Replaced bar_index + minor changes
adaptivecolorsfiltersupertrendtrailingstoptrailingstoplossTrend Analysis

开源脚本

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

想在图表上使用此脚本?


Check out the indicators we are making at luxalgo: tradingview.com/u/LuxAlgo/
更多:

免责声明