This problem has been identified many times in the past. You can find many threads dedicated to it through the search tool in this same forum. There is not a single answer to it, as you will see.
Best posts made by l'andorrà
-
RE: Cent Account Lot Size Problemposted in Questions & Answers
-
RE: How can a file be created on back testing?posted in Questions & Answers
Thank you for your help. However, no file was created. In effect I didn't find the 'files' folder either. Is that folder supposed to be created at the same time that the file?
-
How can a file be created on back testing?posted in Questions & Answers
I need to collect some information about price results when back testing. However, the yellow block 'write to file' creates nothing on back testing. Is that a bug or am I missing something?
-
RE: Only one trade at a time on high volatility currency pair (No Trade not working)posted in Questions & Answers
Yes, it's possible, but I guess you are requesting for that to happen o any of those 4 symbols, right? I mean, are those 2 simultaneous trades to be open on 2 specific symbols or on any of them at random?
-
RE: How can a file be created on back testing?posted in Questions & Answers
I confirm I looked for the file on MQL5/Files folder and no file was created after the back test. I tried on different MT5 platforms and the result is always the same.
-
RE: How can a file be created on back testing?posted in Questions & Answers
@l-andorrà I was wrong. I finally found the file!! However, no valid information is stored there, apparently. This is what I get in the log file:
CS 0 15:57:24.555 Startup MetaTester 5 build 5640, 20 Feb 2026
CS 0 15:57:24.555 Startup Windows 11 build 26200, 12 x AMD Ryzen 5 5500, AVX2, 10 / 15 Gb memory, 252 / 393 Gb disk, UAC, GMT+1
CS 0 15:57:24.557 Server MetaTester 5 started on 127.0.0.1:3000
CS 0 15:57:24.560 Startup cloud network mode is off
CS 0 15:57:24.560 Startup initialization finished
CS 0 15:57:24.665 127.0.0.1 login (build 5640)
CS 0 15:57:24.778 Network 46844 bytes of account info loaded
CS 0 15:57:24.778 Network 1478 bytes of tester parameters loaded
CS 0 15:57:24.778 Network 708 bytes of input parameters loaded
CS 0 15:57:24.782 Network 13009 bytes of symbols list loaded (2517 symbols)
CS 0 15:57:24.782 Tester expert file added: Experts\Advisors\Write.ex5. 65078 bytes loaded
CS 0 15:57:24.797 Tester 10668 Mb available, 132 blocks set for ticks generating
CS 0 15:57:24.797 Tester initial deposit 100000.00 EUR, leverage 1:30
CS 0 15:57:24.798 Tester successfully initialized
CS 0 15:57:24.798 Network 79 Kb of total initialization data received
CS 0 15:57:24.798 Tester AMD Ryzen 5 5500, 16273 MB
CS 0 15:57:24.824 Symbols EURUSD: symbol to be synchronized
CS 0 15:57:24.824 Symbols EURUSD: symbol synchronized, 3720 bytes of symbol info received
CS 0 15:57:24.828 History EURUSD: history synchronization started
CS 0 15:57:24.846 History EURUSD: load 93 Kb of history data to synchronize in 0:00:00.014
CS 0 15:57:24.846 History EURUSD: history synchronized from 2024.01.02 to 2026.02.23
CS 0 15:57:24.846 Ticks EURUSD: ticks synchronization started
CS 0 15:57:24.850 Ticks EURUSD: load 277 Kb of tick data to synchronize in 0:00:00.000
CS 0 15:57:24.850 Ticks EURUSD: history ticks synchronized from 2026.01.26 to 2026.02.23
CS 0 15:57:24.873 History EURUSD,H1: history cache allocated for 7126 bars and contains 7074 bars from 2025.01.02 00:00 to 2026.02.20 23:00
CS 0 15:57:24.873 History EURUSD,H1: history begins from 2025.01.02 00:00
CS 0 15:57:24.877 Tester EURUSD,H1 (AdmiralsGroup-Demo): generating based on real ticks
CS 0 15:57:24.877 Tester testing with execution delay 50 milliseconds
CS 0 15:57:24.877 Tester EURUSD,H1: testing of Experts\Advisors\Write.ex5 from 2026.02.23 00:00 to 2026.02.24 00:00 started with inputs:
CS 0 15:57:24.877 Tester MagicStart=7324
CS 0 15:57:24.901 Ticks EURUSD : real ticks begin from 2026.01.26 00:00:00
CS 0 15:57:33.524 Tester final balance 100000.00 EUR
CS 0 15:57:33.524 Write (EURUSD,H1) 2026.02.23 23:58:58 Backtested in 8.63 seconds
CS 0 15:57:33.524 Write (EURUSD,H1) 2026.02.23 23:58:58 Average ticks per second: 7
CS 0 15:57:33.524 Write (EURUSD,H1) 2026.02.23 23:58:58 Expert Advisor self terminated
CS 0 15:57:33.529 Tester EURUSD,H1: 63834 ticks, 24 bars generated. Environment synchronized in 0:00:00.063. Test passed in 0:00:08.692 (including ticks preprocessing 0:00:00.015).
CS 0 15:57:33.529 Tester EURUSD,H1: total time from login to stop testing 0:00:08.755 (including 0:00:00.063 for history data synchronization)
CS 0 15:57:33.530 Tester 63 Mb memory used including 0.47 Mb of history data, 64 Mb of tick data
CS 0 15:57:33.530 Tester log file "C:\Users\Cleric\AppData\Roaming\MetaQuotes\Tester\24F345EB9F291441AFE537834F9D8A19\Agent-127.0.0.1-3000\logs\20260224.log" written
CS 0 15:57:33.530 Tester test Experts\Advisors\Write.ex5 on EURUSD,H1 thread finished
CS 0 15:57:33.537 127.0.0.1 prepare for shutdown
CS 0 15:57:33.537 127.0.0.1 shutdown finished
CS 3 15:57:36.561 Tester close visual tester window
CS 0 15:57:36.617 Server MetaTester 5 stopped -
RE: How can a file be created on back testing?posted in Questions & Answers
It worked!!! Apparently the problem was somewhere within jstap's code. I have no idea what exactly. This one works perfectly fine. Thank you very much, my friend!

