How to hide indicators using MQL4


is there any body who can tell me how can I do not show the indicators in strategy tester visualization mode.

I used IndicatorRelease() but it does not work at all.

please advise

To Hide the indicators please use the following line


Thanks for your comment, it can not work in mql5, I think it is belongs to mql4. Do you have any other idea?

How can we do that…?

No easy way.

You need to use custom indicator only, and code them to not draw anything when Visual backtest mode is detected.

thanks for your feedback please let me know more about that. how can I detect visual backtest mode? and please give me an idea in example if it is possible.

This makes me a sad panda.

Check out these docs: and