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

Previous Value



PureBytes Links

Trading Reference Links


Hello 
to All!
<FONT face=Arial color=#0000ff 
size=2> 
Just 
got the lastest issure of Active Trader Magazine....always like to play around 
with the systems they present in "The Trading Systems Lab" 
section...
<FONT face=Arial color=#0000ff 
size=2> 
This 
month they present a system based on a Volume Weighted Moving Average.  
Everything is fairly simple to code into AFL, with one little exception...to 
start the calculation of the VWMA you must have the "previous" VWMA to preform 
the calculation. There is my problem...how to get a "previous" value of an array 
when you haven't preformed the first calculation of the 
array. 
 
All 
you "Codies" out there...any suggestions?
 
<FONT face=Arial color=#0000ff 
size=2>Thanks 
 
Jeff 
G



  • References: