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 ----- 
  From: danielwardadams 
  To: [email protected] 
  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 [email protected], Dennis Brown <[EMAIL PROTECTED]> 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 [email protected], "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: <[email protected]>
  > >> 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 [email protected], "Tomasz Janeczko" <groups@>
  > > wrote:
  > >>>>
  > >>>> That's for NEWEST versions only.
  > >>>>
  > >>>> Best regards,
  > >>>> Tomasz Janeczko
  > >>>> amibroker.com
  > >>>> ----- Original Message -----
  > >>>> From: "sidhartha70" <sidhartha70@>
  > >>>> To: <[email protected]>
  > >>>> 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 [email protected], "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: <[email protected]>
  > >>>>>> 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



Reply via email to