Download MetaTrader 5
To add comments, please log in or register
Find and download Code Base apps via MetaTrader. It is fast!
Wang Qi
514
Wang Qi 2015.10.24 13:24 
I download FX Blue QuickChannel library, seems it can make OnTick called whenever a new message is sent, from a DLL (indeed from another process).
in QuickChannel pdf document, it says,
=============
Once an EA/script has called QC_StartReceiver(), it receives a tick whenever a new message is available on the channel it has opened. In other words, its OnTick() function is run as soon as a new message is available, regardless of whether there has actually been a new tick from the broker for the symbol on whose chart the EA/script is running.
=============
I'm quite interested in how to do that because I need to cause OnTick called from my DLL too.
I guess some mystery Windows message sent to MT4? If so, what's the message ID and any parameters?

In brief, I want to call OnTick from a DLL or even another process, in non-MQL language such as C++.


Thanks

JC
1394
JC 2015.10.24 14:16  
wqking:

In brief, I want to call OnTick from a DLL or even another process, in non-MQL language such as C++.

https://www.mql5.com/en/forum/143895

https://www.mql5.com/en/forum/145432 

https://forum.mql4.com/62761/page2#954650

 ... and many, many others

Wang Qi
514
Wang Qi 2015.10.24 14:48  
jjc:

https://www.mql5.com/en/forum/143895

https://www.mql5.com/en/forum/145432 

https://forum.mql4.com/62761/page2#954650

 ... and many, many others


Thanks. I didn't realize this topic was discussed so many times.
JC
1394
JC 2015.10.24 14:53  
wqking:

Thanks. I didn't realize this topic was discussed so many times.
I'd forgotten that I posted about this myself more than 6 years ago: https://www.mql5.com/en/forum/118700. And that won't be the earliest mention.
Wang Qi
514
Wang Qi 2015.10.26 03:25  
jjc:
I'd forgotten that I posted about this myself more than 6 years ago: https://www.mql5.com/en/forum/118700. And that won't be the earliest mention.


Is there any document about the mystery MetaTrader4_Internal_Message?

Also I noticed the lParam in https://forum.mql4.com/62761/page2#954650 is 1 and is 0 in your https://www.mql5.com/en/forum/118700

What's the difference?


Thanks

JC
1394
JC 2015.10.26 14:47  
wqking:

Is there any document about the mystery MetaTrader4_Internal_Message?

MetaTrader4_Internal_Message is undocumented. All the information about it on this forum is the result of people experimenting through trial and error. I'm not aware of any difference caused by different lParam values, though there might be a subtle one.
/
To add comments, please log in or register