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 de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal