Hi everyone. I wonder if there is an option to hide or switch off somehow the indicators which the EA uses, so that they would not show up when you run the backtesting with "Visulization" enabled. My EA uses a lot of indis and I don't want to "see" them while testing my EA, they take a lot of space, where I would rather see the pure candle chart and deals it made. Is this possible to do in MQL5 code or? I attach all my indis this way:
macdHandle=iMACD(Symbol(),0,12,26,9,AppliedPrice);
aroonupdownHandle = iCustom(Symbol(),0,"Aroon_Up_Down",ShortPeriod,false,false);
Much thanks for your help guys, best regards and happy holidays to all ;)
Hi everyone. I wonder if there is an option to hide or switch off somehow the indicators which the EA uses, so that they would not show up when you run the backtesting with "Visulization" enabled. My EA uses a lot of indis and I don't want to "see" them while testing my EA, they take a lot of space, where I would rather see the pure candle chart and deals it made. Is this possible to do in MQL5 code or? I attach all my indis this way:
macdHandle=iMACD(Symbol(),0,12,26,9,AppliedPrice);
aroonupdownHandle = iCustom(Symbol(),0,"Aroon_Up_Down",ShortPeriod,false,false);
Much thanks for your help guys, best regards and happy holidays to all ;)
In MT5 there isn't an easy way to do it. You would have to code a custom indicator that doesn't draw anything. Otherwise, you would have to make all the calculations inside the EA without calling any indicator. Regards.
I dont know if it is similar to MT5, but in MT4 use standard template (dont use EA template, template with same name of the EA). When backtesting start, it call a template with name same to the EA. You can also delete or rename the aforementioned template.
Hi everyone Just add the following code in you Init function.
int OnInit() { TesterHideIndicators(true); }
Hi gays,
Ther is easy way to hide or unhide all indicator inside strategy tester window. So, if you want to have control on this options us follow example:
input bool InpHideUnhideIndi = false; // Hide Indi inside strategy tester window bool ENABLE_TEST_INDICATORS = InpHideUnhideIndi ; int OnInit() { //-- hide indicators after test TesterHideIndicators(!ENABLE_TEST_INDICATORS); return(INIT_SUCCEEDED); }
This code works fine because I use this code. Inside my code only the variable name is different, nothing else.
// It's very simple to Hide Indicators in Strategy Tester..just use this::
input bool Show_Test_Indicators = false;
//-----------------------------------
int OnInit() {
//-- Show/Hide Indicators in Strategy Tester
TesterHideIndicators(!Show_Test_Indicators);
return(INIT_SUCCEEDED);
}

- 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 everyone. I wonder if there is an option to hide or switch off somehow the indicators which the EA uses, so that they would not show up when you run the backtesting with "Visulization" enabled. My EA uses a lot of indis and I don't want to "see" them while testing my EA, they take a lot of space, where I would rather see the pure candle chart and deals it made. Is this possible to do in MQL5 code or? I attach all my indis this way:
macdHandle=iMACD(Symbol(),0,12,26,9,AppliedPrice);
aroonupdownHandle = iCustom(Symbol(),0,"Aroon_Up_Down",ShortPeriod,false,false);
Much thanks for your help guys, best regards and happy holidays to all ;)