OPEN-SOURCE SCRIPT

MTA-Traling Stop

Mis à jour
Introduction

Based on my previous indicator
Motion To Attraction Channels
, this indicator plot a trailing stop using classic conditions.

Using The Indicator

Like any trailing stop when price is higher than the trailing stop this imply a buy signals, when price is lower than the trailing stop this imply a sell signal. It is possible to use decimals instead of integers for length as shown here :

snapshot

length = 14.7

The indicator tend to react faster to price movements when a trend has been really long, this methodology is similar to the one used by the parabolic sar.

Downsides

Lack of robustness with the length parameter, the behaviour of the trailing stop can be hard to predict. There is a real need for control.

Conclusion

The indicator can be adaptive, even if it already is in a certain way, by changing the alpha variable at the start considering that 0 < alpha < 1. Its not recommended to use it right now except for testing/coding purpose.

It is clear that i'm not enthusiast when it come to this script, there is a real lack of accuracy, i still hope it can be of use.
Notes de version
Updated to version 3
signalsupertrendtrailingstoptrailingstoplosstrendTrend Analysis

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


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

Clause de non-responsabilité