OPEN-SOURCE SCRIPT

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.
ATRAverage True Range (ATR)elderExponential Moving Average (EMA)

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明