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

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?

免責事項