You are doing two mistakes:

First: you are using price instead of date/time as x co-ordinate.
Second: you are using array instead of number (scalar)

C is an ARRAY, you need single VALUE.

See user's guide for working sample code:

http://www.amibroker.com/f?plottext


Best regards,
Tomasz Janeczko
amibroker.com
  ----- Original Message ----- 
  From: KBH 
  To: [email protected] 
  Sent: Friday, March 21, 2008 10:07 AM
  Subject: [amibroker] plotText


  I Have been trying to plot text and keep getting errors.

   

  PlotText( ''text'', x, y, color, bkcolor = colorDefault )

   

  What am I doing wrong.

   

  PlotText(“Close”, C, 680.00, colorBlack, colorWhite)

   

  All I am trying to do is plot text on chart, somewhere, anywhere so I can 
then mess with the code and begin to learn how 

  AFL works.

   

  No virus found in this outgoing message.
  Checked by AVG.
  Version: 7.5.519 / Virus Database: 269.21.7/1336 - Release Date: 3/20/2008 
9:48 AM

Reply via email to