Run or Attach automatic a Script after call ChartOpen() in Mql5

 

I load many symbols and send quotes and indicator data to database, but I need when I call ChartOpen() command automatic run a script or I need read MqlRates from another window with chartId.

There are someway to do It ?

 
neither are necessary
Do not trade multiple currencies in one EA