PureBytes Links
Trading Reference Links
|
This works for me, but I am no expert, copied from some one else.
Ray
PlotShapes(IIf(Buy,shapeUpArrow,0),colorGreen, layer = 0, yposition
= BuyPrice, offset = -20 );
PlotShapes(IIf(Sell,shapeDownArrow,0),colorRed, layer = 0, yposition
= SellPrice, offset =-20 );
//GraphXSpace =10;
Plot( Close, "Price", colorBlack, styleCandle );
--- In amibroker@xxxxxxxxxxxxxxx, "Alex Dolaptchiev" <axle_d@xxxx>
wrote:
> Can someone please help me with code to to plot arrows as follows:
>
> 1. Plot Sell arrows 12 pts ABOVE the HIGHEST price in the bar
> 2. Plot Buy arrows 12 pts BELOW the LOWEST price of the bar
>
> here is the code i have been playing with
>
> PlotShapes(IIf(Sell==1, shapeHollowDownArrow, shapeNone),
> colorRed, 0, High, Offset=-12);
> PlotShapes(IIf(Buy==1, shapeHollowUpArrow, shapeNone),
> colorGreen, 0, High, Offset=-12);
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/
|