Forum

When trying to change the SL or TP from a position using TRADE_ACTION_SLTP in python I ger NoneType as result

Hi everybody, I am new programming EA in python and I think that one of the most important procedures is to be able to change SL and TP from an open position. I have opened positions with no problems, but once I try to change the SL or TP I get NoneType as a result. This is the code I use in order