I have a custom indicator that write to an output file - Myout.txt. I followed the guidelines as in the documentation.
I use this custom indicator in market analyzer.
I get an error "Error on calling 'Onbarupdate' method on bar 72: the process cannot access the file Myout.txt because it is used by another process".
Since the file is not opened in another editor , could the problem be due to market analyzer calling various instruments that are trying to update the file ?
Any suggestions on how I can get this to work ?
basically, what I want is when an instrument called by market analyzer , reaches a certain position I will be able to record it in a Log file.
Thanks,
Lior
Comment