open (expand the existing, minimized) chart

 

We have:

3 open, but minimized charts - EURUSD M1, EURGBP M15, GBPCHF H1

All three have an indicator that gives out a signal. For example, the crossing of two MA.

Need to:

If the signal on EURGBP M15 occured - open (expand the existing, minimized) chart window EURGBP M15.


The command ChartOpen (NULL, 0); opens a new (another, duplicate) EURGBP M15 Chart.

Thats not what i am looking for.


(MT4)


Thanks in advance!


 
Clim Fandeev:

We have:

3 open, but minimized charts - EURUSD M1, EURGBP M15, GBPCHF H1

All three have an indicator that gives out a signal. For example, the crossing of two MA.

Need to:

If the signal on EURGBP M15 occured - open (expand the existing, minimized) chart window EURGBP M15.


Try to switch to the chart by ChartSetInteger(chartID,CHART_BRING_TO_TOP,0,true)

 
Petr Nosek:

Try to switch to the chart by ChartSetInteger(chartID,CHART_BRING_TO_TOP,0,true)

Thank you very much!!! It works!