I want to know, what I have to type in, to be able to optimize the parameters for my Strategy and my Money Management Parameters (TP, SL, move SL to Breakeven, Breakeven add Pips)? I would be very glad, if you could tell me with an example, where to type in these rules.
to be able to optimize these parameters you have to make them real EA parameters. For example if you want to optimize TP:
1. create new parameter TP with type double in Strategy Parameters. Set its value to yur default TP value and make sure it has Configurable checked.
2. use this variable instead of the fixed number in the Enter at Market function. You can click on the […] button in the Profit Target line and choose ‘Use from variable’ or use a Formula if your TP is more complicated.
That’s all, now you created new EA parameter that can be optimized in MT4.
You can add the other parameters in the same way.
thanks for your answer. I have a Tab “Strategy parameters” in the first Tab, where I can create and edit my strategy first. Could you tell me please with an example, what to type in, if I want to optimize the following parameters:
1. my Indicators
2. time when EA should start and end trading at daytime
3. Moneymanagement (StopLoss, TakeProfit, Set StopLoss to Breakeven, Breakeven add pips)
It would be great, if you could help me with that. It would be great too, to get a fix example in EAW of a strategy, with has these Basic Rules integrated.
there are examples of this in almost every sample strategy. For example in EMA Cross sample (from Home screen) the parameters for FastEMAPeriod, SlowEMAPeriod
and Magic numbers are made as parameters, so they can be optimized in MT4.
To optimize anythign you simply have to make parameters for the values you want to optimize, and then use these parameters in your indicators or money management rules instead of using fixed values.
You must be logged in to reply to this topic.