@cptjaw said in Custom Code Conversion MT4 to MT5:
did you figure out a solution to this yet? I'm having the same problem.
Nevermind use this code instead: ObjectSetInteger(0, "sell", OBJPROP_STATE, 0);
Change sell to the name of your button. keep quotation.
