Hiding embedded Indicator in Strategy Tester?

 

Hi there,

does anybody have a remedy to this:

Whenever an indicator is included via iCustom() or IndicatorCreate() in an Expert Advisor, and that Expert Advisor is then tested in the Strategy Tester (in visual mode), the included indicator also shows in the Strategy Tester.

According to https://www.mql5.com/en/docs/basis/preprosessor/compilation#:~:text=this%20confirmation%20window-,tester_indicator,-string, this should theoretically be preventable (although it might break the EA's code?) by using iCustom() with the indicator's path as a variable, or by using IndicatorCreate() without #property tester_indicator, but even then the respective indicator actually still shows in the Strategy Tester, taking up space while only the indicator's values are needed for processing in the EA.

Any ideas anybody, please?

Thanks

Documentation on MQL5: Language Basics / Preprocessor / Program Properties (#property)
Documentation on MQL5: Language Basics / Preprocessor / Program Properties (#property)
  • www.mql5.com
Every mql5-program allows to specify additional specific parameters named #property that help client terminal in proper servicing for programs...
 
Note that even if you hide the indicator in strategy tester applying TesterHideIndicators function it doesn't mean that there's no space or processing power engaged. 
 
Yashar Seyyedin #:
Note that even if you hide the indicator in strategy tester applying TesterHideIndicators function it doesn't mean that there's no space or processing power engaged. 

Thank you, mate, that's just what I needed!