PureBytes Links
Trading Reference Links
|
<SPAN
class=857274716-21022003>Ron,
yes
you can use plotshapes from help.....
<SPAN
class=857274716-21022003>
SYNTAX
<FONT color=#ffffff
>PlotShapes( shape, color,
layer = 0, yposition = graph0, offset = -12 );
RETURNS
NOTHING
FUNCTION
Plots arrows and other shapes on any chart pane.
Parameters:
shape defines type of the symbol. when shape is zero nothing is
plotted values other than zero cause plotting various pre-defined
shapes. Odd values plot shape BELOW indicator, even values plot shape
ABOVE indicator.
color defines color of shape
layer defines layer number on which shapes are plotted
yposition defines Y-position where shapes are plotted (by default
they are plotted 'around' graph0 (first indicator) line)
offset - (or distance) parameter (by default -12 ), Offset is
expressed in SCREEN pixels. Negative offsets shift symbols down,
positive offsets shift symbol up. To place the shape exactly at
ypostion, specify 0 as offset Constants for shapes:
shapeNone, shapeUpArrow, shapeDownArrow, shapeHollowUpArrow,
shapeHollowDownArrow, shapeSmallUpTriangle, shapeSmallDownTriangle,
shapeHollowSmallUpTriangle, shapeHollowSmallDownTriangle, shapeUpTriangle,
shapeDownTriangle, shapeHollowUpTriangle, shapeHollowDownTriangle,
shapeSmallSquare, shapeHollowSmallSquare, shapeSquare, shapeHollowSquare,
shapeSmallCircle, shapeHollowSmallCircle, shapeCircle, shapeHollowCircle,
shapeStar, shapeHollowStar, shapeDigit0, shapeDigit1, shapeDigit2,
shapeDigit3, shapeDigit4, shapeDigit5, shapeDigit6, shapeDigit7,
shapeDigit8, shapeDigit9, shapePositionAbove
EXAMPLE
<FONT color=#ffffff
>PlotShapes( IIF( buy, shapeDigit9
+ shapePositonAbove, shapeNone ), colorGreen );
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: rmortonmd
<ronmd@xxxxxxxxxx> [mailto:ronmd@xxxxxxxxxx]Sent: Friday,
February 21, 2003 11:35 AMTo:
amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] buy/sell
arrowsI was wondering if there was a way that you could
manually put the green (buy) and red(sell) arrows on a price chart as done
in the backtesting show trades. I would like a visual way of seeing
the days that I make trades.ronPost
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
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.
|