Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information
A lot of people asked me and metaquotes forum about file handling functions.
I think MT4 have a lot of bugs in those functions.
1- They don't work in backtesting
2- They don't write outside "MetaTrader 4\experts\files" path.
Today I opened my Visual C++ and wrote a file handling dll for MT4, I hope you enjoy it, and its source code, and tell me your .
Setup:
1- Extract the "mtguru1.dll" to "MetaTrader 4\experts\libraries" path.
2- Extract "FilesDemo.mq4" to "MetaTrader 4\experts\indicators" path and compile it.
3- Extract "gFiles.mqh" to "MetaTrader 4\experts\include".
4- Load FilesDemo from your Indicators - don't forget to enbable "Allow DLL Import"
5- Enjoy.
alerts.mqh not part of mtguru1.zip, could not run FilesDemo? Thanking you in advance.
sx ted,
I'm sorry, I meant "gFiles.mqh"
To run FilesDemo:
1- Extract the "mtguru1.dll" to "MetaTrader 4\experts\libraries" path.
2- Extract "FilesDemo.mq4" to "MetaTrader 4\experts\indicators" path and compile it.
3- Extract "gFiles.mqh" to "MetaTrader 4\experts\include".
4- Load FilesDemo from your Indicators - don't forget to enbable "Allow DLL Import"