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

Re: [amibroker] Changing internal color of price candles



PureBytes Links

Trading Reference Links

You can itr all depends on how you set the preferences and write the
color in the AFL

In preferences-Charting-Candlesticks-Use distinct color for
candlestick - Select Body outline and shadow
And in Preferences - Colors select the colours for up and down
candles, eg green up, red down
then in the AFL for chart
CandleColor = IIf( C>O, colorBlue, IIf( C<O, colorBrightGreen, colorGrey50 ));
Plot(C, "", CandleColor, styleCandle);


--
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 10/28/05, scourt2000 <stevehite@xxxxxxxxxxx> wrote:
>
> Do other Amibroker users find that it would be a useful addition to be
> able to change the internal candle colors of a candle chart without
> changing the candle outline color during runtime?
>
> Currently, I believe it is only possible to either change the outline
> color on-the-fly but the internal colors are set in the Color
> Preferences and they cannot be changed programatically:
>
> Plot(Close, "", colorBlack, styleCandle);
>
> Above, changing the colorBlack to another color will just change the
> outline.  I'd like the outline to stay black but be able to change the
> internal color candle.
>
> [A lot of questions about changing price bar colors have been
> mentioned on this thread, but they have pertained to using "styleBar")]
>
> Steve


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