Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 10/4/2023(UTC) Posts: 6

This week I came across an intersting post from Feb 2022: "John Ehlers’ article, “Inverse Fisher Transform Redux”, introduced his Elegant Oscillator indicator. Below is the formula to add that indicator to MetaStock."
I understand the calculation of each line from 1 to 13 and I like the chart. So far, so good. Googling on the internet, I couldn't find the source of lines of code 1, 2, 3, 5 and 6. So I have a few questions:
1 pds:= according to my source the critical frequency is 10, so why 20? Is it related to 2 deriv:=
2 deriv:= where is the source for this calculation?
3 RMS:= where is the source and why 50 periods?
5 denom:= rms2 is hardly zero unless rms is zero, but the latter can hardly be zero because it is a 'Sum', so denom:=rms2.
6 nderiv:= where is the source for this calculation?
Code:pds:= 20; {BandEdge}
deriv:= CRef(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);
ss




Rank: Advanced Member
Groups: Moderators, Registered, Registered Users, Subscribers Joined: 10/8/2010(UTC) Posts: 1,944
Thanks: 87 times Was thanked: 155 time(s) in 150 post(s)

Originally Posted by: flavio_meta This week I came across an intersting post from Feb 2022: "John Ehlers’ article, “Inverse Fisher Transform Redux”, introduced his Elegant Oscillator indicator. Below is the formula to add that indicator to MetaStock."
I understand the calculation of each line from 1 to 13 and I like the chart. So far, so good. Googling on the internet, I couldn't find the source of lines of code 1, 2, 3, 5 and 6. So I have a few questions:
1 pds:= according to my source the critical frequency is 10, so why 20? Is it related to 2 deriv:=
2 deriv:= where is the source for this calculation?
3 RMS:= where is the source and why 50 periods?
5 denom:= rms2 is hardly zero unless rms is zero, but the latter can hardly be zero because it is a 'Sum', so denom:=rms2.
6 nderiv:= where is the source for this calculation?
Code:pds:= 20; {BandEdge}
deriv:= CRef(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);
ss
Hello, When we submit formulas to TASC they are based on the criteria in the article itself, so the article is the source material that the formula is derived from. You can review some of this at http://traders.com/Documentation/FEEDbk_docs/2022/02/TradersTips.html




Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 10/4/2023(UTC) Posts: 6

Thank you for your reply.
With the next MetaStock release I would appreciate to find it under "indicator quick list".




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.