<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — What happens to open trades while doing walk forward testing?]]></title>
		<link>https://forexsb.com/forum/topic/9196/what-happens-to-open-trades-while-doing-walk-forward-testing/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/9196/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in What happens to open trades while doing walk forward testing?.]]></description>
		<lastBuildDate>Tue, 16 Aug 2022 08:25:00 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: What happens to open trades while doing walk forward testing?]]></title>
			<link>https://forexsb.com/forum/post/70405/#p70405</link>
			<description><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>&gt;&nbsp; huge difference between what the walkforward calculates and what actual backtest shows.</p><p>Walk-forward use the &quot;actual-backtester&quot;. Actually, there is only one backtester.</p><p>&gt; I select that date range in Data Horizon tab and run the same strategy with these calculated parameters</p><p>Walk Forward shows the OOS start and end. On the other hand, the Data Horizon sets the data series&#039; start and end.</p></blockquote></div><p>Appreciate the quick response Popov. Yes you are correct, the Data Horizon tab sets the data series&#039;s start and end, that&#039;s why when the indicators were trying to calculate their values using past lookbacks, they didn&#039;t have access to past data due to the strict restriction I set manually using the Data Horizon tab. This explains the lack of trades and difference in values. Thanks for clearing it up.</p>]]></description>
			<author><![CDATA[null@example.com (iamgreatest)]]></author>
			<pubDate>Tue, 16 Aug 2022 08:25:00 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70405/#p70405</guid>
		</item>
		<item>
			<title><![CDATA[Re: What happens to open trades while doing walk forward testing?]]></title>
			<link>https://forexsb.com/forum/post/70353/#p70353</link>
			<description><![CDATA[<p>&gt;&nbsp; huge difference between what the walkforward calculates and what actual backtest shows.</p><p>Walk-forward use the &quot;actual-backtester&quot;. Actually, there is only one backtester.</p><p>&gt; I select that date range in Data Horizon tab and run the same strategy with these calculated parameters</p><p>Walk Forward shows the OOS start and end. On the other hand, the Data Horizon sets the data series&#039; start and end.</p><p>&gt; Also I now see an overlap between the End date of 11th Segment and Start date of 12th Segment.</p><p>The last segment is slightly adjusted because it may not be possible to divide the provided bar by the number of the segments. It is a very rare case. Even then, we have to calculate the OOS start. Several bars deviation is normal and acceptable.</p><p>If you want a more statistically representative result, you should adjust the settings to have 100 or more deals per segment.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Fri, 12 Aug 2022 08:18:30 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70353/#p70353</guid>
		</item>
		<item>
			<title><![CDATA[Re: What happens to open trades while doing walk forward testing?]]></title>
			<link>https://forexsb.com/forum/post/70351/#p70351</link>
			<description><![CDATA[<p>Also I now see an overlap between the End date of 11th Segment and Start date of 12th Segment. This is not supposed to happen right?</p>]]></description>
			<author><![CDATA[null@example.com (iamgreatest)]]></author>
			<pubDate>Fri, 12 Aug 2022 06:51:16 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70351/#p70351</guid>
		</item>
		<item>
			<title><![CDATA[Re: What happens to open trades while doing walk forward testing?]]></title>
			<link>https://forexsb.com/forum/post/70350/#p70350</link>
			<description><![CDATA[<p>Hey Popov, thanks for the reply. <br />I understood your point of how one can proceed while applying walk forward in live trading. <br />You mentioned that test starts calculation from the beginning of the out of sample dataset. This makes sense. </p><p>But, I was testing some strategy and was unable to reproduce the results shown when I applied the walkforward optimized parameters to the last out of sample segment. Can you point out what I&#039;m doing wrong. I have attached a simple example below. Sorry for the long post.</p><p>1] Dataset &amp; timeframe -&gt; <strong>EURUSD 1D</strong> (All available premium data 4886 bars)<br />2] Entry condition &amp; starting parameters -&gt; Rsi crosses the level upward (close, <strong>period- 14, level- 70</strong>)<br />3] Exit condition &amp; starting parameters -&gt; Rsi crosses the level downward (close, <strong>period- 14, level- 30</strong>)<br />4] Entry Lot - 0.1, Opp. entry signal - Ignore, No SL TP.<br />5] Walkforward setting -&gt; Segments(<strong>12</strong>), Out of sample(<strong>30% OOS</strong>), Numeric range(<strong>+- 20steps</strong>), Search best(<strong>Net Balance</strong>).<br />6] Validation -&gt; Minimum net profit(<strong>0</strong>)</p><p>After running walkforward, the results I get for the 12th segment is <strong>32</strong> trades, <strong>419 USD</strong> net profit, 555 USD drawdown. <br />The date range for 12th segment is -&gt; &quot;<strong>2021-07-13 00:00</strong>&quot; to &quot;<strong>2022-08-12 00:00</strong>&quot;.<br />The parameters for same are -&gt; Entry RSI -&gt; Period(<strong>3</strong>), Level(<strong>21</strong>) <br />Exit RSI -&gt; Period(<strong>2</strong>), Level(<strong>45</strong>).</p><p>Now I know this strategy is no good. But the problem is when I select that date range in Data Horizon tab and run the same strategy with these calculated parameters, the results are different(See attachments). The results I get are as follows-&gt; <strong>30</strong> trades, <strong>499.6</strong> USD net profit, 554.8 USD drawdown. </p><p>Drawdown is same but the <strong>two trades are missing</strong>. In this specific case at least its similar, sometimes there is a huge difference between what the walkforward calculates and what actual backtest shows. Please let me know what is wrong. See attached images too. </p><p>Thanks for reading this long post.</p>]]></description>
			<author><![CDATA[null@example.com (iamgreatest)]]></author>
			<pubDate>Fri, 12 Aug 2022 06:47:21 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70350/#p70350</guid>
		</item>
		<item>
			<title><![CDATA[Re: What happens to open trades while doing walk forward testing?]]></title>
			<link>https://forexsb.com/forum/post/70334/#p70334</link>
			<description><![CDATA[<p>The test start from the beginning of the shifted data set.</p><p>The Walk Forward serves to check if a strategy is suitable for optimisation on a new period.<br />If it has new parameters, it may have completely different deals.</p><p>If you apply walk-forward optimization on a trading strategy, you have three options (I prefer to make the change during the weekend):<br /> - change the strategies by closing the previous position, if any, and running the updated strategy from a neutral position.<br /> - set the same magic number to the new strategy. It will close the current position according to its signals.<br /> - leave the previous strategy to close its position and remove it from a neutral position. Run the new strategy with a new Magic Number. The positions may overlap, but it doesn&#039;t matter.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Thu, 11 Aug 2022 18:35:55 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70334/#p70334</guid>
		</item>
		<item>
			<title><![CDATA[What happens to open trades while doing walk forward testing?]]></title>
			<link>https://forexsb.com/forum/post/70331/#p70331</link>
			<description><![CDATA[<p>Was checking out the online Expert Advisor Studio&#039;s walkforward today. I wanted to know what happens to open trades when the parameters are changed while transitioning into a new segment. Is it closed and reopened according to new signals or something else. Let me know. Thanks</p>]]></description>
			<author><![CDATA[null@example.com (iamgreatest)]]></author>
			<pubDate>Thu, 11 Aug 2022 16:34:45 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70331/#p70331</guid>
		</item>
	</channel>
</rss>
