Hi dusktrader. OK, I'll guess a little more!

vars EquityCurve just defines EquityCurve as a pointer. Before the read I think you need to create the array and assign EquityCurve to the start of the array, which is what series does. So, in the read else add EquityCurve=series(0) before the read.
The read is going to execute on every Bar, just reloading the array every time. Do you want it to be in INITRUN? Or actually EXITRUN for your testing / proof of concept...
In read mode, the plot is going to plot the 1st value in the array at every bar, which will just be a flat line? I think you may be better off using plotGraph in a loop to specify the Bar for each equity value...