<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Subject: Question about Generator Slot Settings and Collection Size Im]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/9967/" />
	<updated>2025-10-06T21:12:16Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/9967/subject-question-about-generator-slot-settings-and-collection-size-im/</id>
		<entry>
			<title type="html"><![CDATA[Re: Subject: Question about Generator Slot Settings and Collection Size Im]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/82868/#p82868" />
			<content type="html"><![CDATA[<p>The Collection&#039;s capacity does not affect the process of generating and testing the strategies.</p><p>It works way simpler than you may think.</p><p>Lets&#039; have:<br /></p><div class="codebox"><pre><code>; The Collection will purge the excessive records.
; 0 means 100000
collection_capacity = 100

; Sort the Collection by one of the following metrics:
; NetBalance, Profit, ProfitFactor, ReturnToDrawdown, RSquared, Stagnation, WinLossRatio
sort_by = Profit</code></pre></div><p>When the Generator find new suitable strategy, it pushes it to the Collection.</p><p>The Collection puts in within the other strategies by finding its place according to the sorting criteria (&quot;Profit&quot; in this case).</p><p>Collection checks if the new strategy correlates with any of the other strategies. If it finds a correlation, it removes the one of the correlated strategies with the lower Profit.</p><p>If the count of the strategies reaches 101, the Collection removes the strategy with the lowest Profit. It maintains the maximum capacity of 100 strategies in that way.</p><p>If the Generator continues generating and pushing strategies, the Collection will continue sorting them per Profit and pruning the excessive once with the lowest Profit.</p><p>You see that the actual Collection Capacity doesn&#039;t matter too much because the strategies we want are near to the top.</p><p>...</p><p>I&#039;m currently generating and validating strategies in three steps (With Express Generator).<br />1) - generate up to 1000 new strategies per market in a new Collection.<br />2) - pass this new collection via Monte Carlo validation and merge it the previous validated one. This collection has capacity of 30 (recently increased to 40) strategies.<br />3) - validate this collection with data from different broker (Eightcap, MetaQuotes, or Premium Data). I keep between 10 and 30 strategies of these collections.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2025-10-06T21:12:16Z</updated>
			<id>https://forexsb.com/forum/post/82868/#p82868</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Subject: Question about Generator Slot Settings and Collection Size Im]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/82761/#p82761" />
			<content type="html"><![CDATA[<p>My concern is whether a smaller collection size, like 100, might limit the generator to only producing strategies with lower slot numbers (e.g., 1-2 entry/exit slots). If I increase the collection size to, say, 1000, will it then have enough runs to include strategies with higher slot numbers (like 3-4 entry slots and 2-3 exit slots)?</p>]]></content>
			<author>
				<name><![CDATA[ryanaverell]]></name>
				<uri>https://forexsb.com/forum/user/15417/</uri>
			</author>
			<updated>2025-08-02T12:11:31Z</updated>
			<id>https://forexsb.com/forum/post/82761/#p82761</id>
		</entry>
</feed>
