Expert Advisors: Multicurrency OnTickMarketWatch tick event handler

 

Multicurrency OnTickMarketWatch tick event handler:

The standard OnTick() handler allows to receive the ticks for only one symbol. For multicurrency experts you need the ticks for several symbols. In some cases it's necessary to recieve the ticks for all symbols from"Market Watch" window.

The Expert Advisor exOnTickMarketWatch.mq5 uses the standard custom event handler of OnChartEvent() function, it provides the following information:

  1. Symbol index of the "Market Watch" window
  2. Symbol name
  3. Tick Bid price.
  4. Symbol spread.
Launch the scOnTickMarketWatch.mq5 script to receive the ticks from "Market Watch" window.

Author: Константин

Multicurrency OnTickMarketWatch() tick event handler

 
Will this solve the problem of multi currency expert advisors that give different results on different pairs ?
 

I was waiting for this code for a very long time. BIG THANK'S

 
jeebs # :

I was waiting for this code for a very long time. BIG THANK'S

And this was posted 13 years ago :)

 
Ahmet Metin Yilmaz #:

And this was posted 13 years ago :)

My ERROR to find on internet bro! It's solve SUPPLY and DEMAND on MULTICURENCY!!
Reason: