Dean: here is a formula that i use, hope it helps Rick : VolFactor = 2.5 ; // use this to adjust the amount to truncate Per1 = 50 ;
MaxVol = VolFactor*MA(Volume,Per1); col1 = IIf( Close >= Ref( Close, -1 ), colorBlack,colorRed); col2 = IIf(Volume > MaxVol,colorBlue, colorLightGrey); VolTrunc = IIf(Volume > MaxVol,MaxVol,Volume); Plot (VolTrunc, "VolTrunc", col1, styleHistogram ); Plot( VolTrunc, "VolDot", col2, styleDots|styleNoLine|styleNoLabel|styleNoTitle); /* this plots blue dot above truncated volume, grey above others*/ Plot(int(MA(Volume,Per1)),"MA",colorBlue,styleLine); Plot( 0, "", colorBlack, styleNoLine|styleNoLabel); /* causes graph to scale to 0*/ GraphXSpace = 2; --- In amibroker@yahoogroups.com, "troll" <[EMAIL PROTECTED]> wrote: > > Intraday charts often show volumn spike at day's > end or 1.00pm as day /programmed positions closed. > This can result in "distorted" volumn histogram that > requires high upper value with resulting loss of > detail for previous part of day. > > I'm trying to think of way to "dampen" effect of vol spike or > adjust scale somehow but not sure how to approach. > > Couldn't find any previous references on board. > > As always gratefull any suggestions or pointers. > > > > > Dean H. > ------------------------ Yahoo! Groups Sponsor --------------------~--> Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/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/