Hello I designed a robot and I have trouble running it on several pairs at a time ...
can you help me ?
- Enable my signal
- licence of ea
- help with multiple trades
Loua Manga Arnaud:
Hello I designed a robot and I have trouble running it on several pairs at a time ...
can you help me ?
it can trade symbols given by input. (you can set an input string, entering each symbol you want to the EA to trade on, comma separated or so...)
then extract each symbol name from that string. and ideally store each symbol name in a string array. (as you don't know how many pairs are demanded by input.)
input string PAIRS = "EURUSD,USDJPY,AUDUSD"; // Pairs to trade :
or you can code the EA to work on all pairs in MarketWatch, or reasonably, filter the ones needed. (e.g. any pair containing CHF , and/or pair containing JPY , any pair with zero swap, etc.)
or other ways i'm not aware of.
If I was to use one, i'd use input method.
Hello please see: https://www.mql5.com/en/forum/61041
How to run an ea on many symbols by attaching it to one chart ?
- 2015.07.04
- www.mql5.com
Dear all, I need help to code an ea that checks the same conditions to open and close trades on as many symbols as it can from the symbols that the...
Loua Manga Arnaud: I designed a robot and I have trouble running it on several pairs at a time ... can you help me ?
- "Doesn't work" is meaningless - just like saying the car doesn't work. Doesn't
start, won't go in gear, no electrical, missing the key, flat tires -
meaningless.
We can't see your broken code.
There are no mind readers here and our crystal balls are cracked.
- Help you with what?
Show us your attempt
(using CODE button) and state
the nature of your problem.
No free help
urgent help. -
I recommend:
Do not trade multiple currencies in one EA.
- You can't use any {MT4: predefined variables, MT5: predefined variables,}
- MT4: can't use the tester.
-
must poll (not OnTick, unless you use specific indicators)
The Implementation of a Multi-currency Mode in MetaTrader 5 - MQL5 Articles - and usually other problems, e.g. A problem with iBarShift - MQL4 and MetaTrader 4 - MQL4 programming forum - Page 2
- You must handle History {MT4:4066/4073 errors: Download history in MQL4 EA - MQL4 and MetaTrader 4 - MQL4 programming forum , MT5: Timeseries and Indicators Access / Data Access - Reference on algorithmic/automated trading language for MetaTrader 5.}
- Code it to trade the chart pair only. Look at the others if you must. Don't assume that Time[i] == iTime(otherPair, TF, i) always use iBarShift (or MT5 equivalent.)
- Then put it on other charts to trade the other pairs. Done.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register