OrderModify only TakeProfit

 
I got sometimes Takeprofit modify error 130, when takeprofit go to negativ area. that means, takeprofit move buy order under orderopenprice, sell order move to upper. Then I got the error. I saw many other EA do also same, but they works without error. Why is it?
 
You can't move stops (or pending prices) closer to the market than the minimum (MODE_STOPLEVEL * _Point.)
          Requirements and Limitations in Making Trades - Appendixes - MQL4&Tutorial
 
modify #1 sell 0.01 EURUSD at 1.05100 sl: 0.00000 tp: 1.05143 ok

I saw this log from other ea. Why is that possible?
The takeprofit is above the opened price.
If I set the takeprofit in ordersend upper than open price it would failed.
 
Yong Zheng:
modify #1 sell 0.01 EURUSD at 1.05100 sl: 0.00000 tp: 1.05143 ok

I saw this log from other ea. Why is that possible?
The takeprofit is above the opened price.
If I set the takeprofit in ordersend upper than open price it would failed.

The take profit may be above the opened price but is below the current price at the time.

Reason: