Error

 Previous Topic Next Topic
 MS Support #1 Posted : Friday, July 28, 2017 9:19:30 PM(UTC) Rank: Advanced MemberGroups: Moderators, Registered, Registered Users, SubscribersJoined: 10/8/2010(UTC)Posts: 1,949Thanks: 89 timesWas thanked: 155 time(s) in 150 post(s) John F. Ehlers' article, “Decyclers”, presented a simple decycler and his Decycle Oscillator. The formulas for these indicators are listed below: Simple Decycler:Code:``````ti:= 125;{time periods} alpha1:= (Cos(.707*360/ti) + Sin(.707*360/ti) -1)/Cos(.707*360/ti); HP:= (1-alpha1/2)*(1-alpha1/2)*(C - Ref(2*C,-1) + Ref(C,-2)) +  2*(1-alpha1)*PREV - (1-alpha1)*(1-alpha1)*Ref(PREV,-1); decycle:= C - hp; Decycle; 1.005*decycle; 0.995*decycle`````` Decycle Oscillator:Code:``````ti:= 125;{time periods} K:= 1;   {scaler} alpha1:= (Cos(.707*360/ti) + Sin(.707*360/ti) -1)/Cos(.707*360/ti); HP:= (1-alpha1/2)*(1-alpha1/2)*(C - Ref(2*C,-1) + Ref(C,-2)) +  2*(1-alpha1)*PREV - (1-alpha1)*(1-alpha1)*Ref(PREV,-1); decycle:= C - hp; alpha2:= (Cos(.707*360/(.5*ti)) + Sin(.707*360/(.5*ti)) -1)/Cos(.707*360/(.5*ti)); DecycleOsc:= (1-alpha2/2)*(1-alpha2/2)*(decycle - Ref(2*decycle,-1) + Ref(decycle,-2)) + 2*(1-alpha2)*PREV - (1-alpha2)*(1-alpha2)*Ref(PREV,-1); 100*k*DecycleOsc/C`````` 1 user thanked MS Support for this useful post. denisbill on 10/27/2018(UTC)
 Wanna join the discussion?! Login to your Discussions forum accountor Register a new forum account.
 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.