Download MetaTrader 5

Enable/disable EA properties

To add comments, please log in or register
They are already making profit using the Market. You can join them!
mastercharts
13
mastercharts 2016.10.19 00:41 

Very new to MT4.

I have an EA that I am trying to backtest.

If I click on Expert Properties I see 3 tabs: Testing | Inputs | Optimization

On the Inputs tab is it possible to enable/disable certain parameters without having to go into the code and rewrite the entire EA?

Thanks for any help!

-Alex

Jose Francisco Casado Fernandez
2407
Jose Francisco Casado Fernandez 2016.10.19 02:04  
You have to look into the code, and remove "extern" or "input" keywords from parameters that you don't want to appear. Regards
Mladen Rakic
54468
Mladen Rakic 2016.10.19 16:05  
mastercharts:

Very new to MT4.

I have an EA that I am trying to backtest.

If I click on Expert Properties I see 3 tabs: Testing | Inputs | Optimization

On the Inputs tab is it possible to enable/disable certain parameters without having to go into the code and rewrite the entire EA?

Thanks for any help!

-Alex

It has meaning only if you do optimization (since only then the parameter can be changed)

But for optimization all you have to do is to check or un-check the parameter that you want or you do not want to be a subject of optimization change. No need to change anything in the code

Jose Francisco Casado Fernandez
2407
Jose Francisco Casado Fernandez 2016.10.19 16:48  
Mladen Rakic:

It has meaning only if you do optimization (since only then the parameter can be changed)

But for optimization all you have to do is to check or un-check the parameter that you want or you do not want to be a subject of optimization change. No need to change anything in the code

OP talked about backtesting, not optimizacion. I still think, he wants that several parameters DON'T appear in inputs tab. And for it, the solution is what I said. The better thing is OP clarify his question. Regards.
Mladen Rakic
54468
Mladen Rakic 2016.10.19 19:10  
Jose Francisco Casado Fernandez:
OP talked about backtesting, not optimizacion. I still think, he wants that several parameters DON'T appear in inputs tab. And for it, the solution is what I said. The better thing is OP clarify his question. Regards.

Maybe, ... but what would be the purpose of hiding the parameters in back-testing?

I mean : "Hey I am the coder of the EA, and now I am sick of seeing the parameters in the parameters list and I am going to make them not appear - hide them from myself - in the list of parameters any more when I check the parameters". Doesn't sound logical. Even more since when hard-coded they are not available for optimization any more. Unless the purpose of it is the "oldest reason of them all" in which case "hiding" (hard-coding) the parameters is really one of the oldest games in the town

Jose Francisco Casado Fernandez
2407
Jose Francisco Casado Fernandez 2016.10.20 03:35  
Mladen Rakic:

Maybe, ... but what would be the purpose of hiding the parameters in back-testing?

I mean : "Hey I am the coder of the EA, and now I am sick of seeing the parameters in the parameters list and I am going to make them not appear - hide them from myself - in the list of parameters any more when I check the parameters". Doesn't sound logical. Even more since when hard-coded they are not available for optimization any more. Unless the purpose of it is the "oldest reason of them all" in which case "hiding" (hard-coding) the parameters is really one of the oldest games in the town

Maybe, he didn't code the EA, and there are several parameters that he will never use. There are many people that don't like an input parameters list too large. Or maybe he wants to give a demo version to somebody without the ability to change some parameters. He will say to us the answer. Regards.
Mladen Rakic
54468
Mladen Rakic 2016.10.20 11:00  
Jose Francisco Casado Fernandez:
Maybe, he didn't code the EA, and there are several parameters that he will never use. There are many people that don't like an input parameters list too large. Or maybe he wants to give a demo version to somebody without the ability to change some parameters. He will say to us the answer. Regards.

"Give a demo" of something he did not make?

Oh well ... pointless to continue this. Good luck

Jose Francisco Casado Fernandez
2407
Jose Francisco Casado Fernandez 2016.10.20 15:51  
Mladen Rakic:

"Give a demo" of something he did not make?

Oh well ... pointless to continue this. Good luck

Unfortunately there are people who do that. Good luck for you, too. Regards.
To add comments, please log in or register