zephurr

ATR Channels

An Exponential Moving Average ( EMA ) with three sets of channel lines each one Average True Range (ATR) apart, above and below the EMA . Fully customizable, you can toggle the EMA and ATR set visibility, line colors, etc.

Inspired by Elder's 'The New Trading For a Living', page 93: "Kerry Lovvorn likes to plot 3 sets of lines around a moving average: at one, two, and three ATRs above and below an EMA . These can be used for setting up entry points and stops, as well as profit targets."

版本注释:
  • Added optional 2nd EMA
    Fixed hide/show lines bug when custom transparency was set in style settings
    Updated to Pine Script 4
版本注释: Added optional 50 period EMA.
版本注释: Added optional 50 EMA, updated default colors & styles.
版本注释: Added optional 200 EMA. Changed style of 50 EMA.
开源脚本

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 a publication is governed by House Rules. You can favorite it to use it on a chart.

想在图表上使用此脚本?