<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — How to get ExpressGenerator to run with Test.cmd file]]></title>
		<link>https://forexsb.com/forum/topic/9563/how-to-get-expressgenerator-to-run-with-testcmd-file/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/9563/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in How to get ExpressGenerator to run with Test.cmd file.]]></description>
		<lastBuildDate>Fri, 13 Oct 2023 23:10:47 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How to get ExpressGenerator to run with Test.cmd file]]></title>
			<link>https://forexsb.com/forum/post/77095/#p77095</link>
			<description><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>&gt; but how do you handle settings that are unique to a pair like swap long and swap short?</p><p>&gt; That&#039;s where you create new variables, %4, %5, %6, etc.</p><p>I solve this problem by having separate &quot;ini&quot; files for each symbol in a subfolder. </p><p>For example:<br />.\ini\EURUSD.ini</p><br /><div class="codebox"><pre><code>swap_long  = -6.88
swap_short = 2.02
stop_loss_range_min = 20
stop_loss_range_max = 220</code></pre></div><br /><p>Then, we can call gen.js with two &quot;ini&quot; files:</p><div class="codebox"><pre><code>node .\bin\gen.js --settings generate.ini .\ini\%symbol%.ini ...</code></pre></div></blockquote></div><p>Hi Popov, my previous question probably got lost in the conversation... I noticed the .json files created by the Data Export EA already include swaplong and swapshort for each symbol. Does Express Generator use these custom swaps when using --server or do we have to specify them with swap_long and swap_short in an .ini file? I&#039;m hoping it already includes them as it makes scripts simpler... ;-)</p>]]></description>
			<author><![CDATA[null@example.com (aaronpriest)]]></author>
			<pubDate>Fri, 13 Oct 2023 23:10:47 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/77095/#p77095</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get ExpressGenerator to run with Test.cmd file]]></title>
			<link>https://forexsb.com/forum/post/77081/#p77081</link>
			<description><![CDATA[<p>&quot;--show-top 10&quot; shows the top 10 strategies in the console when the Generator finishes.</p><p><a href="https://image-holder.forexsb.com/store/show-top-10.png"><span class="postimg"><img src="https://image-holder.forexsb.com/store/show-top-10-thumb.png" alt="https://image-holder.forexsb.com/store/show-top-10-thumb.png" /></span></a></p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Fri, 13 Oct 2023 11:39:03 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/77081/#p77081</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get ExpressGenerator to run with Test.cmd file]]></title>
			<link>https://forexsb.com/forum/post/77080/#p77080</link>
			<description><![CDATA[<p>Sorry ... What do you mean by print? The collection json file contains the number of strategies based on the <br />--collection_capacity setting. Is there a file file associated with the results of the --show_top setting?</p>]]></description>
			<author><![CDATA[null@example.com (dlouisbriggs)]]></author>
			<pubDate>Fri, 13 Oct 2023 11:31:37 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/77080/#p77080</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get ExpressGenerator to run with Test.cmd file]]></title>
			<link>https://forexsb.com/forum/post/77074/#p77074</link>
			<description><![CDATA[<p>It is for visualization purposes. Setting of 30 prints you the 30 best strats, top 30 of the collected collection.</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Fri, 13 Oct 2023 09:33:19 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/77074/#p77074</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get ExpressGenerator to run with Test.cmd file]]></title>
			<link>https://forexsb.com/forum/post/77068/#p77068</link>
			<description><![CDATA[<p>Thank you for your reply ... if the collection capacity controls the final quantity of strategies displayed then what is the show_top = 30 setting for?</p>]]></description>
			<author><![CDATA[null@example.com (dlouisbriggs)]]></author>
			<pubDate>Fri, 13 Oct 2023 05:13:14 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/77068/#p77068</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get ExpressGenerator to run with Test.cmd file]]></title>
			<link>https://forexsb.com/forum/post/77064/#p77064</link>
			<description><![CDATA[<div class="quotebox"><cite>dlouisbriggs wrote:</cite><blockquote><p>Why is it when the below settings are in place that I still get 100 strategies in the collection.json file?</p><p>generate.ini collection_capacity = 100 and show_top = 30<br />generate.cmd show_top = 30</p></blockquote></div><p>Because your collection capacity is 100? If you want less strats collected then update the capacity setting with appropriate size.</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Thu, 12 Oct 2023 21:46:43 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/77064/#p77064</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get ExpressGenerator to run with Test.cmd file]]></title>
			<link>https://forexsb.com/forum/post/77063/#p77063</link>
			<description><![CDATA[<p>Why is it when the below settings are in place that I still get 100 strategies in the collection.json file?</p><p>generate.ini collection_capacity = 100 and show_top = 30<br />generate.cmd show_top = 30</p>]]></description>
			<author><![CDATA[null@example.com (dlouisbriggs)]]></author>
			<pubDate>Thu, 12 Oct 2023 21:21:54 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/77063/#p77063</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get ExpressGenerator to run with Test.cmd file]]></title>
			<link>https://forexsb.com/forum/post/77047/#p77047</link>
			<description><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>&gt; but how do you handle settings that are unique to a pair like swap long and swap short?</p><p>&gt; That&#039;s where you create new variables, %4, %5, %6, etc.</p><p>I solve this problem by having separate &quot;ini&quot; files for each symbol in a subfolder. </p><p>For example:<br />.\ini\EURUSD.ini</p><br /><div class="codebox"><pre><code>swap_long  = -6.88
swap_short = 2.02
stop_loss_range_min = 20
stop_loss_range_max = 220</code></pre></div><br /><p>Then, we can call gen.js with two &quot;ini&quot; files:</p><div class="codebox"><pre><code>node .\bin\gen.js --settings generate.ini .\ini\%symbol%.ini ...</code></pre></div></blockquote></div><br /><br /><p>Popov, is there any way to get the Data Export.mq5 script to automatically detect and include the swap long and short in the data exported, similar to how it works with spread?</p>]]></description>
			<author><![CDATA[null@example.com (aaronpriest)]]></author>
			<pubDate>Thu, 12 Oct 2023 15:15:49 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/77047/#p77047</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get ExpressGenerator to run with Test.cmd file]]></title>
			<link>https://forexsb.com/forum/post/77031/#p77031</link>
			<description><![CDATA[<p>You are correct. The Premium Data and the Data Export script use different filenames.</p><p>(I know I have to unify them, but I still do not know what is the best way)</p><p>Try to load the data file by specifying the &quot;server&quot; instead of the &quot;data-file&quot;.</p><div class="codebox"><pre><code>--server Pepperstone ^
--symbol %symbol%  ^
--period %period% ^</code></pre></div><p>Your Pepperstone symbols have an additional &quot;r&quot;. Therefore, you have to use such a symbol name when you call your script.</p><div class="codebox"><pre><code>START C:\express-generator\generate.cmd EURUSDr H1 60</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Thu, 12 Oct 2023 04:35:53 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/77031/#p77031</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get ExpressGenerator to run with Test.cmd file]]></title>
			<link>https://forexsb.com/forum/post/77029/#p77029</link>
			<description><![CDATA[<p>I corrected that spelling error and I still have the issue. Could it be that the format of the data file name is not recognized? For example, the generate.cmd line &quot; --data-file ./data/Premium/%symbol%_%period%.json ^&quot; finds AUDCAD_D1.json (Premium data) but can not find AUDCADr1440.json (Pepperstone data) in the format that the Data Export script extracts the data from MT4.</p>]]></description>
			<author><![CDATA[null@example.com (dlouisbriggs)]]></author>
			<pubDate>Thu, 12 Oct 2023 04:09:54 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/77029/#p77029</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get ExpressGenerator to run with Test.cmd file]]></title>
			<link>https://forexsb.com/forum/post/77028/#p77028</link>
			<description><![CDATA[<div class="quotebox"><cite>dlouisbriggs wrote:</cite><blockquote><p>for aaronpriest ... I am trying to generate from data extracted from my Pepperstone server through the Data Export script. The first screenshot shows the generate.cmd setting, the second screenshot shows the file name format for Premium data, the third screenshot shows the file name format for Pepprstone data, and the fourth screenshot shows the error message at the command line.</p><p>The Premium data generation works fine but the Pepperstone does not. Can you see my error?</p><p>Thanks in advance</p><p>P.S. I attached the screenshots but I got the error &quot;file has never been downloaded&quot;</p></blockquote></div><p>Check the spelling in one of your screenshots, it might be a mispelling for a filename or folder: &quot;peepperstone&quot;</p>]]></description>
			<author><![CDATA[null@example.com (aaronpriest)]]></author>
			<pubDate>Wed, 11 Oct 2023 17:47:16 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/77028/#p77028</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get ExpressGenerator to run with Test.cmd file]]></title>
			<link>https://forexsb.com/forum/post/77027/#p77027</link>
			<description><![CDATA[<p>for aaronpriest ... I am trying to generate from data extracted from my Pepperstone server through the Data Export script. The first screenshot shows the generate.cmd setting, the second screenshot shows the file name format for Premium data, the third screenshot shows the file name format for Pepprstone data, and the fourth screenshot shows the error message at the command line.</p><p>The Premium data generation works fine but the Pepperstone does not. Can you see my error?</p><p>Thanks in advance</p><p>P.S. I attached the screenshots but I got the error &quot;file has never been downloaded&quot;</p>]]></description>
			<author><![CDATA[null@example.com (dlouisbriggs)]]></author>
			<pubDate>Wed, 11 Oct 2023 17:45:11 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/77027/#p77027</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get ExpressGenerator to run with Test.cmd file]]></title>
			<link>https://forexsb.com/forum/post/77026/#p77026</link>
			<description><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>&gt; but how do you handle settings that are unique to a pair like swap long and swap short?</p><p>&gt; That&#039;s where you create new variables, %4, %5, %6, etc.</p><p>I solve this problem by having separate &quot;ini&quot; files for each symbol in a subfolder. </p><p>For example:<br />.\ini\EURUSD.ini</p><br /><div class="codebox"><pre><code>swap_long  = -6.88
swap_short = 2.02
stop_loss_range_min = 20
stop_loss_range_max = 220</code></pre></div><br /><p>Then, we can call gen.js with two &quot;ini&quot; files:</p><div class="codebox"><pre><code>node .\bin\gen.js --settings generate.ini .\ini\%symbol%.ini ...</code></pre></div></blockquote></div><p>I didn&#039;t know you could call two ini files like that I guess, even more slick!</p>]]></description>
			<author><![CDATA[null@example.com (aaronpriest)]]></author>
			<pubDate>Wed, 11 Oct 2023 17:41:26 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/77026/#p77026</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get ExpressGenerator to run with Test.cmd file]]></title>
			<link>https://forexsb.com/forum/post/77025/#p77025</link>
			<description><![CDATA[<p>&gt; but how do you handle settings that are unique to a pair like swap long and swap short?</p><p>&gt; That&#039;s where you create new variables, %4, %5, %6, etc.</p><p>I solve this problem by having separate &quot;ini&quot; files for each symbol in a subfolder. </p><p>For example:<br />.\ini\EURUSD.ini</p><br /><div class="codebox"><pre><code>swap_long  = -6.88
swap_short = 2.02
stop_loss_range_min = 20
stop_loss_range_max = 220</code></pre></div><br /><p>Then, we can call gen.js with two &quot;ini&quot; files:</p><div class="codebox"><pre><code>node .\bin\gen.js --settings generate.ini .\ini\%symbol%.ini ...</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Wed, 11 Oct 2023 17:12:03 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/77025/#p77025</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get ExpressGenerator to run with Test.cmd file]]></title>
			<link>https://forexsb.com/forum/post/77024/#p77024</link>
			<description><![CDATA[<div class="quotebox"><cite>dlouisbriggs wrote:</cite><blockquote><p>for aaronpriest ... I understand that in your setup the generic settings are placed in generate.ini, and the universal settings like symbol, time frame, mins etc. are generated with variables in generate.cmd, but how do you handle settings that are unique to a pair like swap long and swap short?</p></blockquote></div><p>That&#039;s where you create new variables, %4, %5, %6, etc. and reference them in your start command line. Also, symbol, timeframe, and minutes ARE unique to each pair, that&#039;s why they are variables. If they were universal, then they would be generic and I&#039;d just put them in the generate.ini file.</p>]]></description>
			<author><![CDATA[null@example.com (aaronpriest)]]></author>
			<pubDate>Wed, 11 Oct 2023 16:53:53 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/77024/#p77024</guid>
		</item>
	</channel>
</rss>
