So I am trying to implement a simple volume weighted moving average but when I try to plot the indicator it doesn't print except for first few days. Any one has any idea what I am might be doing wrong here. 

Author