why error 130 all the time

 
Symbol EURUSD
MarketInfo(Symbol(),MODE_STOPLEVEL) 20
OrderType: OP_SELL
OrderOpenPrice: 1.13667
Bid: 1.1347
NewStoplossPrice: 1.13473



-------------------------------------------------------------------------------

this is my ordermodify parament!

Stoploss price appropriate  mini  MODE_STOPLEVEL,why error 130 all the time!

 
Stop level is 20 points and you are trying to place a SL at 3 points.
 
Keith Watford #:
Stop level is 20 points and you are trying to place a SL at 3 points.

(1.13667-1.13473)*100000=194

i have place SL194 point

 
ah2005 #:

(1.13667-1.13473)*100000=194

i have place SL194 point

For your new stoploss, it would be in reference to the current price, not your entry, hence the 3 points.
 
Thank-god Avwerosuoghene Odukudu #:
For your new stoploss, it would be in reference to the current price, not your entry, hence the 3 points.

I don't want set current price, i want set SL at last bar highestPrice!

 
ah2005 #: I don't want set current price, i want set SL at last bar highestPrice!

 We can't see your broken code.

Reason: