mastermind007 sir
i applied your code for only one signal per day(either buy or short)
but signals are showing
please correct following code sir to get signals
RawBuy=H>Ref(H,-1) AND L>Ref(L,-1) AND C>Ref(C,-1) AND C>=((H-L)*0.75+L) AND O<=((H-L)*0.25+L) AND (H>=(HHV(H,20)));
RawShort=C<=((H-L)*0.25+L) AND O>=((H-L)*0.75+L) AND (L<=(LLV(L,11)));
dn = DateNum();
newDay = dn != Ref( dn,-1);
allowtrades = Flip(newDay, RawBuy OR RawShort);
Buy = allowTrades AND RawBuy;
Short = allowTrades AND RawShort;
shape = Buy * shapeUpArrow + Short * shapeDownArrow;
PlotShapes( shape, IIf( Buy, colorYellow, colorRed),0, IIf( Buy, Low, High ) );
SetChartOptions(0,chartShowArrows|chartShowDates);