How to cause OnTick called from a DLL?

Back to topics list To post a new topic, please log in or register
avatar
31
wqking 2015.10.24 15: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


avatar
1318
jjc 2015.10.24 16:16 #
 
wqking:

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

https://forum.mql4.com/54434#768766

https://forum.mql4.com/56206 

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

 ... and many, many others

avatar
31
wqking 2015.10.24 16:48 #
 
jjc:

https://forum.mql4.com/54434#768766

https://forum.mql4.com/56206 

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

 ... and many, many others


Thanks. I didn't realize this topic was discussed so many times.
avatar
1318
jjc 2015.10.24 16: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://forum.mql4.com/23961. And that won't be the earliest mention.
avatar
31
wqking 2015.10.26 04:25 #
 
jjc:
I'd forgotten that I posted about this myself more than 6 years ago: https://forum.mql4.com/23961. 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://forum.mql4.com/23961

What's the difference?


Thanks

avatar
1318
jjc 2015.10.26 15: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.
Back to topics list  

To add comments, please log in or register