Hi everybody,
in my EA I use a lot of indicators. But by default, all used indicators automatically appear on the screen.
Is this possible to switch them off and especially only some of them.
Hi,
Did you try this? :)
//+------------------------------------------------------------------+ //| Expert initialization function | //+------------------------------------------------------------------+ int OnInit() { //--- HideTestIndicators(true);
Good luck.
No, it doesn't work. I check in google - may be this function exist in MT4 but not in MT5. Any other ideas?
ohh.. I thought you are in MT4 :))
in MT5 you can use function
IndicatorRelease()
read at https://www.mql5.com/en/docs/series/indicatorrelease
Good luck.

- www.mql5.com
May be you don't understand me correct (or the opposite :)). I want to switch off only indicator visualization, but continue use it. IndicatorRelease function will free the handle and I do not use it anymore.
I have a object and in constructor i take the handle to indicator. I use it for all other data acquisition (this is the MetaQuotes recommendation). This save many time and memory. But the visualization is a problem.
But the visualization is a problem.
Yes,
I have not found the equation of HideTestIndicators for MQ5 as well.
I will wait for this :)
OK, thanks for your efforts.
TesterHideIndicators(true); handle = iATR(_Symbol, _Period, 14); TesterHideIndicators(false);

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi everybody,
in my EA I use a lot of indicators. But by default, all used indicators automatically appear on the screen.
Is this possible to switch them off and especially only some of them.