PureBytes Links
Trading Reference Links
|
Duplicate the initial value? call it previous?? Pick a reasonable
value, change it later; see what happens??
--- In amibroker@xxxx, "Jeff Gholson" <jgholson@xxxx> wrote:
> Hello to All!
>
> 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...
>
> 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?
>
> Thanks
>
> Jeff G
|