By SymbolSelect function we can hide a symbol in MarketWatch but we can't "Hide All" .
This is a problem when we have so many symbols in Market Watch List.
How I can hid all symbols on it?
Code:
//--- remove all symbols from the Market Watch int symbols_total=SymbolsTotal(true); for(int i=symbols_total-1; i>=0; i--) { string symbol_name=SymbolName(i,true); SymbolSelect(symbol_name,false); }
Correct, the current symbol can't be. Other symbols can be hidden 10 minutes after last use, as Vladimir showed.
Correct, the current symbol can't be. Other symbols can be hidden 10 minutes after last use, as Vladimir showed.
Can anyone propose a viable solution to this issue?
You were answered above.
You were answered above.

- www.mql5.com
5000 characters are deleted in three seconds:
2020.11.15 09:27:04.822 Scripts script remove all symbols (FB.cfd,Daily) loaded successfully 2020.11.15 09:27:07.221 Scripts script remove all symbols (FB.cfd,Daily) removed
that's not for long.
5000 characters are deleted in three seconds:
that's not for long.
It's great, but practically the rows, one by one of the internal arrays of the system, have been deleted.
Updating this internal array, under different conditions, costs MetaTrader5 and creates a different time delay on different computers with different system resources.
Of course, I think the new option recently added to the Settings section has somewhat hidden this problem:
"Preload chart data for open positions and orders"
However, I hope that MQL5 makers will create functions to improve and increase efficiency.
It's great, but practically the rows, one by one of the internal arrays of the system, have been deleted.
Updating this internal array, under different conditions, costs MetaTrader5 and creates a different time delay on different computers with different system resources.
Of course, I think the new option recently added to the Settings section has somewhat hidden this problem:
"Preload chart data for open positions and orders"
However, I hope that MQL5 makers will create functions to improve and increase efficiency.
And again you forget - you are on a technical forum. Show the data of your hardware, operating system and measurement results. Please do not make frivolous accusations if you do not show technical data.
And again you forget - you are on a technical forum. Show the data of your hardware, operating system and measurement results. Please do not make frivolous accusations if you do not show technical data.
Although I don't think like you and my goal is to increase the efficiency of this unique platform, I accept your guidance and act within your desired framework.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
By SymbolSelect function we can hide a symbol in MarketWatch but we can't "Hide All" .
This is a problem when we have so many symbols in Market Watch List.
How I can hid all symbols on it?