Download MetaTrader 5

Is it possible to call the MQL function from the DLL ? like calling AccountNumber() inside the DLL

To add comments, please log in or register
Forex Trader
114280
Forex Trader  

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

Amy Liu
645
Amy Liu  
Forex Trader:

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

In my knowledge, you have to write a script or EA to invoke your DLL and send AccountNumber() to you.
Jose Francisco Casado Fernandez
3209
Jose Francisco Casado Fernandez  
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.
To add comments, please log in or register