how to get High price of multiple currency pairs from a single chart?

 

Hi all,


I want Open, Close, High, Low and Volum of multiple currency pair. It is possible? I am using the below expert code.

I run the code in chart USDJPY,M5. It is printing the values in every 5 minutes when the bar is added. Now i have to open many charts for other currency pairs. Is it possible to do same from a single chart. Please i need help....


extern datetime prevDateTime = D'2008.11.01 00:00';

//+------------------------------------------------------------------+
//| Start function                                                   |
//+------------------------------------------------------------------+
void start()
{
  if(prevDateTime != Time[1])
  {
    prevDateTime = Time[1];
    Print("Date=", TimeToStr(prevDateTime,TIME_DATE|TIME_SECONDS),", Symbol=",  Symbol(), ", Period =", Period(), ", Open=", Open[1], ", High=", High[1], ", Low=", Low[1], ", Close=", Close[1], ", Volume=", Volume[1]);
    
  }
}

 
min wrote >>

Hi all,

I want Open, Close, High, Low and Volum of multiple currency pair. It is possible? I am using the below expert code.

I run the code in chart USDJPY,M5. It is printing the values in every 5 minutes when the bar is added. Now i have to open many charts for other currency pairs. Is it possible to do same from a single chart. Please i need help....

iHigh, iLow .. will help you

https://docs.mql4.com/series

 
EADeveloper:

iHigh, iLow .. will help you

https://docs.mql4.com/series

My problem is solved. Thankyou very much.