Get value from many pais with AE in one Chart.

 

Hi.

Is possible to get info about others pairs with an EA in a only chart?

I can to create a string with:

EURUSD,Time,BID,ASK,HIGH,LOW

EURJPY,Time,BID,ASK,HIGH,LOW

GBPUSD,Time,BID,ASK,HIGH,LOW

AUDUSD,Time,BID,ASK,HIGH,LOW

To concat all is easy but Hou Can I take the value for the High for exemple? I try with MarketInfo but this function return the Max value in a day, and not in the current bar.

sds

 
 


Thanks szgy7458586vdsdd...

I use this and ok.

But, now, other problem. I use this code in Start inside EA.

double ask =MarketInfo("EURUSD",MODE_ASK);

Print(DoubleToStr(ask,5));

But, the only result is 0.0000. I dont understanding, in exemple in help is the same. No errors...

 
bisewski:


Thanks szgy7458586vdsdd...

I use this and ok.

But, now, other problem. I use this code in Start inside EA.

double ask =MarketInfo("EURUSD",MODE_ASK);

Print(DoubleToStr(ask,5));

But, the only result is 0.0000. I dont understanding, in exemple in help is the same. No errors...


Does your broker add a suffix.

ie instead of "EURUSD", it may be "EURUSDm"

If so, you have to add the suffix in your code.

 
GumRai:


Does your broker add a suffix.

ie instead of "EURUSD", it may be "EURUSDm"

If so, you have to add the suffix in your code.


No, any change. I thing that the problem are in my platform. My version is from MB Trading. This version is the same mt4, 509. But in my pc, DDe server not function. I try all, install, re install, change framework, but nothing. The original mt4 function perfect, but this mb version, I have problem. MetaQuotes says that no have problem and that are in my pc. The last test that I can do, is format my pc and install only mb metatrader.

sds

Reason: