threading with mql4
stringo:
i am trying to listen my spesfic port via my dll and when an order comes to the port i must execute order in mql but i can't stop listening. how can i solve this?
No. Call your dll-function. Get result from it and trade with OrderSend, OrderClose etc.
BTW you can get trade parameters via array passed to your dll as reference
is there a way to thread with mql4 or using mql4 functions in my own DLL.
Thanks.