OPEN-SOURCE SCRIPT

ka66: Multi ATR Channels

Updated
See source code comments for details on difference.
Release Notes
See source code comments for enhancements.

Changelog:

* Remove redundant calculation, leftover when refactoring.
Release Notes
ChangeLog:

  • Better coloring
  • Bug fix: when zero line, should not be visible
Release Notes
  • Reduce fill transparency, from 99 to 92. Was a bit too subtle!
  • And thanks to the convoluted fill logic to prevent colour blending (alas this convoluted logic still exists), configuring the
    style from the Style tab was not fun, too many trader-irrelevant colours.
Release Notes
  • Allow differing MA and ATR lengths, may be useful to compare volatility ranges.
  • Allow specifying custom ATR multipliers for all 3 ATRs, instead of having just 1, 2, and 3 by default.
  • Visuals: Remove complex fill logic, reduce opacity on fill colours. The negative is we now
    get the fills blending with each other, but with reduced opacity, not so jarring. Users are
    encouraged to either play with the colors, or simply only plot the ATR channels they are
    interested in at different points, generally keeping their charts cleaner.
  • Visuals: Reduce line width of bands, but increase opacity so it's clearer.
  • Visuals: Explicitly plot centre MA with circles.
Release Notes
Simplify code further.

  • Show/Hide of plotlines are now simply handled by the TradingView Style tab in Settings.
  • Better descriptions of lines and fills for viewing in the Style tab of Settings.

Average True Range (ATR)Volatility

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer