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

Re: [amibroker] Plotting Text



PureBytes Links

Trading Reference Links

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