Hello Joseph,
it is not exactly the same as the build-in chart. I have got it from
Marcin.
Yes - you can, however - first of all - go
to:
Tools -> Preferences -> Charting,
disaable distinct color for candlesticks
Choose: "None, candle up solid" or
"None, candle up hollow"
Then you can use any formula like:
Color = IIf( C > O, colorGreen, colorRed);
Plot(Close,"",Color,styleCandle);
Regards
Thomas Zmuck
www.tradingbasis.com
-----Original Message-----
From: J. Biran [mailto:jbiran@xxxxxxxxxxx]
Sent: Monday, March 21, 2005 9:32 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Re: body color definable through AFL ?
Can you spell out the syntax?
Joseph Biran
____________________________________________
________________________________________
From: hairy_mug [mailto:WSCHWARZ@xxxxxxxxxxxxx]
Sent: Monday, March 14, 2005 5:50 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: body color definable through AFL ?
the "use body outline only" option colors the whole bar...
(does not sound right but it works...)
--- In amibroker@xxxxxxxxxxxxxxx,
"Thomas Zmuck" <tzg@xxxx> wrote:
> Hi,
>
> is this the only way ?
> isn't it possible to define the body color through a parameter ?
>
> if I draw a bar chart I can define the barcolor, but on the candle
> chart I can define only the outline of the candle but not the body
itself.
>
> Regards
>
>
>
> Thomas Zmuck
> www.tradingbasis.com
------------------------ Yahoo! Groups Sponsor
--------------------~-->
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/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/