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
I am writing a script in MQL4 language for Metatrader 4 which is using C# DLL library for further data processing.
What I'm trying to do is to pass an array of following MQL structures:
to this function in C# DLL:
This is the function definition on MQL side:
and this is the structure on C# side:
My problem is that it is not working when calling HistoricMarketData from MQL. The script either crashes whole Metatrader program or throws an exception and fails.