![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
I have this class which stores items and their display rank . The display array is the visibility one while the items array is obviously the names array.
I want to give the user the ability to quickly rank the items they want to be visible .
Why am i not removing the invisible items and why will the user want the invisible items ?
This is for a table display of statistics from the tester alongside the inputs of an optimization pass so deleting the inputs wont happen (in order to be able to create set files) and the order must be the same (although i suspect set files work via search nowadays)
What on earth do i "need" :
I have set operator << to take the following item ,increase the rank and assign that rank in the visibility array.
But i also need a reset rank operator to restart the rank counter from the top .
The operators work okay but if i do not provide a number between the operators >> and << then i get operand expected.
This is a superficial querry because it can work fine if i have a reset function or with the 0 in between or if i don't have a reset at all as the user will only set the rank once via code probably.
I'm just curious if its possible .
Thanks