- Works on the strategy tester but not on live trading
- ea have no errors trade on live but can not backtest on strategy tester help
- trade at time
How can you expect any help when you don't show any code.
Are we expected to guess?
Do you get any error reports in the log?
How can you expect any help when you don't show any code.
Are we expected to guess?
Do you get any error reports in the log?
this is all on expert tab
2020.09.10 19:02:22.082 MultiPairsEA (24) EURUSD,M1 inputs: inMode=999; inShift=1; inSpread=100; inSlip=30; inLot=0.1; inSTradePair=1; inMTrade=50; inReverse=1; inMAFilter=0; inMaFilterV0=14; inMaFilterV1=1; inMaFilterV2=0; inMaFilterV3=0; inRSIFilter=0; inRSIFilterV0=14; inRSIFilterV1=0; inRSIFilterV2=70; inRSIFilterV3=30; inADXFilter=0; inADXFilterV0=14; inADXFilterV2=20; inADXFilterV1=0; inMarketSymbol=0; inCustSymbol=USDJPY,GBPUSD,USDCHF,EURGBP,EURJPY,GBPCHF,GBPJPY,USDCAD,EURCHF,CHFJPY,CADCHF,CADJPY,EURCAD,GBPCAD,AUDUSD,NZDUS
2020.09.10 19:02:22.061 MultiPairsEA (24) EURUSD,M1: initialized
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ArraySort function does not process string arrays
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 26, subs: 27 | USDJPY & USDJPY
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 25, subs: 27 | USDCHF & USDCHF
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 24, subs: 27 | USDCAD & USDCAD
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 23, subs: 27 | NZDUSD & NZDUSD
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 22, subs: 27 | NZDJPY & NZDJPY
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 21, subs: 27 | NZDCHF & NZDCHF
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 20, subs: 27 | GBPUSD & GBPUSD
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 19, subs: 27 | GBPNZD & GBPNZD
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 18, subs: 27 | GBPJPY & GBPJPY
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 17, subs: 27 | GBPCHF & GBPCHF
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 16, subs: 27 | GBPCAD & GBPCAD
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 15, subs: 27 | GBPAUD & GBPAUD
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 14, subs: 27 | EURUSD & EURUSD
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 13, subs: 27 | EURNZD & EURNZD
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 12, subs: 27 | EURJPY & EURJPY
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 11, subs: 27 | EURGBP & EURGBP
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 10, subs: 27 | EURCHF & EURCHF
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 9, subs: 27 | EURCAD & EURCAD
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 8, subs: 27 | EURAUD & EURAUD
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 7, subs: 27 | CHFJPY & CHFJPY
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 6, subs: 27 | CADJPY & CADJPY
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 5, subs: 27 | CADCHF & CADCHF
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 4, subs: 27 | AUDUSD & AUDUSD
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 3, subs: 27 | AUDNZD & AUDNZD
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 2, subs: 27 | AUDJPY & AUDJPY
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 1, subs: 27 | AUDCHF & AUDCHF
2020.09.10 19:02:22.058 MultiPairsEA (24) EURUSD,M1: ctr: 0, subs: 27 | AUDCAD & AUDCAD
2020.09.10 19:02:22.056 MultiPairsEA (24) EURUSD,M1: uninit reason 5
How can you expect any help when you don't show any code.
Are we expected to guess?
Do you get any error reports in the log?
thx for reply
1. Are you using MT4 or MT5?
2. How many tickets did it create in M5 in your account (with out the Strategy Tester)?
3. On which symbols did it create tickets in your account in period M5? if possible, how many on each?
4. For the symbol where most tickets were created, what is the size of the lot, and what is the date-time of first and last ticket?
5. Are you trying in a demo account (or real)?
6. Please, run again, the EA on the strategy tester with the same currency of your account, and same initial balance as your account?
Aim of the latter is to check if it creates the same tickets as those you see online. I hope at this point you have a match, or at least very close to what you found in your broker with that symbol, those dates, that particular timeframe M5. If that is the case I would suggest a few tests with another symbol or another timeframe in order to compare what is in the strategy tester log after or instead the "uninit reason 5" and what are the parameters you have for the EA. But those tests would be after assessing the initial answer from the above questions, please.
I think I could suggest further tests comparing results and logs between the EA and the results in your broker by picking up for instance period M1 or M15. The reason is because I won't be able to troubleshoot "REASON CODE 5" without the source code, hence the only thing I am able to assist is guiding a few more tests to guess what would the EA need you to perform differently in your broker to obtain the same results the EA shows in the strategy tester.
Sorry for asking a burden of questions, it's just difficult without the source code :-)
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use