Faisal Mahmood / Publications
Forum
.Net DLL not loading in MT5
Hi, I have a mq5 file importing a .Net DLL, that compiles in MetaEditor. When running it in MT5, it shows errors like this: 2022.02.05 17:49:58.337 MT5NetTest (Test2,M1) function 'MT5Net.SampleMT5::Get1DDouble' not found in 'E:\Apps\MT5\MQL5\Libraries\XMT5Net.dll' Is there a Visual Studio solution
MQL5 Struct as uchar[]
Is there a way to convert MQL5 Struct to uchar[] and back? Thanks
Best practices in porting C++ code into MQL5
What are the best practices and how-tos in porting C++ code into MQL5, with minimal changes? Are there ready made preprocessors that I can use? Also, I do not see a way to bind sockets in MQL5, is it not possible
Fastest JSON parser simdjson in MQL5
Anyone ported simdjson into MQL5? If not, can someone help in porting please? https://github.com/simdjson/simdjson/tree/master/singleheader In the above, only two files require porting: simdjson.cpp and simdjson.h I can volunteer to port this, however it would be good if someone can guide me easiest
Services naming - suggestion for MetaTrader dev
I am not sure where is the best place to suggest for the improvement to the platform. Here is the suggestion: When adding a service, at the moment it opens a dialog that allow inputting the parameters, but there is nothing to input the name of the service instance. The renaming needs to be done
CustomSymbol Market Watch big/ask
For a CustomSymbol, I was able to get the rates updated for the charts. But the Market Watch still shows them as blanks. What is missing? I tried CustomSymbolSetDouble for symbol, SYMBOL_BID and SYMBOL_ASK and also tried CustomTicksReplace but made no difference. What am I missing
Service 'Abnormal termination' graceful exit handling
MQL5 Team I have been exploring the Services in MT5 platform and I found that there is no graceful way to stop a service and stopping it causes 'Abnormal termination' error. Can you please add OnDeinit(reason) to Services so that we can do cleanups and exit the loop of OnStart() gracefully please
Any native libraries for ZeroMQ, MySQL, PostgreSQL?
Are there any MQL5 native libraries for ZeroMQ, MySQL, PostgreSQL
MT5 handle to C++ memory address
I would like to know how to get the memory address from MT4/MT5 handles that can be used in C++ via DLLs? Thanks
HCC file format
I am looking for HCC file struct definitions similar to MT4's HST files. Can you please point me from where I can get this from? Thanks