Not exactly, if you entered "input" in the input parameters, for example 15 or 15.0, then display just 15 in the input field, i.e. an integer. If you entered 12.3 in the input parameters, display 12.3 in the input field
Not exactly, if you entered "input" in the input parameters, for example 15 or 15.0, then display just 15 in the input field, i.e. an integer. If you entered 12.3 in the input parameters, display 12.3 in the input field.
Well then it's a matter of determining the number of decimal places of any number. There was a topic like this somewhere - it was discussed there.
Not exactly, if you entered "input" in the input parameters, for example 15 or 15.0, then display just 15 in the input field, i.e. an integer. If you entered 12.3 in the input parameters, then the input field should display 12.3.
Guys, can you explain this question, if there is optimization on remote agents and EA writes data to a file, then I understand that I won't get this data, because only my local agents are in the tester folder, and there are no remote ones... Or am I looking in the wrong place? if so, is there any way to implement the possibility of getting files from remote agents?
I think there was one, but I couldn't find it, so I posted it here (
That's how it's described in the documentation. In fmod you put divisor 1 and get fractional part of number or 0. You don't care how many decimal places are entered in field or input variable.
Функция MathMod рассчитывает вещественный остаток f от val / y таким образом, что val = i * y + f , где i является целым числом, f имеет тот же знак, что и val, и абсолютное значение f меньше, чем абсолютное значение y.
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.
Then I won't get a fractional number.
You probably need something like that:
typename(TralingStop)=="double" ? ...
typename(TralingStop)=="double" ?
Not exactly, if you entered "input" in the input parameters, for example 15 or 15.0, then display just 15 in the input field, i.e. an integer. If you entered 12.3 in the input parameters, display 12.3 in the input field
Not exactly, if you entered "input" in the input parameters, for example 15 or 15.0, then display just 15 in the input field, i.e. an integer. If you entered 12.3 in the input parameters, display 12.3 in the input field.
Well then it's a matter of determining the number of decimal places of any number. There was a topic like this somewhere - it was discussed there.
Well then it's about determining the number of decimal places of any number. There was a topic like this somewhere - it was discussed there.
I think there was one, but I couldn't find it, so I wrote it here (
Not exactly, if you entered "input" in the input parameters, for example 15 or 15.0, then display just 15 in the input field, i.e. an integer. If you entered 12.3 in the input parameters, then the input field should display 12.3.
Experiment with a script like this:
2019.08.06 22:40:44.668 tst1 (EURUSD,H1) inp1 = 15.000000 --> 15
2019.08.06 22:40:44.668 tst1 (EURUSD,H1) inp2 = 12.300000 --> 12.3
it seems the 7th decimal place will sometimes be wrong
It seems to have been, but I couldn't find it, so I wrote here (
experiment with a script like this:
2019.08.06 22:40:44.668 tst1 (EURUSD,H1) inp1 = 15.000000 --> 15
2019.08.06 22:40:44.668 tst1 (EURUSD,H1) inp2 = 12.300000 --> 12.3
I think the 7th decimal place will be wrong sometimes
Thank you all, I will try it!
Or am I looking in the wrong place?
if so, is there any way to implement the possibility of getting files from remote agents?
I think there was one, but I couldn't find it, so I posted it here (
That's how it's described in the documentation. In fmod you put divisor 1 and get fractional part of number or 0. You don't care how many decimal places are entered in field or input variable.