Stock Portfolio Organizer
The ultimate porfolio management solution.
Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
VM_JokeMA for Amibroker (AFL)
Copy & Paste Friendly
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | //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); |