[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] plotshapes



PureBytes Links

Trading Reference Links




Hi,
 
I encounter a problem here, following is the AFL, 
and what I want to achieve is to plot a small triangle on the bar which is the 
lowest than the two preceding bars and two following bars. The problem I have is 
somehow the triangle was also ploted on the two following bars. I attached a gif 
as the example. Any help is much appreciated.
 
Fdw=Ref(L,-2)<L AND Ref(L,-2)<Ref(L,-1) AND 
Ref(L,-2)<=Ref(L,-3) AND Ref(L,-2) <=Ref(L,-4);PlotShapes( 
IIf(Ref(Fdw,2), 5 + shapePositionAbove, shapeNone), colorRed,0,L,10 
);
 
thanks
KK 






Yahoo! Groups Sponsor


  ADVERTISEMENT  









Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



Attachment:
plotshapes.bmp

Attachment: Description: "Description: Windows bitmap"