I'm trying to adapt the basic "Volume with Color" indicator to include:
1. A moving average for the volume {MA(V,30} and 
2. An enlarged bar in the volume histogram whenever a volume bar 
exceeds 3*MA(V,30).  

The moving average plots well, but I have failed thus far to produce 
the enlarged volume bar.  My code appears below.  Any advice as to how 
to plot the enlarged volume bar will be gratefully received.

DynamicColor    = IIf( C > O, ParamColor("Up Color", colorGreen ), 
ParamColor("Down Color", colorRed ));

DynamicWidth    = IIf(Volume<3*MA(Volume,30),ParamStyle( "Style", 
styleHistogram|styleThick,maskHistogram), ParamStyle
("BigVol",styleArea));

Plot( Volume, _DEFAULT_NAME(), DynamicColor,DynamicWidth);
Plot(MA(V,30),_DEFAULT_NAME(),colorBlue,styleLine); 

Any advice will be very much appreciated.

Thank you,

Fred





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/qlNZQC/hOaOAA/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:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to