How to remove indicators in EA testing

To add comments, please log in or register
arcull
160
arcull  

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 ;)

Jose Francisco Casado Fernandez
6381
Jose Francisco Casado Fernandez  
arcull:

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.
Irwan Adnan
967
Irwan Adnan  
arcull:

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 ;)

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.
arcull
160
arcull  
Jose Francisco Casado Fernandez:
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.
Thanks Jose, I was hoping for a better solution ;) thanks anyway.
arcull
160
arcull  
Irwan Adnan:
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.
Irwan, I haven't used templates very often, except when trading manually, can you please post some relevant link which explains this more in depth, much thanks
To add comments, please log in or register