Close panel – EA MetaTrader 5

A panel based on classΒ CDialog works for all symbols and magic numbers.Β It has three buttons based on classΒ CButton

  • “Close all” – closing all positions
  • “Close loss more … ” – closing losing positions only, moreover, only those having the loss exceeding the Loss parameter
  • “Close profit more … ” -closing profitable positions only, moreover, only those having the profit exceeding the Profit parameter
All trades are performed within one run: If an error occurs during closing, then this error will not be processed in any way.



https://www.mql5.com/ru/code/23450

πŸ“ˆ ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks