SH's 315 Strategy - how to use if effectively

try this afl

// EMA Cross-315
range1=Optimize("range1",3,1,100,1);
range2=Optimize("range2",15,1,100,1);
Plot( Close, "Close", colorBlack, styleCandle );
Plot(EMA( Close,range1), "3d-ema", colorRed );
Plot(EMA( Close,range2), "15d-ema", colorBlue );
Buy = Cross(range1,range2);
Buy = Cross((Close),(EMA(Close,range1)));
Buystop = Ref(EMA(Close,range1),-1);
BuyPrice = Max(Buystop,Low);
Sell = Cross(EMA(Close,range2),(Close));
Sellstop = Ref(EMA(Close,range1),-1);
SellPrice = Min(sellstop,High);
Short = Sell;
Cover = Buy;
PlotShapes(shapeUpArrow*Buy,colorBlack);
PlotShapes(shapeDownArrow*Sell,colorRed);
GfxDrawText("EMA315", 4, 12, 350, 40);

Hi....friends do any one has the AFL code for this strategy for AMibroker...kindly post..
 

vinst

Well-Known Member
Nifty at 5550 today ..... Thats 350 points profit on first lot and 250 points profit on the second lot that was ADDED.

I am booking the first lot with 350 points profit... will continue to hold the second shorted lot.

Cheers
SH
SH,
is this profit :thumb: booking done with some distance from one of the MA's? Just probing :)

vin
 
I have just started to read this post 15 days back and I am no great expert in TA. But whatever i have seen following SH's theory on charts shows that it is a good reversal sign as its a hammer (although SH never commented anything about hammer, this is just my observation) and 3 ema is far from it. I will leave on some senior members of this post and SH to comment on this.
 

Similar threads