-
RE: MultiCurrency Buy/Sell - "OR" blockposted in Questions & Answers
@sktsec Considering you are duplicating so many blocks to do exactly the same on different symbols at teh same time, you can also create one only block tree with this block on top:

This block will make all blocks connected below it to work on those symbols.
-
RE: MultiCurrency Buy/Sell - "OR" blockposted in Questions & Answers
@pipsondeck If all involved symbols are correctly selected on the MT5 platform's Market watch, yes. It will.
-
RE: Been fighting to get this alerts to trigger for 2 days. tried everythig it makes no senseposted in Questions & Answers
You selected 'Yes' at the absolute distance box. You need to select No instead and then use the correct order in the distance slots on top.
-
RE: MultiCurrency Buy/Sell - "OR" blockposted in Questions & Answers
Correct. All blocks connected below it will do all the calculations on all the selected symbols selected in the block.
-
RE: I need A tutor i keep hiting a wall with Fx dremaposted in Questions & Answers
There several option on the market to choose from. One of them in available through my signature, for example.

-
RE: I am working with a specific FVG model.Can someone help me code this logic first as an indicator, and later convert it into an Expert Advisor?posted in Questions & Answers
What you want can be done at the open of candle 4, ie the open price of the first candle AFTER this configuration is confirmed in the previous 3 candles. Would that fit your requirements?
-
RE: Martingala without close in Stopposted in Questions & Answers
Hay que hacer algunos cambios. En primer lugar, deber añadir un bloque rosa llamado 'once per position' justo debajo del actual 'pips away from open price'.
Luego debes reordenar el orden de ejecución de las estructuras actuales (sólo los bloques en cabeza). El bloque verde 'time filter' debe ser el número 1. Luego el rosa 'for each position' debe ser el 2. Después el 'modify variables' debe ser el 3. Los otros dos azules 'check profit' se pueden quedar como están.
-
RE: counting barsposted in Questions & Answers
You need to use variables to do that. There is no specific block doing it, if that is your question. Are you familiar with variables?
-
RE: BUG inside Trailing Pending Orders MT5posted in Questions & Answers
You need to use positive and negative values for the offset distance if you are having stop and limit pending orders at the same time. You will need two separate blocks to do it correctly. One for pending orders above current price (positive offset value) and another one for those below (negative offset value.
-
RE: Why won't my Builder pan, in both Edge and Chrome?posted in Questions & Answers
Never heard of that issue. Are you using phone browser instead of laptop version, maybe?
-
RE: highest and lowest price between two time stampsposted in Questions & Answers
Do you mean using UNIX time? There is no fxdreema blocks doing that directly. You will need a custom loop to do that, but IMHO using an indicator would make it easier, in general.