PureBytes Links
Trading Reference Links
|
I'll give that one a shot and see if it works...now for a really simple question that I am unable to find an answer to looking through the documentation.
If I'm using the plotshapes function and I want to highlight something that happened two bars ago (i.e. I know it happened two bars ago but only after two bars passed since the event) how do I get the shape to show up at the event and not when it becomes evident? Here's my current code...basically I'm just using a three bar high/low pivot.
PlotShapes(IIf(L > Ref(L,-1) AND Ref(L,-1) > Ref(L,-2) AND Ref(L,-2) < Ref(L,-3) AND Ref(L,-3) < Ref(L,-4), shapeUpTriangle, shapeNone), colorRed, 0, ypostion=Ref(L,-2), Offset=-5); PlotShapes(IIf(H < Ref(H,-1) AND Ref(H,-1) < Ref(H,-2) AND Ref(H,-2) > Ref(H,-3) AND Ref(H,-3) > Ref(H,-4), shapeDownTriangle, shapeNone), colorGreen, 0, ypostion=Ref(H,-2), Offset=-5);
Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A.
__._,_.___
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
SPONSORED LINKS
__,_._,___
|