Add a button on the chart

 

Hi,

how can I add a button on the chart, so when somebody is clicking on it, all open positions would be closed.

Can I do that in my ea or do I need an indicator for that?

 
 
And here
Reason: