john s: the problem is when I change the name of txt file it still reads the previous file name and it isn't changed.
EAs are not reloaded on input changes. You do not reset total_records. You append the new file to the existing array.
if(total_records >= ArraySize(prediction_data))

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello guys,
I have an EA that reads data from a txt file and opens positions based on them I am testing this in strategy tester, the problem is when I change the name of txt file it still reads the previous file name and it isn't changed.
and when I use the same file name and change the data in it it still works with previous data. Do you have any idea why this happens and what can I do? Here is the code of reading the file: