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

[amibroker] Re: V5.02.1 BETA SetBarFillColor coding example



PureBytes Links

Trading Reference Links

Hello Tomasz,

Could you please assist in this; I need example for "SetBarFillColor" 
that paint the body outline with the same color of the candle.

All the best.
Mohammed



--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@xxx> 
wrote:
>
> Hello,
> 
> 
> 
> AFL: SetBarFillColor( colorarray ) allows to independently control 
candlestick, bar, cloud, and area chart fill color
> 
> Example:
> 
> SetBarFillColor( IIf( MACD()>Signal(), colorYellow, colorBlue ) );
> 
> Plot( C, "Price", IIf( C > O, colorGreen, colorRed ), styleCandle );
> 
> 
> SetBarFillColor must PRECEDE the Plot() function call it applies to.
> 
> when applied to:
> 
> styleCandle - SetBarFillColor controls the color of interior of 
candle body, shadows and outline is controlled by color passed in 
Plot statement
> 
> styleArea - SetBarFillColor controls the color of interior of 
histogram bars
> 
> styleBar - SetBarFillColor controls the color of the bar (H-L), 
open and close ticks color is controlled by Plot statement
> 
> styleCloud - SetBarFillColor controls the color of interior of the 
cloud, outline is controlled by color passed in Plot statement
> 
> Other styles are not affected
> 
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
>



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

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/