Expert Advisor for multiple symbols
Hello,
I am developing own semi-automated trading solution with possibility to connect to MetaTrader platform.
I use C# and MtAPI (http://mtapi4.net/) - this library provide connector between Expert Advisor for MQL and C# code; data transmission (real-time, history bars, ticks) works fine.
But I encountered in an issue, that when advisor can`t send order to another symbol.
For example, advisor attached to EURUSD chart, and after sending SendOrder request for GBPUSD:
I receive response from MQL:
If user attach advisor to Chart with GBPUSD - advisor can send orders, but it`s not convenient, user should manually attach advisor to each Chart with symbol he want to trade.
How I can avoid that "No prices" error? Somehow subscribe? or how I can open my advisor for all allowed symbols?

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello,
I am developing own semi-automated trading solution with possibility to connect to MetaTrader platform.
I use C# and MtAPI (http://mtapi4.net/) - this library provide connector between Expert Advisor for MQL and C# code; data transmission (real-time, history bars, ticks) works fine.
But I encountered in an issue, that when advisor can`t send order to another symbol.
For example, advisor attached to EURUSD chart, and after sending SendOrder request for GBPUSD:
I receive response from MQL:
If user attach advisor to Chart with GBPUSD - advisor can send orders, but it`s not convenient, user should manually attach advisor to each Chart with symbol he want to trade.
How I can avoid that "No prices" error? Somehow subscribe? or how I can open my advisor for all allowed symbols?