When I use Strategy Optimizer, I only get trades on the first pass.
For example, I select one parameter to optimize: StopSizeInPips.
I indicate that I want to start with 5, increment by 2, and end with 15.
On the first pass (set at 5), it generates trades and statistics.
Then I can see the 5 increment to 7 near the bottom of the screen.
The green bar moves across as it makes another pass throught the tick data, but no trades.
Each pass increments... 9... 11... 13... 15... and then it stops because it is finished.
Probably something wrong in my code, but I haven't a clue how to find it.
Strategy Optimizer - no trades after first pass
-
- Posts: 40
- Joined: Wed Sep 15, 2010 6:52 am
Strategy Optimizer - no trades after first pass
creativity + willful purpose
-
- Posts: 905
- Joined: Sat Jul 11, 2009 10:54 am
-
- Posts: 40
- Joined: Wed Sep 15, 2010 6:52 am
In testing mode I got the same result:
The first pass, with the parameter set at 5, generated trades.
When I changed the parameter to 7 and started the test again, no trades.
So... this isn't Strategy Optimizer, but there is something I am not resetting in my logic?
Would it make a difference if the first test ended with an open position? (this might be the case... I'm no longer at my computer to see, but I remember that happening at least once).
Thank you for your help.
The first pass, with the parameter set at 5, generated trades.
When I changed the parameter to 7 and started the test again, no trades.
So... this isn't Strategy Optimizer, but there is something I am not resetting in my logic?
Would it make a difference if the first test ended with an open position? (this might be the case... I'm no longer at my computer to see, but I remember that happening at least once).
Thank you for your help.
creativity + willful purpose
-
- Posts: 905
- Joined: Sat Jul 11, 2009 10:54 am
-
- Posts: 40
- Joined: Wed Sep 15, 2010 6:52 am
Who is online
Users browsing this forum: No registered users and 25 guests