cowil:
Hi,
I have a bit of a problem I hope someone can help me with. I'm wanting to hide the indicator panes in the strategy tester DURING a visualization. I realise that you can use IndicatorRelease() in the OnDeinit() event handler or create a tester.tpl to hide Indicators AFTER the strategy tester has completed and the resulting chart is displayed but I was wanting to hide specific Indicators during a visualization.
Anyone have any ideas? Thanks in advance for your help with this.
You can disallow visual testing all together, put this in to the OnInit:
if (MQLInfoInteger(MQL_VISUAL_MODE)) {Print("Sorry, Visual Testing Mode is not allowed.");return (-1);}
![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
Hi,
I have a bit of a problem I hope someone can help me with. I'm wanting to hide the indicator panes in the strategy tester DURING a visualization. I realise that you can use IndicatorRelease() in the OnDeinit() event handler or create a tester.tpl to hide Indicators AFTER the strategy tester has completed and the resulting chart is displayed but I was wanting to hide specific Indicators during a visualization.
Anyone have any ideas? Thanks in advance for your help with this.