cmharkey

Moving Average of Average True Range - EMA ATR

So I came across the need of wanting to smooth out the ATR of something that has some violent swings in it in order to better place some stops.

Simply put the output of the ATR into the EMA function.
Everything is labeled easily in the settings window you you can clearly change period length for each function.
Remove from Favorite Scripts Add to Favorite Scripts
study(title="EMA Average True Range", shorttitle="EMA-ATR", overlay=false)
length_ATR = input(14, minval=1, title="Length-ATR")
len_EMA = input(9, minval=1, title="Length-EMA")
plot(ema(rma(tr, length_ATR), len_EMA), color=red)
Also, from some comparisons I've found a shorter EMA length seems to get the desired result and skew the phase less.
Try a value between 3-5 to start.
GL!
Reply
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out