How do I make the EA in MQL4 for multi currency

 

Hello... Could someone here help me.

How do I make the EA in MQL4 for multi currency. Or could someone show the link to make EA in mql4 for multi currency? Thank you.

 
acday:

Hello... Could someone here help me.

How do I make the EA in MQL4 for multi currency. Or could someone show the link to make EA in mql4 for multi currency? Thank you.

Hi acday,

Use MarketInfo (https://docs.mql4.com/common/MarketInfo) is good for start.

:D

 
onewithzachy:

Hi acday,

Use MarketInfo (https://docs.mql4.com/common/MarketInfo) is good for start.

:D

Thank you onewithzachy for your respond. I need example of multi currency EA to made as template.
 
Why do you need multicurrency. Put the EA on multiple charts.
 
WHRoeder:
Why do you need multicurrency. Put the EA on multiple charts.

Because it saves resource and more simple, so I don't need to open all of chart and attach EA one by one.
 
acday:

Because it saves resource and more simple, so I don't need to open all of chart and attach EA one by one.
Ah, ... if that the purpose, you may well use template and read this topics https://www.mql5.com/en/forum/139395
 
It's not saving any resource. When you ask for market info or bars for another chart it has to load history. Exactly the same as if you opened the chart.
 
onewithzachy:
Ah, ... if that the purpose, you may well use template and read this topics https://www.mql5.com/en/forum/139395

I can't find such template in that link. Where can I find it? Or please attach here. Thank you.
 
acday:

I can't find such template in that link. Where can I find it? Or please attach here. Thank you.

No, I was talking about MT4 template - not MQL4 template. Open a chart, set whatever you like with that chart (color, candle or bar, tf, indicators, etc, etc) and attach your EA and save it as MT template (MT > Chart menu > Template > Save As Template ...) and name it default. Every time you open a new chart, all those settings, indicators and that EA will be loaded, so you don't have to open a chart and load EA over and over, but just open a chart.

:D

 
acday:

I can't find such template in that link. Where can I find it? Or please attach here. Thank you.

To be clear, by "template" you mean code examples ?

Have you looked through the CodeBase EAs ?

 
RaptorUK:

To be clear, by "template" you mean code examples ?

Have you looked through the CodeBase EAs ?


Yes, I mean code example base on multi currency