JMA - Jurik Moving Average |
Post Reply |
Author | |
bluey
Newbie Joined: 25 Jul 2009 Location: Nambour, Qld Posts: 3 |
Post Options
Quote Reply
Topic: JMA - Jurik Moving Average Posted: 11 Jun 2012 at 2:13pm |
Thanks will test on trades within my Watchlist.
Bluey |
|
maximo
BullCharts Guru Joined: 02 Sep 2006 Location: Australia Posts: 232 |
Post Options Quote Reply Posted: 23 Sep 2011 at 6:59am |
This may be referred to as a 4th generation Moving Average.
In the realm of those rocket scientists who create formulas
to denoise statistical data for clearer signals.
The blue line is the JMA while the magenta line is a Simple MA.
Values above 10 will begin to create overshoot where the line
will go where price has not reached.
[Description="Jurik Moving Average - responds rapidly and maintains comparable smoothness with significantly less lag."]
[target=price; color=dodger blue; width=2] p:= input("Period",10,1,15); TN1:=ma(C,p,S); s1 := ((p-(2*0)-1)/2)*Ref(C,-0); s2 :=s1+((p-(2*1)-1)/2)*Ref(C,-1); s3 :=s2+((p-(2*2)-1)/2)*Ref(C,-2); s4 :=s3+((p-(2*3)-1)/2)*Ref(C,-3); s5 :=s4+((p-(2*4)-1)/2)*Ref(C,-4); s6 :=s5+((p-(2*5)-1)/2)*Ref(C,-5); s7 :=s6+((p-(2*6)-1)/2)*Ref(C,-6); s8 :=s7+((p-(2*7)-1)/2)*Ref(C,-7); s9 :=s8+((p-(2*8)-1)/2)*Ref(C,-8); s10:=s9+((p-(2*9)-1)/2)*Ref(C,-9); s11:=s10+((p-(2*10)-1)/2)*Ref(C,-10); s12:=s11+((p-(2*11)-1)/2)*Ref(C,-11); s13:=s12+((p-(2*12)-1)/2)*Ref(C,-12); s14:=s13+((p-(2*13)-1)/2)*Ref(C,-13); s15:=s14+((p-(2*14)-1)/2)*Ref(C,-14); IT:=if(p=1,S1,if(p=2,S2,if(p=3,S3,if(p=4,S4,if(p=5,S5,if(p=6,S6,if(p=7,S7,if(p=8,S8,if(p=9,S9,if(p=10,S10,if(p=11,S11,if(p=12,S12,if(p=13,S13,if(p=14,S14,if(p=15,S15,0))))))))))))))); TN1+(((p/2)+1)*IT)/((p+1)*p); [color=magenta] TN1; Edited by maximo - 23 Sep 2011 at 7:04am |
|
Post Reply |
Forum Jump | Forum Permissions 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 |