Normal
Here is a simple test, using amibroker, on the XJO.[code]//Buy On a Cross of the 20month MA//Short On a Cross under the 20month MAPeriod = Optimize("MaLength",20,1,100,1);MMA = MA(C,Period);Plot(MMA,"20MonthMA",colorRed,styleLine);Buy = Cross(C,MMA);Sell = Cross(MMA,C);Short = Sell;Cover = Buy;BuyPrice = MMA;SellPrice = MMA;ShortPrice = MMA;CoverPrice = MMA;shape = Buy * shapeUpArrow + Short * shapeDownArrow;PlotShapes( shape, IIf( Buy , colorGreen, colorIndigo ), 0, IIf( Buy , Low, High));[/code]RegardsBrad
Here is a simple test, using amibroker, on the XJO.
[code]//Buy On a Cross of the 20month MA
//Short On a Cross under the 20month MA
Period = Optimize("MaLength",20,1,100,1);
MMA = MA(C,Period);
Plot(MMA,"20MonthMA",colorRed,styleLine);
Buy = Cross(C,MMA);
Sell = Cross(MMA,C);
Short = Sell;
Cover = Buy;
BuyPrice = MMA;
SellPrice = MMA;
ShortPrice = MMA;
CoverPrice = MMA;
shape = Buy * shapeUpArrow + Short * shapeDownArrow;
PlotShapes( shape, IIf( Buy , colorGreen, colorIndigo ), 0, IIf( Buy , Low, High));[/code]
Regards
Brad
Hello and welcome to Aussie Stock Forums!
To gain full access you must register. Registration is free and takes only a few seconds to complete.
Already a member? Log in here.