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

Re: AB version of MetaStock formulas



PureBytes Links

Trading Reference Links

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)