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

Re: [amibroker] Re: Help with indicator



PureBytes Links

Trading Reference Links

what it shows is the progressive historic average of volume as % of
the days volume in intraday time periods.
It would be quite easy to compare this to any other volume indicator,
although you might want to make the progressive average volume as
absolute volume rather than % of day.
Plot(Vcum/Vday*100, "Vavg Ratio", mycolor, styleArea);
becomes
Plot(Vcum, "Absolute Vavg", mycolor, styleArea);

then oif you wanted to add say the average over the past 30 days
MA(Vavg,30) you could. It might take careful definition so that you
can get meaningful results. But as with almost everything in AB yu are
only limited by your imagination, and of course level of knowledge of
writing AFL :)

On 8/2/05, Tony Lei <yiupang91@xxxxxxxxx> wrote:
> What parameter is this current cummulative volume compared to? Is it
> possible to compared to a 30 Day exponential moving average of volume?
> 
> thanks
> tony
> 
> On 8/1/05, Graham <kavemanperth@xxxxxxxxx> wrote:
> > It is displayed as a % of the summed days volume
> > 
> > 
> > > Vday = TimeFrameExpand(TimeFrameCompress( Vcum,
> inDaily,
> > > compressVolume ), inDaily, expandFirst );
> > 
> > > Plot(Vcum/Vday*100, "Vavg", mycolor, styleArea);
> > 
> > so each period is a percent of the total
> > 
> > 


-- 
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm


------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hmocmag/M=362131.6882500.7825259.1493532/D=groups/S=1705632198:TM/Y=YAHOO/EXP=1122951906/A=2889190/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Put more honey in your pocket. (money matters made easy) Welcome to the Sweet Life - brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

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:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

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