Scan multiple currencies

To add comments, please log in or register
Simone G
12
Simone G  
Hi

Just wondering if anyone can point me in the right direction in regards to pulling multiple currency data into one script so you can compare currencies on the same time scale? 
Biantoro Kunarto
22109
Biantoro Kunarto  

You can search in the codebase, there is a lot of code that using multicurrency :

https://www.mql5.com/en/search#!keyword=multicurrencies%20ea&module=mql5_module_codebase

Search - MQL5.community
Search - MQL5.community
  • www.mql5.com
Searching is based on morphology and is insensitive to case. All letters, no matter of their case, will be processed as lowercase. By default, our search engine shows pages, that...
Marco vd Heijden
Moderator
12670
Marco vd Heijden  
//+------------------------------------------------------------------+
//|                                           SYMBOLS TOTAL LOOP.mq4 |
//|      Copyright 2017, Marco vd Heijden, MetaQuotes Software Corp. |
//|                                             https://www.mql5.com |
//+------------------------------------------------------------------+
//+------------------------------------------------------------------+
//| loop through all symbols                                         |
//+------------------------------------------------------------------+
for(int i=0;i<SymbolsTotal(1);i++)
  {
   Print("SYMBOL: ",SymbolName(i,1)," Found At: ",i);
   
   // Do Something...
  }
//+------------------------------------------------------------------+

You have to specify what platform you want to use.

To add comments, please log in or register