How do I minimize list of charts with scrypt for mql5?

 

There is few charts opened in terminal, for example: AUDCAD, DKKSEK, AUDJPY, EURZAR, USDCZK, USDCHF.

And there is array of target charts: DKKSEK, EURZAR, USDCHF.

How do I minimize all charts windows except chart windows of target charts?

 
//+----------------------------------------------------------------------+
//| Send command to the terminal to display the chart above all others.  |
//+----------------------------------------------------------------------+
bool ChartBringToTop(const long chart_ID=0)
  {
//--- reset the error value
   ResetLastError();
//--- show the chart on top of all others
   if(!ChartSetInteger(chart_ID,CHART_BRING_TO_TOP,0,true))
     {
      //--- display the error message in Experts journal
      Print(__FUNCTION__+", Error Code = ",GetLastError());
      return(false);
     }
//--- successful execution
   return(true);
  }
Reason: