Creating a button that closes all trades

 

Hello

As I haven't worked with creating clickable objects on a chart yet.

Can someone give me a code that

- Creates a button that closes all active trades once clicked

- Creates an text box that takes number input and a submit button that reads the number into the EA.

It will help me get a move on.

Thank you

 
https://www.mql5.com/en/forum/91432/page2#comment_2670327
!!! Helping for free by coding of simple mql4(5) task.
!!! Helping for free by coding of simple mql4(5) task.
  • www.mql5.com
You can write tasks here. Screenshots with examples of what do you want are obligated...
 

As I understand that you are still a new programmer. If so, I advise you to skip such request because it is advanced step.

You could feel upset if you don't or can't understand it.

Reason: