The red and green O, C are apparently being controlled by the color selector 
under preferences.  Those can be changed (of course that becomes a global 
change which you probably don't want) so that both O and C are the same color 
but I don't  think you can have individual local control with AFL of the O and 
C colors.  Probably need a new style - H,L,C bar.  Maybe Support has a way to 
do it.

Bill
  ----- Original Message ----- 
  From: sidhartha70 
  To: [email protected] 
  Sent: Saturday, September 06, 2008 8:37 AM
  Subject: [amibroker] Re: Bar chart with close only... possbile..?


  Thanks Bill. But I seem to be getting some confusing results here.

  The following two very simple lines of code,

  SetBarFillColor(colorBlue);
  Plot(Close,"Close",colorWhite,styleBar);

  give me blue bars between 'high and low' and then a red open & close
  on a down bar, and a green open & close on an up bar!!! Not sure where
  the red & green came from.

  Of course what I actually want to do, effectively, is set ONLY the
  open to be the same color as the background of the chart, and the rest
  of the bar (high low range + close) to be some other color...

  Anyone know if this can be done, or indeed where the green and red are
  coming from in the above code...?

  Thanks

  --- In [email protected], "wavemechanic" <[EMAIL PROTECTED]> wrote:
  >
  > SetBarFillColor() has to precede Plot()
  >   ----- Original Message ----- 
  >   From: wavemechanic 
  >   To: [email protected] 
  >   Sent: Saturday, September 06, 2008 12:03 AM
  >   Subject: Re: [amibroker] Bar chart with close only... possbile..?
  > 
  > 
  >   SetBarFillColor() controls the bar color (H to L) and Plot()
  controls the color of the O and C marks.
  > 
  >   Bill
  >     ----- Original Message ----- 
  >     From: Dennis Brown 
  >     To: [email protected] 
  >     Sent: Friday, September 05, 2008 8:29 PM
  >     Subject: Re: [amibroker] Bar chart with close only... possbile..?
  > 
  > 
  >     Sidhartha,
  > 
  >     Use the PlotOHLC() function and plot anything you want for bars.
  > 
  >     BR,
  >     Dennis
  > 
  >     On Sep 5, 2008, at 11:25 AM, sidhartha70 wrote:
  > 
  >     > Hi,
  >     >
  >     > Is it possible to plot a bar chart where only the range & the
  close is
  >     > indicated (i.e. not the open)...?
  >     >
  >     > TIA
  >     >
  >     >
  >     > ------------------------------------
  >     >
  >     > 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
  >     >
  >     >
  >     >
  > 
  > 
  >     ------------------------------------
  > 
  >     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 - http://www.avg.com 
  >     Version: 8.0.169 / Virus Database: 270.6.17/1655 - Release Date:
  9/5/2008 7:05 PM
  > 
  >    
  > 
  > 
  >
  ------------------------------------------------------------------------------
  > 
  > 
  > 
  >   No virus found in this incoming message.
  >   Checked by AVG - http://www.avg.com 
  >   Version: 8.0.169 / Virus Database: 270.6.17/1655 - Release Date:
  9/5/2008 7:05 PM
  >



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

  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 - http://www.avg.com 
  Version: 8.0.169 / Virus Database: 270.6.17/1655 - Release Date: 9/5/2008 
7:05 PM

Reply via email to