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

[amibroker] Re: Bar chart with close only... possbile..?



PureBytes Links

Trading Reference Links

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 amibroker@xxxxxxxxxxxxxxx, "wavemechanic" <timesarrow@xxx> wrote:
>
> SetBarFillColor() has to precede Plot()
>   ----- Original Message ----- 
>   From: wavemechanic 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   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: amibroker@xxxxxxxxxxxxxxx 
>     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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/