Using File Functions MQL4 instead of kernel32.dll
Please don't post randomly in any section. Your question is not related to the section you posted.
MT4/mql4 has it's own section on the forum. I have moved your topic accordingly.
Why do you want to read history ?
I saw an EA that works well on a real account. This is part of its code. Also, I have no experience working with files. I don't know exactly why it checks the history. I am trying to learn. I will be grateful if you can help me in correcting this function.
Any EA that is "hacking" its way at the history files, instead of using the built-in functions, only has one purpose—to "scam" possible buyers into believing that the EA is a "holy grail".
Any EA that is "hacking" its way at the history files, instead of using the built-in functions, only has one purpose—to "scam" possible buyers into believing that the EA is a "holy grail".
I have been using it for four months on a live account. So far, it has worked like a backtest. It also does not work without this function.
Is it possible to write this function without using DLL?
Yes! You can access the history information directly with normal MQL4 time-series functions and predefined variables ...
- 2023.05.03
- www.mql5.com
Using File Functions MQL4 instead of kernel32.dll
Hello everyone, how can you write the following code without using kernel32.dll and using File Functions MQL4?