Solution to the problem of automatic change of custom symbol currencies after a Terminal restart.
Isn't it necessary to check and wait for the terminal to connect to the server? I remember there were cases that without connection the deposit currency is unknown.
Why make a return at the end, where it happens by itself? It makes no sense and is not comical.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Solution to the problem of automatic change of custom symbol currencies after a Terminal restart.
Can you tell me, when testing a custom symbol, is the tick price for it simulated or not?
Should simulate. It's quicker to check.
Can anyone say anything about the problem I raised?
Have you checked on build 2145?
Tick price is not simulated in the tester on the custom symbol.
MT5 build 2145.
I create custom GBPCAD_s, all fields are inherited from GBPCAD:
I load custom minute history into it.
Then I backtest on 100 000 USD deposit and open prices.
A simple Expert Advisor interrogates the price of a tick and opens one position:
The tick price does not change at all and does not match the USDCAD rate at that time.
GBPUSD and USDCAD history is loaded only after the position is opened, but the tick price is not affected.
In the screenshot, the tick price corresponds to USDCAD = 1.3300, while it should be = 1.0230:
Tick price is not simulated in the tester on the custom symbol.
MT5 build 2145.
I create custom GBPCAD_s, all fields are inherited from GBPCAD:
I load custom minute history into it.
Then I backtest on 100 000 USD deposit and open prices.
A simple Expert Advisor interrogates the price of a tick and opens one position:
The tick price does not change at all and does not match the USDCAD rate at that time.
GBPUSD and USDCAD history is loaded only after the position is opened, but the tick price is not affected.
In the screenshot, the tick price corresponds to USDCAD = 1.3300, while it should be = 1.0230:
It's most likely a matter of downloading the history of the minutes, not the ticks.
Load the ticks!
Solution to the problem of automatic change of custom symbol currencies after a Terminal restart.
Isn't it necessary to check and wait for the terminal to connect to the server? I remember there were cases that without connection the deposit currency is unknown.
Why make a return at the end, where it happens by itself? It makes no sense and is not comical.