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

Re: [amibroker] Re: Bar Chart Colors



PureBytes Links

Trading Reference Links

The only way is to set the colours inside the AFL code for barcharts
as you ahve already been shown. Colours in preferences only work for
candles

--
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 3/17/06, garydixon90 <garydixon90@xxxxxxxxx> wrote:
>
> Graham, Thanks for the reply.
>
> I have set my top default pane to View->Price Chart Style->bars. I do
> not want to display a candle chart but a bar chart that shows green
> for up and red for down. Is this possible. I know I can do it in
> script but I was just wondering are there any options that can be set
> to do the same thing.
>
> Gary
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxx> wrote:
> >
> > candle colours in
> > tools-preferences-colors
> > you will also need to set the type of candles (solid, hollow etc) in
> > tools-preferences-charting
> >
> > --
> > 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 3/17/06, garydixon90 <garydixon90@xxx> wrote:
> > >
> > > Thanks for the reply. I understand that is how to change the
> candle
> > > color but I am trying to change the color of the default bar
> chart.
> > > At the moment it is black but I want it red and green. I cannot
> find
> > > where/how to do this.
> > >
> > > Gary
> > >
> > > --- In amibroker@xxxxxxxxxxxxxxx, "idaytrader" <idaytrader@>
> wrote:
> > > >
> > > > There are 2 ways.
> > > > 1.  Automatic and global: Goto Tools-> preferences, Select the
> color
> > > > tab and set up candle to green and the down candle to red.
> > > >
> > > > 2. Or In your AFL code:
> > > >
> > > > Graph0BarColor= IIF( C > O,colorGreen,colorRed);
> > > > Plot(Close, "Price", Graph0BarColor, styleCandle | ParamStyle
> > > ("Style")
> > > > | GetPriceStyle());
> > > >
> > > >
> > > > --- In amibroker@xxxxxxxxxxxxxxx, "garydixon90" <garydixon90@>
> > > wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > How do you change the bar chart colors in 4.7 so they are the
> > > same as
> > > > > candle sticks. ie if c > o I want green and the reverse for
> red.
> > > > >
> > > > > Thanks
> > > > >
> > > > > Gary
> > > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > 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 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 other support material please check also:
> http://www.amibroker.com/support.html
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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 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/

<*> 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/