From MQL4 help:
//+----------------------------------------------------------------------+ //| 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); }
d4v3:
From MQL4 help:
¡¡ THANK YOU VERY MUCH !! I will try the code right now
kind regards from Argentina
Betowm
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello guys. I am writing from Argentina I hope you will understand my bad English.
My question is : It is possible select a chart automatically?