A bit more research / results, albeit from a short period of time... around when to set Max Open Trades to Zero (I'll call this Zero hour)
So I ran 300 bars, for each day, for the period 29th Aug to 16th Sept...15 days in total, with 3 x Mons, 3 x Tues, etc, so 15 Portfolios in total, with 50 EAs in each Portfolio. Generation ran for 60 minutes each time.
Admittedly, I fixed SL and TP at 220 and 95 respectively, which I've since found is not the best approach - but, I didn't want to re-run everything...
I then modified the portfolio code so that I could then run M5 Optimisation, Balance Max, to see what the portfolio performance was if the Max Open Trades was set to 0 at specific hours after it was launched (Zero Hour). Trades were then left to close automatically by the EA rules.
All Portfolios were set to launch at 01:00 GMT (just after the spread change). The code also ensured that no trades were opened prior to the launch date/time, despite what was set as the start date in MT5.
The last date I used was the 16th Sept, because it could still be closing trades naturally, if the Zero Hour was set at say 1 week after launch.
My hypothesis was that 15m CJ portfolios perform well for about 24 hours, and at that point, I should set it to not open any new trades.
Based on the result though, the optimal time, for my settings, appears to be around 44 hours. At that point, I'd set Max Open to zero and let the open positions close normally.
The graphs show what happened to each portfolio when the Max Open Trades was set to zero at 1 hr, 2hr, 3hr etc after launch - all the way out to 120 hours (all charts), and 277 hours for each of the Weekday Charts.
It might also suggest that you can pick different Zero hours for different days of the week.
* Weekday graphs under a new post.
Some notes:
1) Totally agree, this is only a short period of time. 15 tests in total.
2) Launch time will no doubt change the results - I chose 01:00 because the EAS Generator requires a date back in time, and it sets it to midnight (or last bar) and so by the time I would have generated, and re-launched, it could be done within 1 hour, and then a few minutes to test it and launch it - hence 01:00.
3) I fixed TL & SL - not the best approach
4) Very specific to my settings and my broker data (IC Markets), which I can export up to the last previous bar.
5) Recommend you test this yourselves!
Post's attachments1 - All Hours All Days.png 362.19 kb, file has never been downloaded.
2 - Aggregate Percentage Wins.png 120.6 kb, 1 downloads since 2022-10-07
You don't have the permssions to download the attachments of this post.