I am using the GetAllDataForSymbol utility to load all back data for SMA and VWMA moving averages. My code is:
CODE:
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?
Size:
Color:
Shouldn't the input to VWMA be "b"?
Size:
Color:
Perfect! Thanks.
Size:
Color: