Is it possible to call the MQL function from the DLL ? like calling AccountNumber() inside the DLL
Forex Trader:
In my knowledge, you have to write a script or EA to invoke your DLL and send AccountNumber() to you.
Is it possible to call the MQL function from the DLL ? like calling AccountNumber() inside the DLL
so I have a plan to call and check the AccountNumber() from the DLL file and not from the MQL (ex4 file)
how to do that ?
thank you
No, it's not possible to call mql functions from inside a dll. You have to call the dll from your EA or indicator and pass the account number like a parameter, so the dll will receive the number and will be able to work with it. Regards.
Is it possible to call the MQL function from the DLL ? like calling AccountNumber() inside the DLL
so I have a plan to call and check the AccountNumber() from the DLL file and not from the MQL (ex4 file)
how to do that ?
thank you