<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — Dynamic Spread Backtetsing]]></title>
		<link>https://forexsb.com/forum/topic/9599/dynamic-spread-backtetsing/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/9599/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Dynamic Spread Backtetsing.]]></description>
		<lastBuildDate>Sat, 17 Feb 2024 22:47:52 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Dynamic Spread Backtetsing]]></title>
			<link>https://forexsb.com/forum/post/78748/#p78748</link>
			<description><![CDATA[<p>this is awesome!!! Thank you</p>]]></description>
			<author><![CDATA[null@example.com (S118)]]></author>
			<pubDate>Sat, 17 Feb 2024 22:47:52 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/78748/#p78748</guid>
		</item>
		<item>
			<title><![CDATA[Dynamic Spread Backtetsing]]></title>
			<link>https://forexsb.com/forum/post/77164/#p77164</link>
			<description><![CDATA[<p>Hello Trader,</p><p>I&#039;ll demonstrate the effect of the Dynamic spread when we backtet a strategy.</p><p>I&#039;ll use two copies of EA Studio with equal data and the same strategy open.<br />The left-hand side EA Studio instance has a Dark colour theme and uses &quot;Dynamic spread&quot;.<br />The right-hand side EA Studio uses a light color theme and has &quot;Dynamic spread&quot; disabled.</p><p>Please find the demonstration strategy attached.</p><p><a href="https://image-holder.forexsb.com/store/1-use-dynamic-spread-option.png"><span class="postimg"><img src="https://image-holder.forexsb.com/store/1-use-dynamic-spread-option-thumb.png" alt="https://image-holder.forexsb.com/store/1-use-dynamic-spread-option-thumb.png" /></span></a></p><br /><p>Here is how the backtest looks with and without Dynamic spread backtesting.</p><p><a href="https://image-holder.forexsb.com/store/2-use-dynamic-spread-option.png"><span class="postimg"><img src="https://image-holder.forexsb.com/store/2-use-dynamic-spread-option-thumb.png" alt="https://image-holder.forexsb.com/store/2-use-dynamic-spread-option-thumb.png" /></span></a></p><p>The data, the strategy and all other settings are the same. The only difference is that the &quot;dark&quot; EA Studio uses dynamic spread, and the &quot;Light&quot; EA Studio uses fixed spread.<br />You see that the count of trades is the same in both instances.</p><br /><p>Here is a screenshot of the Journal:</p><p><a href="https://image-holder.forexsb.com/store/3-use-dynamic-spread-option.png"><span class="postimg"><img src="https://image-holder.forexsb.com/store/3-use-dynamic-spread-option-thumb.png" alt="https://image-holder.forexsb.com/store/3-use-dynamic-spread-option-thumb.png" /></span></a></p><p>We see that we have a different Open price of the first position.<br />The first position is long. It means that it opens at the Ask price.<br />Because the historical data and the indicator charts use Bid prices, we calculate the Ask price by adding the spread.</p><p><strong>Ask = Bid + Spread</strong></p><p>We have &quot;Bar Open&quot; = 0.86457. This is the Bid price.</p><p>We can see the dynamic spread on the Indicator chart when we hover the mouse over a specific bar.</p><p><a href="https://image-holder.forexsb.com/store/4-use-dynamic-spread-option.png"><span class="postimg"><img src="https://image-holder.forexsb.com/store/4-use-dynamic-spread-option-thumb.png" alt="https://image-holder.forexsb.com/store/4-use-dynamic-spread-option-thumb.png" /></span></a></p><p>We have different Ask prices in both examples:<br /> - Dynamic spread: Ask = 0.86457 + (46 * 0.00001) = 0.86457 + 0.00046 = 0.86503<br /> - Static spread: Ask = 0.86457 + (20 * 0.00001) = 0.86457 + 0.00020 = 0.86477</p><p>Therefore, when we use a dynamic spread, the deposition opens at&nbsp; 0.86477; when we use a static spread, the position opens at 0.86477.</p><p>The dynamic spread eats from the profit. <br />Using dynamic spread makes the backtest far more reliable.<br />For that reason, I recommend using either the provided Premium Data feed or importing data from MetaTrader 5.</p><p>Please study this example and post your comments.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Tue, 17 Oct 2023 08:41:06 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/77164/#p77164</guid>
		</item>
	</channel>
</rss>
