How to activate a given chart using its ID in MT5 using mql5 ?

 

Does anybody have any solution for activating a given chart using its ID in MT5 using mql5?

Suppose that we have 10 open charts in mt5 and we want to activate a given chart using its ID using an EA, what specific code can achieve that?

I searched in the forum but found no solution for mt5.

 
saeedcoder:

Does anybody have any solution for activating a given chart using its ID in MT5 using mql5?

Suppose that we have 10 open charts in mt5 and we want to activate a given chart using its ID using an EA, what specific code can achieve that?

I searched in the forum but found no solution for mt5.

I would like to know as well. I have read all the chart functions (ChartOpen(), ChartNavigate(), etc etc etc) and did not found the answer.

 

Use the CHART_BRING_TO_TOP property.

Example: Search Chart

Reason: