Data Structure in MetaTrader 4 Build 600 and Higher - MQL4 Articles 17.02.2014
Look in the correct place. Live: <data folder>\MQL4\Files. Tester: <data folder>\tester\Files.
Data Structure in MetaTrader 4 Build 600 and Higher - MQL4 Articles 17.02.2014
when i run it on live chart the file be generated in this folder(MQL5\Files)
but when i run it on strategy tester The file not be generated in this folder (tester\Files) Or in any other folder
Can you tell exactly what i must add to the code till works on the tester?
when i run it on live chart the file be generated in this folder(MQL5\Files)
but when i run it on strategy tester The file not be generated in this folder (tester\Files) Or in any other folder
Can you tell exactly what i must add to the code till works on the tester?
I converted an indicator from MT4 to MT5, when I run it in strategy tester in MT4, the indicator generates a .csv file that is saved in tester\files (in MT4)
In MT5 there is no "files" folder inside the tester folder. But if you load the indicator in a live chart, it saves in MQL5\Files.
Where is the file being saved in MT5 when running in strategy tester?

- www.mql5.com
I discovered the folder path
C:\Users\(Your PC)\AppData\Roaming\MetaQuotes\Tester\ Agent
I have the same problem but for reading in a file rather than writing it out during EA initialization in strategy tester. All works fine when running live but when using the ST file not found.
If I put the file in C:\Users\(Your PC)\AppData\Roaming\MetaQuotes\Tester\Agent the first thing the agent does on running is clear the directory of any files so this doesn't resolve my problem unfortunately.
Did anyone find a solution?

- www.mql5.com

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
i want create a file from candle information in strategy tester
But my code does not create the file
this is my code :