1) In MT5, in the visual testing mode of the Expert Advisor, all the indicators that are calculated through iCustom in the Expert Advisor code are applied to the chart themselves. How can it be disabled/adjusted?
2) I have a single test run in the tester with "visual mode with displaying of charts, indicators and trade" ticked, and then I have the same test run with the ticked off (without visualization). In the first case, the balance chart is drawn quite normally, while in the second case it is just a straight line in some cells. What can this be related to?
1) In MT5, in the visual testing mode of the Expert Advisor, all the indicators that are calculated through iCustom in the Expert Advisor code are applied to the chart themselves. Can this be disabled/adjusted in some way?
Задает режим показа/сокрытия индикаторов, которые используются в эксперте. Функция предназначена для управления видимостью используемых индикаторов только при тестировании. По умолчанию на графике визуального тестирования показываются все индикаторы, которые создаются в тестируемом эксперте. Также эти индикаторы показываются на графике...
How to distinguish between the events of deleting a graphical object and renaming a graphical object. In both cases a deletion event is generated. How do I distinguish one from the other?
leonerd: How to distinguish between the events of deleting a graphical object and renaming a graphical object. The deletion event is generated in both cases. How do you distinguish one from the other?
You can't. Renaming is, deleting and creating a new one. So try to catch the creation after deletion.
First of all, you'd better use a do while loop in that case.
Secondly, in my opinion, it's safer to get a number greater than 6 digits in exponentiation than in multiplication. But in this case it is possible to get INF. But you can limit the value of the power... In my example, the power is no more than 16.
First of all, it's better to use a do while loop in that case.
Secondly, in my opinion, it's safer to get a number greater than 6 digits when it's raised to a power than when it's multiplied. But in this case it is possible to get INF. But you can limit the value of the power... In my example, the power is no more than 16.
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.
Afternoon.
A couple of questions on the tester in MT5:
1) In MT5, in the visual testing mode of the Expert Advisor, all the indicators that are calculated through iCustom in the Expert Advisor code are applied to the chart themselves. How can it be disabled/adjusted?
2) I have a single test run in the tester with "visual mode with displaying of charts, indicators and trade" ticked, and then I have the same test run with the ticked off (without visualization). In the first case, the balance chart is drawn quite normally, while in the second case it is just a straight line in some cells. What can this be related to?
Afternoon.
A couple of questions on the tester in MT5:
1) In MT5, in the visual testing mode of the Expert Advisor, all the indicators that are calculated through iCustom in the Expert Advisor code are applied to the chart themselves. Can this be disabled/adjusted in some way?
1.TesterHideIndicators().
How to distinguish between the events of deleting a graphical object and renaming a graphical object. The deletion event is generated in both cases. How do you distinguish one from the other?
You can't. Renaming is, deleting and creating a new one. So try to catch the creation after deletion.
Can you tell me what to write to get random 6-digit numbers?
Can you tell me what to write to get random 6-digit numbers?
I found this solution
Found this solution
Vitaly, this is not the best solution.
First of all, you'd better use a do while loop in that case.
Secondly, in my opinion, it's safer to get a number greater than 6 digits in exponentiation than in multiplication. But in this case it is possible to get INF. But you can limit the value of the power... In my example, the power is no more than 16.
And take the remainder of the division and get a six-digit number.
Vitaly, this is not the best option.
First of all, it's better to use a do while loop in that case.
Secondly, in my opinion, it's safer to get a number greater than 6 digits when it's raised to a power than when it's multiplied. But in this case it is possible to get INF. But you can limit the value of the power... In my example, the power is no more than 16.
And take the remainder of the division getting a six digit number.
Thanks, replaced the part in the code.
Thank you, replaced part of it in the code.
And what was the result? I don't claim to be infallible...)))