OrderModify gives error 1 even checking the TP values before - page 2

 
William Roeder:

Doubles are rarely equal. Understand the links in:
          The == operand. - MQL4 programming forum

And for the third time: What part of "check that you are moving the existing value at least a tick" was unclear?

Thank you for pointing me to the right direction, as cryptic as usual. I read the complete thread and found one enlightening  old post from you  

Can price != price ?
Can price != price ?
  • 2013.12.21
  • www.mql5.com
I'm trying to understand something strange that I am seeing so I can better code round it in the future...
 
Mohammad Hossein Sadeghi:

Yes, different.

Thanks. Now I understand why

Reason: