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

[amibroker] Plotting in the Past.



PureBytes Links

Trading Reference Links

Hi all,

I am sure I am missing something obvious, but it is slipping me at the
moment.

I am trying to plot arrows on a chart for a high that happened "x"
number of bars ago and can only get a plot on the current bar.  How
can you plot the arrow on the bar that created the High in the
following code?

RightSide=Param("Right Side Strength",3,1,10,1);
LeftSide=Param("Left Side Strength",3,1,10,1);
PH=0;
PH = IIf(HHVBars(High,RightSide+Leftside) == RightSide,1,0);

// Do you have to set the current bar to the left by leftside # of
bars and draw then reset?

PlotShapes( shapeDownArrow * PH , colorGreen, 0, H, -12);

Your help is appreciated!!

Jerry L.





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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 other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/