Download MetaTrader 5

EA can add indicator on window ?

To add comments, please log in or register
Wemerson Guimaraes
627
Wemerson Guimaraes  

Hello.

At the end of backtest, metatrader add all indicators used by an expert on window... but i need to add them at the start of backtest. There are any way to make it using mq4 inside an Expert ? 

honest_knave
Moderator
2318
honest_knave  

Create a template called tester.tpl with all your indicators on it.

When you start the backtest in visual mode, this template will be automatically applied.

Wemerson Guimaraes
627
Wemerson Guimaraes  

This is fine... but let's see an example:

 If i have 2 MAs with 10 and 20 periods... just making the template works...

But  if i change the periods of the MAs need to change the template automatically. There are a way to do this on mq4 ?

whroeder1
16105
whroeder1  
wemersonrv: change the template automatically. There are a way to do this on mq4 ?
You change things manually, you save a new template manually.
Wemerson Guimaraes
627
Wemerson Guimaraes  
WHRoeder:
wemersonrv: change the template automatically. There are a way to do this on mq4 ?
You change things manually, you save a new template manually.

Ok, thanks!
To add comments, please log in or register