2024.07.29 02:26:16.839 MetaTester 5 started on 127.0.0.1:3000 2024.07.29 02:26:16.846…
- User
2024.07.29 02:26:16.839 MetaTester 5 started on 127.0.0.1:3000 2024.07.29 02:26:16.846 cloud network mode is off 2024.07.29 02:26:16.846 initialization finished 2024.07.29 02:26:16.955 login (build 4424) 2024.07.29 02:26:17.132 11604 bytes of account info loaded 2024.07.29 02:26:17.132 1478 bytes of tester parameters loaded 2024.07.29 02:26:17.132 2756 bytes of input parameters loaded 2024.07.29 02:26:17.133 1280 bytes of symbols list loaded (172 symbols) 2024.07.29 02:26:17.133 expert file added: Experts\Wende_Testando_01.ex5. 10271 bytes loaded 2024.07.29 02:26:17.170 calculate profit in pips, initial deposit 10000, leverage 1:100 2024.07.29 02:26:17.173 successfully initialized 2024.07.29 02:26:17.173 12 Kb of total initialization data received 2024.07.29 02:26:17.173 AMD FX-6300 Six-Core, 4095 MB 2024.07.29 02:26:17.203 EURUSD: symbol to be synchronized 2024.07.29 02:26:17.204 EURUSD: symbol synchronized, 3880 bytes of symbol info received 2024.07.29 02:26:17.204 EURUSD: history synchronization started 2024.07.29 02:26:17.220 EURUSD: load 27 bytes of history data to synchronize in 0:00:00.007 2024.07.29 02:26:17.220 EURUSD: history synchronized from 1971.01.04 to 2024.07.26 2024.07.29 02:26:17.350 EURUSD,H1: history cache allocated for 9824 bars and contains 6207 bars from 2023.01.02 09:00 to 2023.12.29 23:00 2024.07.29 02:26:17.350 EURUSD,H1: history begins from 2023.01.02 09:00 2024.07.29 02:26:17.351 EURUSD,H1 (XMGlobal-MT5 6): every tick generating 2024.07.29 02:26:17.351 EURUSD,H1: testing of Experts\Wende_Testando_01.ex5 from 2024.01.01 00:00 to 2024.07.28 00:00 started with inputs: 2024.07.29 02:26:17.351 sma_length=20 2024.07.29 02:26:17.351 sma_offset=1.3 2024.07.29 02:26:17.351 ema_length=9 2024.07.29 02:26:17.351 sma200_length=200 2024.07.29 02:26:17.351 MAGIC_NUMBER=123456 2024.07.29 02:26:17.375 2024.01.01 00:00:00 Erro ao copiar buffer da SMA: 4806 2024.07.29 02:26:17.375 2024.01.01 00:00:00 Erro ao copiar os buffers de indicadores. 2024.07.29 02:26:17.375 tester stopped because OnInit returns non-zero code 1 2024.07.29 02:26:17.375 log file "C:\Users\Wendel\AppData\Roaming\MetaQuotes\Tester\BB16F565FAAA6B23A20C26C49416FF05\Agent-127.0.0.1-3000\logs\20240729.log" written 2024.07.29 02:26:17.376 test Experts\Wende_Testando_01.ex5 on EURUSD,H1 thread finished 2024.07.29 02:26:17.386 prepare for shutdown 2024.07.29 02:26:17.386 shutdown finished
//+------------------------------------------------------------------+ //| MyRobot.mq5| //| Copyright 2024, MetaQuotes Software Corp. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property strict
input int sma_length = 20; // Comprimento da SMA input double sma_offset = 1.3; // Deslocamento da SMA input int ema_length = 9; // Comprimento da EMA input int sma200_length = 200; // Comprimento da SMA 200
- Assistant
- User
me entregue o codigo completo e corrigido
- Assistant