I have a question on this custom code for the buttons in the tester which sets the state after it's pressed.
I've used it in the MT4 version of an EA I'm building and it works perfectly.
Just converted my creation to MT5 and I get a compile error on all these blocks on the buttons.
What would be the MT5 version of this code?
ObjectSet(LoadedObjectName(),OBJPROP_STATE,0);