OPEN-SOURCE SCRIPT

ka66: Percent Stop Channel

Often used as a dynamic stop loss management tool, this indicator:

  • Takes a source series as input, e.g. a moving average, or close prices.
  • Draws configurable channels, some percentage above and below the source series (e.g. for long vs. short stop losses)


Since long vs. short trade profiles can be different, differing percentage inputs are allowed for the bands.

While in forex or futures we tend to use ATRs (see my other script: ATR Stop Channels), in stocks, a percentage is more the norm, it's still as dynamic as the source series, being a function of it, and may at times be simpler to reason about in terms of money.

An idea might be to set your stop loss at the point of entry where the band currently is (assuming you have observed and set a reasonable percentage).
Bands and ChannelsVolatility Stop

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 ?

Clause de non-responsabilité