You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to implement a method to unset SL but i receive back order_error "1" / order_return_message "Error in modify").
This is what i'm doing: success = MT.Set_sl_and_tp_for_position( ticket = ticket ,stoploss = 0 ,takeprofit = position['take_profit'] ) where position['take_profit'] is the actual take profit already set on the position.
Testing with stoploss values grater than actual entry (position is a sell), succeeds
The text was updated successfully, but these errors were encountered:
I'm trying to implement a method to unset SL but i receive back
order_error
"1" /order_return_message
"Error in modify").This is what i'm doing:
success = MT.Set_sl_and_tp_for_position( ticket = ticket ,stoploss = 0 ,takeprofit = position['take_profit'] )
whereposition['take_profit']
is the actual take profit already set on the position.Testing with
stoploss
values grater than actual entry (position is a sell), succeedsThe text was updated successfully, but these errors were encountered: