Stock Portfolio Organizer
The ultimate porfolio management solution.
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Joke_MA for Amibroker (AFL)
This is slightly improved version of simple moving average. This line has a little better responce to price changes and at the same time it isn’t very sensitive to fast cycle’s noise
Screenshots
Indicator / Formula
//JokeMa Indicator //by GrOwEx SetBarsRequired( -2, -2 ); Period = Param("Period",5,1,3000,1); price = Close; Start = Param("MAStart",1); j = start; s = 0; while (j<=period) { k = Ref(ma(price,j),-j/2); s = s+k; j=j+1; } line = s/(period-(start-1)); Plot(line,"ma"+WriteVal(line,0),IIf(Ref(line,-1)>line,colorRed,IIf(ref(line,-1)<line,colorGreen,coloryellow)),styleLine,Null,Null,Null,Null,3);
17 comments
Leave Comment
Please login here to leave a comment.
Back
Getting error in 5.4 amibroker
Plot(line,"ma"+WriteVal(line,0),IIf(Ref(line,-1)>line,colorRed,IIf(Ref(line,-1)<line,colorGreen,colorYellow)),styleLine,Null,Null,Null,Null,);
Last line
anandnst, copy/paste it again please.
Please write what is the logic behind the MA.
Looks good!
RAKESH.NASCENT, thank you
The differences from SMA are:
1. Simple averaging just clear out all faster cycles. This is why SMA is lagging.
2. My averaging techique keeps all faster cycles in place so we can see its influence in the end result. In the same time it reduces visible lag.
Displacement tecnique is very well known so here’s nothing new. I simply move it forward for 1/2 of cycle’s length.
Hope it helps.
error Ami broker 5.20
plz solve
Plot(line,"ma"+WriteVal(line,0),IIf(Ref(line,-1)>line,colorRed,IIf(ref(line,-1)<line,colorGreen,coloryellow)),styleLine,Null,Null,Null,Null,3);
Replace last line with
Plot(line,"ma"+WriteVal(line,0),IIf(Ref(line,-1)>line,colorRed,IIf(Ref(line,-1)<line,colorGreen,colorYellow)),styleLine);
Dear Growex,
Thanks for this formula
can U give me your email ID Plz.
hi,
is it possible convert this to excel format
my email prathyushjoshi@gmail.com
thanks in advance
prathjoshi, interesting, i will try to convert it….
Any body help to me for convert this to excel format
Hello growex,
Nice concept …
Thank you very much
Can we post the corrected code with line notes “//” in the <pastie> section? Thanks
prathjoshi, sry, i have no excel installed on my PC atm :(
parfumeur, if you ask me, then yes, ofcourse you can…