[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 394
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Print the values pr, stop and take to see what they send to OrderModify
Printed it out, thanks, in different variations, indeed the values sometimes coincide. It's a coincidence as I understand it. The values of modify coincided with the values I set them to originally. But in general, the terminal compares values and if they coincide, it does not modify orders and outputs error 1.
Before comparing fractional numbers, they need to be normalised.
Thank you, I will definitely normalise them later, after a coarse test, so as not to make the work heavier. Or is it better to normalize them right away? The modification parameters there just happened to coincide with the values I was setting them to. That's why the terminal didn't skip such modification.
Hi) can you tell me if it is possible to use mql4 to send e.g. the current price to your personal website?
Yes, supposedly. https://docs.mql4.com/ru/common/SendFTP
https://www.mql5.com/ru/forum/108621
In theory, yes. https://docs.mql4.com/ru/common/SendFTP
https://www.mql5.com/ru/forum/108621
Thank you))
Thank you, I will definitely normalise later, after a rough test, so as not to weigh down the job. Or is it better to normalise them right away? The modification parameters there just happened to coincide with the values I set them to. That's why the terminal didn't skip such modification.
And what, your religion doesn't allow you to fix all errors first and only after that start testing?
Doesn't your religion allow you to fix all the bugs first and only then start testing?
"Doesn't religion allow you to guess first" that some errors are shown in the "Logbook" of the terminal, during testing? No programmer can brag that his "log" did not pop up errors, so do not talk nonsense.
Is there a function that returns the time value of the last time a given quote was given? If not, what standard functions can be used to write a custom function for an appropriate purpose?
https://docs.mql4.com/ru/objects/ObjectGetShiftByValue
or like this:
I've got it, thanks, in different variations, the values do match up. It's my understanding that it's an accident. The values of the modification coincided with the values I had originally set them to. But in general, the terminal compares values and if they are the same, the order is not modified and error 1 is output.