need cBot to read from file that Indicator is writing to
need cBot to read from file that Indicator is writing to
28 Jun 2017, 08:24
Hi, I hope someone can please help me with this one.
I have an indicator that writes values to a file. The method used is exactly as per:
/forum/calgo-reference-samples/54
I also have a cbot that I need to be able to read the values from the same file. However, when I try to run the cbot simulatneously with the indicator, the cbot crashes with "The process cannot access the file because it is being used by another process".
How do I amend /forum/calgo-reference-samples/54 so that it does not block all access to the file, ie allows another process to read it?
Thanks very much for you help.
Replies
wpwebsites
18 Jul 2017, 13:41
Many thanks for your response. I will try those suggestions first, and get back to you if I still have no luck.
Best regards
@wpwebsites
Spotware
17 Jul 2017, 14:47
Hi wpwebsites,
Thanks for posting your question in the forum. Can you please provide a code sample of your cBot so we can advise you on how to modify it? You can also follow the suggestions posted here
Best Regards,
cTrader Team
@Spotware