Omo Trade System for Amibroker (AFL)
omory over 15 years ago Amibroker (AFL)
This is my Trade System.
I think you like it.
Thank
Screenshots
Indicator / Formula
Copy & Paste Friendly
EnableNulling = ParamToggle("NULLing of Data","DISABLED|ENABLED",0);
RM = Param("NULL Bars L<-R",0,0,1000,1);
if( EnableNulling )
{
Z = Null;
LB = LastValue(BarIndex());
O = IIf(BarIndex()>(LB-RM),Z,O);
H = IIf(BarIndex()>(LB-RM),Z,H);
L = IIf(BarIndex()>(LB-RM),Z,L);
C = IIf(BarIndex()>(LB-RM),Z,C);
}
ZChange = Param("%Zig",0.1,0,1,0.05);
Z = Zig(C,ZChange);
Buy = Z < Ref(Z,1) AND Z < Ref(Z,-1);
Sell = Z > Ref(Z,1) AND Z > Ref(Z,-1);
Short = Sell;
Cover = Buy;
Plot(C,"",1,128);
PlotShapes(IIf(Buy, shapeSmallUpTriangle, shapeNone),5,0,BuyPrice,0);
PlotShapes(IIf(Sell, shapeHollowDownTriangle, shapeNone),4,0,SellPrice,0);
PlotShapes(IIf(Cover, shapeHollowUpTriangle, shapeNone),5,0,CoverPrice,0);
PlotShapes(IIf(Short, shapeSmallDownTriangle, shapeNone),4,0,ShortPrice,0);6 comments
Leave Comment
Please login here to leave a comment.
Note this looks into the future due to zig-zag
thhis is very high noises means buy sell signals are very near
I LIKE IT WHY I AM NOT ABLE TO MAKE ANY SYSTEM SO EVEN IT IS MADE ON ZIGZAG STILL I APPRECIATE YOU HAVE MADE IT. THOSE WHO ARE GETTING MORE NOISES CAN INCREASE THE ZIGZAG %. ONE SHOULD EFFORT MUST THAT I WANT TO LEARN
good speach bhartiprinters i apreshiat you
It is always very dangerous to trade with future price looking formulas. When you go through the past prices, such formulas shows the best result i.e. buy signal on bottom & sell signal on top.
But result are different when you start actual trading with these formulas. Actually these formula mark buy & sell signal in past time. However trader can’t trade in past time. So if possible Avoid.
thanks