Error opening the file in a specific directory - page 2

 
noorad2000:

Thank Alain 

But I do not want to send files between the two programs.

In that case place the file you want to read into the correct directory then your code can read it . . .
 

Hi, A few month ago I wrote a program to document the market indicators for my research. I used strategy tester to save past market data during a specific time. the ".CSV" file was saved some where here:

C:\Program Files\MetaTrader 5\tester\Agent-127.0.0.1-3000\MQL5\Files\Data

 the code, opened file added new data to it and then close it. maybe if you put your code here you can access to it  in your code as well.

if you need my code let me know to send it to you. 

 
saeedejam:

Hi, A few month ago I wrote a program to document the market indicators for my research. I used strategy tester to save past market data during a specific time. the ".CSV" file was saved some where here:

C:\Program Files\MetaTrader 5\tester\Agent-127.0.0.1-3000\MQL5\Files\Data

 the code, opened file added new data to it and then close it. maybe if you put your code here you can access to it  in your code as well.

if you need my code let me know to send it to you. 

 ? ?
Reason: