vdemydiuk / mtapi

MetaTrader API (terminal bridge)
http://mtapi4.net/
MIT License
522 stars 282 forks source link

Working with multiple symbols #20

Closed saleyn closed 8 years ago

saleyn commented 8 years ago

Is it possible to have MtApi work with multiple symbols without having to drop the EA on each individual chart?

vdemydiuk commented 8 years ago

Unfortunately, I have not found good legitimate way to get updates of quotes from terminal without connections to every chart with symbol is needed. But I am still investigating posibility to get quotes without charts.

Exellion commented 8 years ago

You can get market info for all symbols, which added to Market watch. So, you can call method MarketInfo in timer function (with period 100 milliseconds for example), and get ask, bid and time of last quote (or each another info, that represents in MarketInfo method)