Welcome Guest! To enable all features please Login or Register.



Go to last post Go to first unread
MS Support  
#1 Posted : Wednesday, June 15, 2022 5:23:37 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,934

Thanks: 85 times
Was thanked: 154 time(s) in 150 post(s)

John Ehlers’ article, “Inverse Fisher Transform Redux”, introduced his Elegant Oscillator indicator. Here is the formula to add that indicator to MetaStock. 

Elegant Oscillator:

pds:= 20;  {BandEdge}
deriv:= C-Ref(C, -2);
RMS:= Sum(deriv * deriv, 50);
rms2:= Sqrt(rms/50);
denom:= If(rms2=0, -1, rms2);
nderiv:= If(denom= -1, 1, deriv/denom);
ifish:= (Exp(2*nderiv)-1) / (Exp(2*nderiv)+1);
a1:= Exp(-1.414*3.14159 / pds);
b1:= 2*a1*Cos(1.414*180 / pds);
c3:= -a1*a1;
c1:= 1 - b1 - c3;
ss:= c1 * (ifish + Ref(ifish, -1))/2 + 
b1*PREV + c3*Ref(PREV, -1);

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.