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

RE: [amibroker] Plotting Text



PureBytes Links

Trading Reference Links

Hi Graham,

Thanks for responding.  Don't know why but for a moment I thought that the
right most bar was zero and it counted upwards as you went back further in
time.  That's why I was using 50 for my x cooridinate.  

Dave 

-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of Graham
Sent: Tuesday, July 25, 2006 1:11 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Plotting Text

as shown in the help files

 SYNTAX  PlotText( ''text'', x, y, color, bkcolor =  colorDefault )  RETURNS
NOTHING  FUNCTION  This function writes text in specified co-ordinates.

where:
x - is x-coordinate in bars (like in LineArray) y - is y-coordinate in
dollars color is text color bkcolor is background color

therefor
PlotText("RSI", 50, 50, colorBlack);
is at the value of 50 on the Y axis and at the Barindex()==50 per the bar
nunber

also assuming your background colour is not black you will see the text at
this location
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service Yes, I write AFL code to your
requirements http://e-wire.net.au/~eb_kavan/ab_write.htm


On 25/07/06, MarketMonk777 <dlittner@xxxxxxxxxxxxx> wrote:
>
>
>
> Hi  folks,
>
> Trying to accomplish  a simple little task of plotting text on my chart
with the following line of  code:
> PlotText("RSI", 50, 50,  colorBlack);
>
> Nothing  seems to show up regardless what values I plug in for the x or y
coordinates.
>
> What  are the coordinates of the chart?
>
> Thanks,
>
> Dave 



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