Download MetaTrader 5
To add comments, please log in or register
Publish your trading signal. Gain access to millions of traders!
S Michael Tremante
194
S Michael Tremante 2016.09.03 19:35 
I have an EA that is based on a time range breakout that I cannot get to optimize in the strategy tester.  Is there any particular quality that would prevent optimization?
Files:
Carl Schreiber
5952
Carl Schreiber 2016.09.03 19:59  
You have to provide more information! What did you do, what happened and what did you expect instead - and what are the errors in the logs!
Fernando Carreiro
1481
Fernando Carreiro 2016.09.03 20:04  

I tried it on my setup, and it optimised without any problems. (I just did a short optimisation run on the "entry_range_to_hours" from 1 to 9 in steps of 4).

Can you describe in more detail what exactly you are doing and what it is you are expecting to happen, and is not?


Blahtech Limited
2760
James Cater 2016.09.03 20:12  
bluesman:
I have an EA that is based on a time range breakout that I cannot get to optimize in the strategy tester.  Is there any particular quality that would prevent optimization?

Did you try unchecking the "Skip Useless results" option in the Optimization results tab ?

(Right click anywhere in the window after selecting the tab)

This will show the results with a profit factor of less than one as well as the more profitable runs

S Michael Tremante
194
S Michael Tremante 2016.09.04 00:10  
gooly:
You have to provide more information! What did you do, what happened and what did you expect instead - and what are the errors in the logs!
FMIC:

I tried it on my setup, and it optimised without any problems. (I just did a short optimisation run on the "entry_range_to_hours" from 1 to 9 in steps of 4).

Can you describe in more detail what exactly you are doing and what it is you are expecting to happen, and is not?

I also tried it on every tick.

When I tried it with the same paramaters as you it worked for 3 passes.  Previously I was trying to run it for 12 months, 1 hour period, current spread, and open prices.  I was only opmtimizing one field.  But the Optimization Results tab and the Optimizaton Graph tab were coming up blank.  I also tried it on every tick with the same results.  I am looking to get some positive optimization results so I can do a walk forward analysis on out-of sample data.   But you have given me something to work with....thanks..
S Michael Tremante
194
S Michael Tremante 2016.09.04 00:16  
gooly:
You have to provide more information! What did you do, what happened and what did you expect instead - and what are the errors in the logs!
Thank you.  I was trying to run for 12 months, 1 hr period, current spread, and optimizing 1 field.  Optimization results and graph tabs were both coming up blank.  There were no errors in the journal. 
S Michael Tremante
194
S Michael Tremante 2016.09.04 00:19  
jamescater:

Did you try unchecking the "Skip Useless results" option in the Optimization results tab ?

(Right click anywhere in the window after selecting the tab)

This will show the results with a profit factor of less than one as well as the more profitable runs

Thank you.  I tried unchecking "Skip Useless Results" and there was no change.
whroeder1
13620
whroeder1 2016.09.04 00:30  
Fernando Carreiro
1481
Fernando Carreiro 2016.09.04 00:30  
bluesman:
Thank you.  I was trying to run for 12 months, 1 hr period, current spread, and optimizing 1 field.  Optimization results and graph tabs were both coming up blank.  There were no errors in the journal. 
  • Set a specific spread, as the current spread my be huge due to it being a week-end
  • What field were you optimising and what were its min, max and step values?
Carl Schreiber
5952
Carl Schreiber 2016.09.04 06:43  
Choose a reasonable setup and run it in visual mode. Check (Comment, Print()) what happens (value od vars and conditions) when you originally want an order at some place...
/
To add comments, please log in or register