<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — simulating DEMO trading]]></title>
		<link>https://forexsb.com/forum/topic/9451/simulating-demo-trading/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/9451/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in simulating DEMO trading.]]></description>
		<lastBuildDate>Sat, 01 Jul 2023 15:25:55 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: simulating DEMO trading]]></title>
			<link>https://forexsb.com/forum/post/75529/#p75529</link>
			<description><![CDATA[<div class="quotebox"><cite>lisaforex wrote:</cite><blockquote><p>Thanks so much for including this in your latest update Express Generator v2.36 Popov!</p></blockquote></div><p>Yes, these new updates for collections, symbol and timeframe variables, and flexible start and end for number of days instead of specific dates has really made scripting easier!</p>]]></description>
			<author><![CDATA[null@example.com (aaronpriest)]]></author>
			<pubDate>Sat, 01 Jul 2023 15:25:55 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/75529/#p75529</guid>
		</item>
		<item>
			<title><![CDATA[Re: simulating DEMO trading]]></title>
			<link>https://forexsb.com/forum/post/75527/#p75527</link>
			<description><![CDATA[<p>Thanks so much for including this in your latest update Express Generator v2.36 Popov!</p>]]></description>
			<author><![CDATA[null@example.com (lisaforex)]]></author>
			<pubDate>Sat, 01 Jul 2023 12:42:15 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/75527/#p75527</guid>
		</item>
		<item>
			<title><![CDATA[Re: simulating DEMO trading]]></title>
			<link>https://forexsb.com/forum/post/74989/#p74989</link>
			<description><![CDATA[<p>Yes, that would be fantastic. I would really love to have the ability to simulate DEMO and REAL trading with shorter time periods like a week. More loading of data bars for calculation of MAs wouldn&#039;t get in the way of testing.</p><p><img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (lisaforex)]]></author>
			<pubDate>Mon, 29 May 2023 12:58:10 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/74989/#p74989</guid>
		</item>
		<item>
			<title><![CDATA[Re: simulating DEMO trading]]></title>
			<link>https://forexsb.com/forum/post/74985/#p74985</link>
			<description><![CDATA[<p>I&#039;m thinking of a possible workaround: introducing a date for starting the actual trading.</p><p>This idea comes from the recent MetaTrader versions. When we set a &quot;start date&quot; in the Meta Trader tester, it loads data for about a month before the specified date and uses that date for the start of the trading.<br />The earlier versions of MetaTrader loaded data from the given date and stated the trade 100 bars later.</p><p>If I introduce two new parameters, &quot;--use-trade-start&quot; and &quot;--trade-start&quot;, we can control the data series length and easily set after what date the backtester will open the first trade.</p><p>This will also improve the precision of Exponential Moving Averages because they will have more warmup bars.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Mon, 29 May 2023 11:52:45 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/74985/#p74985</guid>
		</item>
		<item>
			<title><![CDATA[Re: simulating DEMO trading]]></title>
			<link>https://forexsb.com/forum/post/74983/#p74983</link>
			<description><![CDATA[<p>Thanks for the clarification. Looks like EA Studio also has the 300 minimum limit. Hmm. No worries. I will find a work around.</p>]]></description>
			<author><![CDATA[null@example.com (lisaforex)]]></author>
			<pubDate>Mon, 29 May 2023 11:45:22 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/74983/#p74983</guid>
		</item>
		<item>
			<title><![CDATA[Re: simulating DEMO trading]]></title>
			<link>https://forexsb.com/forum/post/74972/#p74972</link>
			<description><![CDATA[<p>&gt; However, as you can see from the output, it picks up 300 bars of data from 2023-05-10 till 2023-05-27. I only want the past week of data (2023-05-22 till 2023-05-27).</p><p>There is a hardcoded <strong>minimum data length of 300 bars</strong>. Whenever the program sees less than 300 bars, it tries to expand the given range until it accomplishes 300 bars.</p><p>This is an example scheme of the Data Horizon. (the 200000 bars limit is not valid for Express Generator)</p><p><span class="postimg"><img src="https://forexsb.com/wiki/_media/eas-guide/eas-data-horizon.png" alt="https://forexsb.com/wiki/_media/eas-guide/eas-data-horizon.png" /></span></p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Mon, 29 May 2023 08:09:19 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/74972/#p74972</guid>
		</item>
		<item>
			<title><![CDATA[simulating DEMO trading]]></title>
			<link>https://forexsb.com/forum/post/74969/#p74969</link>
			<description><![CDATA[<p>Hi, my process is currently:<br />- use 2 years of data to generate strategies<br />- simulate DEMO trading<br />- move to LIVE trading.</p><p>So I am at &quot;simulate DEMO step&quot;. I already have a bunch of strategies. I am trying to simulate DEMO trading for the past week of data.</p><p>step5a_a_template.cmd<br /></p><div class="codebox"><pre><code>set symbol=%1
set period=%2
set startd=%3
set endd=%4
set filen=%5

if &quot;%symbol%&quot; == &quot;&quot; EXIT
if &quot;%period%&quot; == &quot;&quot; EXIT

node .\bin\gen.js ^
 --server                 GoMarkets ^
 --symbol                  %symbol% ^
 --period                 %period% ^
 --max-data-bars          200000 ^
 --use_data_start         true ^
 --data_start             %startd% ^
 --use_data_end           true ^
 --data_end               %endd% ^
 --entry_lots             0.1 ^
 --min_count_of_trades    3 ^
 --min_profit             1 ^
 --account_currency       AUD ^
 --initial_account        1000 ^
 --leverage               100 ^
 --collection-capacity    10 ^
 --trade_on_sunday        false ^
 --input                  %filen% ^
 --output                 %filen%_demo ^
 --output_replace         true
 </code></pre></div><p>step5a_demo.cmd<br /></p><div class="codebox"><pre><code>start step5a_a_template AUDJPY H1 &quot;22 May 2023 00:00 GMT&quot; &quot;27 May 2023 00:00 GMT&quot; Coll_GoMarkets_Real_1_AUDJPY_H1_2023-05-20</code></pre></div><p>However, as you can see from the output, it is picking up 300 bars of data from 2023-05-10 till 2023-05-27. I only want the past week of data (2023-05-22 till 2023-05-27). I can&#039;t see any bugs in my code. Hoping someone can point out my issue?</p><div class="codebox"><pre><code>                        ..:: Express Generator v2.28 ::..

Validating strategies: 200

    Market : GoMarkets-Real 1 AUDJPY H1
    From   : 2023-05-10 12:00, To: 2023-05-27 00:00, Bars: 300
    Spread : 10, Swap long: 9.1, Swap short: -11.3, Commission: 6 AUD
    Account: 1000 AUD, Leverage: 100, Entry: 0.1 lots

     1383 ┤                                      ╭     Net profit      383.36 AUD
     1349 ┤                                      │     Profit per day  26.59  AUD
     1314 ┤                             ╭────────╯     Profit factor   383.36
     1279 ┤                            ╭╯              Max drawdown    96.30  AUD
     1244 ┤                            │               Max drawdown    7.36   %
     1209 ┤                   ╭────────╯               Return/drawdown 3.98
     1174 ┤                   │                        Win / loss      1.00
     1139 ┤                  ╭╯                        Max stagnation  5      days
     1105 ┤   ╭──────────────╯                         Max stagnation  31.79  %
     1070 ┤  ╭╯                                        R - squared     75.72
     1035 ┤  │                                         Max cons losses 0
     1000 ┼──╯                                         Count of trades 4

  - Ascended: 105, Calculated: 200 of 200, Time: 00:00 of 03:00, Coll: 10

Validator Ready!

Collection exported: collections\Coll_GoMarkets_Real_1_AUDJPY_H1_2023-05-20_demo.json</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (lisaforex)]]></author>
			<pubDate>Mon, 29 May 2023 04:56:17 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/74969/#p74969</guid>
		</item>
	</channel>
</rss>
