hi,
for instance if you normally plot an array at Buy
point and you want to plot a circle 5 bars before this arraow it can be done as
follows
fiveBarsEarly =
Buy; fiveBarsEarly =
Ref(fiveBarsEarly,5); PlotShapes(IIf(fiveBarsEarly,shapeCircle,0),colorWhite, layer = 0, yposition = O, offset = 0 ); PlotShapes(IIf(Buy,shapeUpArrow,0),colorWhite, layer = 0,
yposition = BuyPrice, offset = 0 );
----- Original Message -----
Sent: Saturday, May 14, 2005 1:24
PM
Subject: [amibroker] Marking the Nth
bar....
I'm trying to figure out a way by which I can mark the Nth
bar before the currently selected bar. Let's say I am on bar no. 100,
I would like the bar that is 5 bars to the LEFT (in other words, bar no.
95) to be marked by a different color or perhaps have a shape such as
a circle drawn at it.
Any suggestions how I could accomplish
this?
TIA, Lal
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
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
|