Page 1 of 1

Ergodoic Osc

Posted: Tue Jul 12, 2016 6:36 am
by henry1224
Under the Parameters tab

LongL double 25 5 100
ShortL Double 13 2 100
SignalL Double 3 2 100


Here is the rest of the formula

diff:= close - Ref(close,1);
doubleSmoothedAbsDiff:= EMA( EMA( Abs(diff), longL), shortL);

TSI:= if (doubleSmoothedAbsDiff == 0 ,0,
(( EMA( EMA( diff, longL), shortL)) / doubleSmoothedAbsDiff)*100);
Signal:= EMA( TSI, signalL);
Erg:TSI-Signal,ColorStick;

FillRgn(ERG>0,0,ERG),Brush#50008000;
FillRgn(ERG<0,0,ERG),Brush#50800000;


ZeroLine : 0,ColorBlack;