Doesn't it bother you that SL, TP and price are the same!
I'm just starting to learn MQL5. I wrote this EA at the same time when I was reading the article and I think the author of the article
It looks like the author of the article made a mistake in the code! I downloaded the code of the author of the article and after running it in the tester, it got absolutely the same result!
Here is a link to the article if you are interested!
Эта статья предназначена для начинающих, для тех, кто хочет научиться написанию простых советников на новом языке MQL5. Сначала мы определимся с тем, что требуется от нашего советника, а затем приступим к написанию того, каким образом он будет это делать. 1. Торговая стратегия Он будет следить за некоторыми индикаторами и при определенном...
Good afternoon, gentlemen. The following problem has arisen. The visualizer in the tester duplicates the indicator windows. Specifically, I have an Expert Advisor that works with 3 indicators, one of which is a moving window. The other 2 indicators are displayed in separate panels. The problem is that in the visualizer and therefore in debugging these panels are doubled. During the test without visualization everything goes smoothly. Nuances. The test runs on a custom symbol (imported quotes, no formula). When testing with visualization/debugging on one of the indices at a certain point an error zero divide appears, while testing without visualization or simply overlaying the indicator on the same chart, this problem does not occur, especially as it is handled. Who knows, would be grateful for help
I don't know such brokers on mt5. Maybe it would be better to test on real ticks?
I just know that testing in mt5 is incomparably better than mt4, so I wanted to test the robot in mt5, but it needs a very small spread, I don't know such brokers on mt5
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.
Doesn't it bother you that SL, TP and price are the same!
I'm just starting to learn MQL5. I wrote this EA at the same time when I was reading the article and I think the author of the article
It looks like the author of the article made a mistake in the code! I downloaded the code of the author of the article and after running it in the tester, it got absolutely the same result!
Here is a link to the article if you are interested!
https://www.mql5.com/ru/articles/100
Let me ask you one more time.
Over here.
Can I slip in something of my own? Say open/2
Can you tell me how to set the spread for testing in mt5?
Can you tell me how to set the spread for testing in mt5?
I can't. Would it be better to test on real ticks?
I don't know such brokers on mt5. Maybe it would be better to test on real ticks?
I just know that testing in mt5 is incomparably better than mt4, so I wanted to test the robot in mt5, but it needs a very small spread, I don't know such brokers on mt5
Greetings!
I am creating an input field, I am writing "double" in the input parameters
As a result, if I enter an integer number in mt4, it will be displayed:
I get a fractional number in mt5:
If I enter a fractional number, there will be no problem - everything works in feng shui :)
Question: How do I get a display in mt5 as an integer?
Greetings!
I am creating an input field, I am writing "double" in the input parameters
As a result, if I enter an integer number in mt4, it will be displayed:
I get a fractional number in mt5:
If I enter a fractional number, there will be no problem - everything works in feng shui :)
Question: how do I get a mapping in mt5 as an integer?
DoubleToString(TralingStop,0);
DoubleToString
Converts a numeric value to a text string.
DoubleToString(TralingStop,0);
DoubleToString
Converts a numeric value to a text string.
Then I don't get a fractional number.
I guess I need something like that: