Multi Symbol Quotes

 

Hello everybody,

 

Currently I am trying to figure out if there is a way to use course data from other Symbols than the one my EA is applied to.

 

Example: 

ask      = SymbolInfoDouble(_Symbol, SYMBOL_ASK);

How can I use a different Symbol here?

 

I wasnt able to find anything about this in the documentation or the forum...I d be happy if someone could help me here!

 

Simply replace _Symbol with the symbol you need e.g. "EURUSD"

Be careful about broker suffix. You must write it exactly as it appears with your broker. 

 
honest_knave:

Simply replace _Symbol with the symbol you need e.g. "EURUSD"

Be careful about broker suffix. You must write it exactly as it appears with your broker. 

Thanks for the quick response.


It is working now!
Reason: