PureBytes Links
Trading Reference Links
|
Hello,
Common coding mistake: http://www.amibroker.com/guide/a_mistakes.html
IIF is **NOT** conditional statement, it is a FUNCTION that returns value.
Should be:
SetBarFillColor( IIf(Close > Open, colorGreen, colorRed ));
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "sidhartha70" <sidhartha70@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, May 04, 2008 12:14 AM
Subject: [amibroker] Re: Thicker volume histogram...?
> Thanks Tomasz. Downloaded and working now.
>
> But any idea why this code wouldn't produce volume colour...?? It only
> plot's red bars right now...
>
> IIf(Close > Open, SetBarFillColor( colorGreen ), SetBarFillColor(
> colorRed ));
> Plot( Volume, _DEFAULT_NAME(), colorBlack, styleArea );
>
> Thanks.
>
> --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@xxx> wrote:
>>
>> That's for NEWEST versions only.
>>
>> Best regards,
>> Tomasz Janeczko
>> amibroker.com
>> ----- Original Message -----
>> From: "sidhartha70" <sidhartha70@xxx>
>> To: <amibroker@xxxxxxxxxxxxxxx>
>> Sent: Saturday, May 03, 2008 11:59 PM
>> Subject: [amibroker] Re: Thicker volume histogram...?
>>
>>
>> > Thanks Tomasz,
>> >
>> > But I'm getting a sytax error (Error 30) on the line,
>> >
>> > SetBarFillColor( colorLightGrey );
>> >
>> > I'm using AmiBroker 5.00.1
>> >
>> > Any thoughts...?
>> >
>> > Thanks
>> >
>> > --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@> wrote:
>> >>
>> >> Hello,
>> >>
>> >> Use styleArea with SetBarFillColor as shown in the example:
>> >>
>> >> SetBarFillColor( colorLightGrey );
>> >> Plot( Volume, _DEFAULT_NAME(), ParamColor("Color", colorBlueGrey ),
>> > styleArea );
>> >>
>> >>
>> >> Best regards,
>> >> Tomasz Janeczko
>> >> amibroker.com
>> >> ----- Original Message -----
>> >> From: "sidhartha70" <sidhartha70@>
>> >> To: <amibroker@xxxxxxxxxxxxxxx>
>> >> Sent: Saturday, May 03, 2008 7:16 PM
>> >> Subject: [amibroker] Re: Thicker volume histogram...?
>> >>
>> >>
>> >> > Yeah that works... but looks a bit messy. No gaps at all
> between the
>> >> > histogram bars. I just find the styleThick not thick enough. Be
> easier
>> >> > if you could define a number of pixels for width.
>> >> >
>> >> >
>> >> > ------------------------------------
>> >> >
>> >> > 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
>> >
>> >
>> >
>>
>
>
>
> ------------------------------------
>
> 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
<*> 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/
|