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

Re: [amibroker] Re: Thicker volume histogram...?



PureBytes Links

Trading Reference Links

Hi Dan,
 
Or you could add the following code snippet at the start of you indicator code to reverse the order of the display.  This is one instance where some old code is still quite useful.  I routinely use a variant of this to dictate whether MAs or other indicators overlay candles.  Good trading.
 
Overlay = ParamToggle("MA Overlay Volume?", " No | Yes ", 0);

GraphZOrder = Overlay;

Peace and Justice   ---   Patrick
----- Original Message -----
Sent: Monday, May 05, 2008 1:45 PM
Subject: [amibroker] Re: Thicker volume histogram...?

Thought I'd tried that but I must have goofed. Works now ... thanks.

Dan

--- In amibroker@xxxxxxxxxxxxxxx, Dennis Brown <see3d@xxx> wrote:
>
> Make your plot statement for the volume come before the plot of
the 
> volume bars.
>
> Layers will not help you since that are for a different purpose.
>
> Best regards,
> Dennis
>
> On May 5, 2008, at 11:15 AM, danielwardadams wrote:
>
> > I started using the styleArea volume bars but I have a volume
moving
> > average on the same chart and it (mostly) gets hidden behind the
> > bars. Do I need to play with layers to get the moving average "in
> > front" or to have transparency in the volume bars so I can see
it?
> >
> > I've avoided using layers to date because I never really had a
need
> > for them.
> >
> > Dan
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@>
> > wrote:
> >>
> >> 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@>
> >> 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@>
> > wrote:
> >>>>
> >>>> That's for NEWEST versions only.
> >>>>
> >>>> Best regards,
> >>>> Tomasz Janeczko
> >>>> amibroker.com
> >>>> ----- Original Message -----
> >>>> From: "sidhartha70" <sidhartha70@>
> >>>> 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
> >
> >
> >
>



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

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/
__._,_.___

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




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___