How to update indicator when new bars appear

 

My custom indicator does not update with new bars.  I tried to create a handle that I can use with CopyBuffer() to increment the bars to no avail. Not sure if correct method so I deleted it from source code. Please help!!!

Files:
Anchor_VWAP.mq5  25 kb