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

Re: [amibroker] Relative Volume by time



PureBytes Links

Trading Reference Links



look in the AFL library for "intraday averge volume" or something similar.

On Mon, May 4, 2009 at 2:56 PM, Bill S <wjs45244@xxxxxxxxx> wrote:


On Mon, May 4, 2009 at 2:20 PM, etoketrader <etoke420@xxxxxxxxx> wrote:


Hi everybody,

I am trying to create a relative volume indicator which would plot a volume bar relative to it's moving average by timeframe.

If this is done across all timeframes, then the code would be very simple.. for example :

RelativeVol = V - MA(V,20)

However what I am looking for is to be able to compare the current volume with the MA of the equivalent bar of the same time, so for example the Volume of the 9:30 bar is compared to the moving average of the 9:30 bars of the previous 20 days.

Is there a straightforward method of coding this?

thanks!
etoke







__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





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

__,_._,___