How to extend VWMA using GetAllDataForSymbol ?
Author: imedplb344
Creation Date: 3/8/2017 4:08 AM
profile picture


I am using the GetAllDataForSymbol utility to load all back data for SMA and VWMA moving averages. My code is:

Please log in to see this code.

The SMA series works properly and begins at the start date. However the VWMA series does not start until the nth bar (where n is the averaging period).

Any thoughts on what I am doing wrong?
profile picture


Shouldn't the input to VWMA be "b"?
profile picture


Perfect! Thanks.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).