Hi I am building a custom EA for MT5 When it is attached to a chart, the Socket Connection is made in OnInit() function & the connection is closed in OnDeinit() function while detaching the EA. My code is: int socket = - 2 ; // Socket Variable bool soc= false ; int OnInit () { if (socket == -
I tried fetching total Balance from Binance API in C# using glitch100/BinanceDotNet library with some modifications (like converting those data members from private to public static) The purpose of this is to be called by an MQL5 function for MT5 usage My C# code for the DLL is somewhat like this
Hi I am building an Experts Advisor for MT5. When it is attached to a chart, it successfully opens a .exe file. However, when I remove my EA from the chart, the .exe is still running. I tried a few functions available on internet, but I am unable to stop that running .exe My code section initially