i try to create a code, but cannot generate a signal arrow...
am i
wrong???
can anybody here help me?
tx to all who read this...
AO
= MA( Avg,5) - MA( Avg , 34);
AOUpBar = AO > Ref(AO, -1);
AODownBar =
AO < Ref(AO, -1);
zeroBuy = Ref (aoupbar,-2)<0 AND Ref
(aoupbar,-1)<0 AND cross(aoupbar,0)
;
PlotShapes(IIf(zerobuy,shapeUpArrow,Null),colorGreen,0,Min(0,0),-10);