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

Re: [amibroker] Re: AB version of MetaStock formulas



PureBytes Links

Trading Reference Links

Try something like this:

Vwma = Sum(C*V,10)/Sum(V,10);



Mike

----- Original Message ----- 
From: "b519b" <b519b@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, July 08, 2002 8:36 PM
Subject: [amibroker] Re: AB version of MetaStock formulas


John, 

Thanks for the explanation of $ as the 3rd parameter in MetaStock's 
ROC function.

Do you know what AFL code I need to simulate MetaStocks "Volume" 
option in its Moving Average. I know it is not a moving average of 
Volume. I think it is a simple moving average of price WEIGHTED BY 
VOLUME. Is there an easy why to code this in AFL? Or do I need to 
hard code the weighting for each day in the look back period?

The MetaStock function in question is:

Mov(C,20,VOL) 







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