| 
 PureBytes Links 
Trading Reference Links 
 | 
I am trying to translate a Metastock formula for AB. The formula is 
(Mov(C,5,vol)/Mov(C,5,S))-1. The following is what I wrote:
period=5;
VolWeightedMA=Sum((Volume*Close),period)/Sum (Volume,period);
VMACDP05=(VolWeightedMA / MA(C,period))-1;
Plot(VMACDP05,"VMACDP05", colorBlack, styleLine|styleOwnScale);
Is this correct?
Alan
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
 
 |