Below you will find a little Indikator. It Plots the ATR and StdDev, to give a hint for Trend / No Trend.
If you switch on the Smooth-Option, both Lines will smoothed with an EMA, the Code is like this
dstddev = EMA(StdDev(period), smoothperiod)[0];
datr = EMA(ATR(period), smoothperiod)[0];
(---> for more details see the .zip File below):
THIS DID NOT WORK - The Data of the second EMA are identical to first EMA.
How can I solve this problem?
Best
Trendseek
Comment