Do you have candlestick chosen for your default setting?  Your code works for 
all except candlestick.

Bill
  ----- Original Message ----- 
  From: sidhartha70 
  To: [email protected] 
  Sent: Tuesday, June 17, 2008 7:37 AM
  Subject: [amibroker] Boolean to set 'styleThick' in Plot()


  Hi All,

  I'm trying to make the style of plotting price bars dependent on some
  boolean value... i.e. if the boolean is true then I want 'styleThick'
  bars... else normal.

  However, it doesn't seem to be working... the following,

  Plot( C, "Close", BarColor , styleNoTitle | styleThick*BarThick |
  GetPriceStyle() ); 

  Gives an incorrect argument type, where 'BarThick' is my booelan.

  If this is not correct, can anyone suggest how I can correct this or
  achieve what I want...?

  Thanks


  ------------------------------------

  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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
  http://www.amibroker.com/devlog/

  For other support material please check also:
  http://www.amibroker.com/support.html
  Yahoo! Groups Links





------------------------------------------------------------------------------



  No virus found in this incoming message.
  Checked by AVG. 
  Version: 8.0.100 / Virus Database: 270.3.0/1505 - Release Date: 6/16/2008 
7:20 AM

Reply via email to