I tried to overwrite price data within OnBarUpdate
by a syntax like this:
Open[0]= some double value
Seems like those data are read only.
Any way to accomplish that?
If not, I need another approach to do the following:
I want to test strategies on a high number of random price data.
Therefore manually generating those data, setting up instruments and importing
those data by txt-files is not the way to go.
I need a way to automatically create (and import, if necessary) the price data everytime a strategy script is executed.
Thanks in advance for any recommendations.
Comment