Problem with VWAP
Your index in the first while loop is outside the loop.
Therefore the loop never finishes.
Edit:
And on the second one as well.
WP and SD are arrays with no size. Make them non-visible buffers. IndicatorBuffers - Custom Indicators - MQL4 Reference
hey guys, i need some help. new to mql4 dont know what im doing, im making a custom indicator for an ea. i wanted to get the VWAP indicator that resets daily and has the upper and lower bands using standard deviation. this is where i got to. Dont try and open it on mt4 because it will crash your pc. I ask for some tips / help on this. Thanks