humbertobrandao Brandao / Publications
Forum
How to comunicate Java with MQL5?
I studied sockets fo MQL5 and I concluded that it isn't a good option, because I can call java using sockets but I can't receive a response. I studied files for MQL5 and I concluded that it isn't a good option, because I can get an event when a file is updated in MQL5. I will need to check every
Socket server in MQL5
Hello everyone. We can create a client socket in MQL5. This was ok. Now, need need to create a server socket in MQL5. Is it possible? Can you recommend a material for read about that? Regards
How to close and EA immediately from a function that is out of my EA?
I know there is the function OnDeInit(int) on my EA. But I have an important security control in a MQH file. I'd like to close my EA immediately, but, when I'm processing a function that is outside of my EA. It is in a .mqh file. In this context, I can not call OnDeInit. Is there an option for it
MT5 running over Linux
Hi guys! I know we can install and use the MT5 over Ubuntu using Wine emulations. I tried it and it works well during 2 weeks. But, I'd like to know if there is anybody here that uses MT5 using wine for more than 6 months. What's your opinion? Is it reliable? many tks
Getting deals from a specific pending request (order)!
Hello guys! I hope you are fine! My system sends a lot of pending orders by minute. To EA's internal control, I need to get all deals (trades) from a specific pending order during its life. I tried to control it using the function OnTradeTransaction in EA, informing each deal for its specific
MUTEX in MQL5. Is it possible?
Hi guys, I need to use a semaphore mutex in my MQL5 code. Do the language provide us this possibilite without to use a DLL? Regards
Request expiration of a request in a exact time during the day. How to do it?
Hi guys! I wish that the market cancels my request in a limit hour. Obviously, only in case that it wasn't filled. For example, I'm sending a request to the market now (12:02:10). But There is a limit time for execution (12:03:10) - 1 minute... I wouldn't like to send a delete message. I want that
How to declare pointers in MQL5?
I'm trying to declare pointers in .mqh files. In fact, I need to construct a Hashtable... I was declaring like C++ code: class HashMap { private : HashEntry **table; public : HashMap() { table = new HashEntry*[TABLE_SIZE]; for ( int i = 0 ; i < TABLE_SIZE; i++)
How to identify a specific request when I take the event OnTradeTransaction?
Helo everyone, I hope everyone are fine. Let's suppose I sent a ten requests few seconds ago to the market for the same symbol. Then, right now I receive an event in the function OnTradeTransaction(trans, request, result). In this moment I don't know what request (order) cause the event