close all trade button not working
-
i created an ea that has an close all trade button but it is not working at all is there any way to help
-
Sure, just link your project here

-
@roar ok this my project https://fxdreema.com/shared/ph0NnY4uc
-
-
You need to draw your button just once, not on every tick or every chart event. Move the draw button to On Init.
-
When checking the mouse clicking, you are looking for a different name - "Button1" vs "button 1"
-
-
@roar so am to leave the close all trade and mouse click on chart right
-
@Stevemill yes
-
@roar still the same thing this time it is not showing anything on my chart
-
@Stevemill is it on your objects list?