EA won't optimize in mt4 Strategy tester

Back to topics list To post a new topic, please log in or register
avatar
53
bluesman 2016.09.03 21: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?
Attached files:
  timerange_v_1.5.mq4  (16.50 KB)
avatar
2017
gooly 2016.09.03 21: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!
avatar
1200
FMIC 2016.09.03 22: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?


avatar
66
jamescater 2016.09.03 22: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

avatar
53
bluesman 2016.09.04 02: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..
avatar
53
bluesman 2016.09.04 02: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. 
avatar
53
bluesman 2016.09.04 02: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.
avatar
12985
WHRoeder 2016.09.04 02:30 #
 

avatar
1200
FMIC 2016.09.04 02: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?
avatar
2017
gooly 2016.09.04 08: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...
Back to topics list  

To add comments, please log in or register