DennisGundersen / MT4-To-CSharp-Bridge-Using-DNNE

A prototype for connecting unmanaged code in Metatrader 4 (MQL) to managed code (C#) in modern .NET (6+) using DNNE
MIT License
1 stars 2 forks source link

MQL5 version #6

Open mmcopilot opened 2 months ago

mmcopilot commented 2 months ago

Hi Dennis,

First of all, I would like to thank you for the fantastic work you have done with the MT4-To-CSharp-Bridge-Using-DNNE project. Your solution is extremely useful and well-executed, making it much easier to integrate MT4 with C# applications.

I would like to ask if it would be possible to extend the support of the project to Mql5. Many users, including myself, use this platform and a version compatible with MQL5 would be highly beneficial.

I understand that this might require significant effort, but I am confident that many in the community would greatly appreciate this addition.

Thank you again for your work and for sharing this project with the community.

DennisGundersen commented 2 months ago

Hi! Glad you enjoyed it. Unfortunately I don't use MQL5 as that platform is specifically built around US laws (I believe the relevant ones are called the "Dodd-Frank act") which bans same symbol hedging etc. As a non-US citizen I have no interest in allowing the US to limit my choices as a trader.

There also turned out to be some annoying limits with DNNE (it won't work with Dependency Injection or MS Entra), and I've therefore shifted my focus to MT4-To-CSharp-Bridge-Using-ZeroMQ instead. This project uses a much cleaner client/server approach where all data is passed as string[] (allowing for 64bit and full .NET flexibility). As such, there should be no issues using MT5 versus MT4 (though I haven't tried it myself). Please see mql-zmq for information on how to call code from MT5.

Re Dennis