deselect buttons
-
is there any standard way to return a button back to de-pressed form after is been pressed?
currently i am doing this :
i am using ontick section to draw button , and in onchart section i check if the mouse is clicked on the the button and if it is , then it performs the buy and right after the buy block i am using 2 blocks , one block deletes the button and second one redraw the button -
-

if i use this custom MQL code block shown in the above screenshot , instead of block 83 and 84 shown in the below screenshot , it should work , right ?
one more thing if i add the draw button block in "on int" tab and use this custom mql block in on chart tab then it should still work right ?