<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — What the "spread" setting actually does?]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/9262/" />
	<updated>2022-10-22T03:54:27Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/9262/what-the-spread-setting-actually-does/</id>
		<entry>
			<title type="html"><![CDATA[Re: What the "spread" setting actually does?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/71777/#p71777" />
			<content type="html"><![CDATA[<p>Ah right excellent thanks - that makes perfect sense now. <br />Cheers<br />Tim</p>]]></content>
			<author>
				<name><![CDATA[timelleston]]></name>
				<uri>https://forexsb.com/forum/user/14044/</uri>
			</author>
			<updated>2022-10-22T03:54:27Z</updated>
			<id>https://forexsb.com/forum/post/71777/#p71777</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: What the "spread" setting actually does?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/71776/#p71776" />
			<content type="html"><![CDATA[<p>The &quot;spread&quot; is uses in the profit calculation. It reduces the profit. Spread is measured in points.</p><p>The profit formula is:<br /></p><div class="codebox"><pre><code>longProfit  = entryAmount * (closePrice - openPrice - spread) * exchangeRate - commission
shortProfit = entryAmount * (openPrice - closePrice - spread) * exchangeRate - commission</code></pre></div><p>When the spread is higher, it is more difficult to find profitable strategies.</p><p>&gt; Does that eliminate the need for custom spread protection code in my EA?</p><p>Express Generator as well as FSB Pro and EA Studio use fixed spread.</p><p>Your &quot;spread protection code in my EA&quot; works only in the EA because it uses the actual dynamic market spread.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2022-10-22T03:53:01Z</updated>
			<id>https://forexsb.com/forum/post/71776/#p71776</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[What the "spread" setting actually does?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/71774/#p71774" />
			<content type="html"><![CDATA[<p>Hi all - can someone confirm what the &quot;spread&quot; setting actually does behind the scenes for me please?<br />I think Sleytus said it won&#039;t accept a signal if the spread is higher than the parameter value?&nbsp; </p><p>I assume that results in not opening a new position, as well as not closing an existing position (from a signal standpoint, but not SL or TP)?</p><p>Does that eliminate the need for custom spread protection code in my EA?</p><p>Just wanted to confirm those assumptions as I noticed with spread=40 on CADJPY in the latest exp. gen, it ascends less than a third of strategies than when spread is not enabled (just in the broker file).&nbsp; &nbsp;When I set spread=10, it pretty much has the same as no spread, but when I set it to 1000 it generates no strategies...so I’m not sure what it’s actually doing …</p><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[timelleston]]></name>
				<uri>https://forexsb.com/forum/user/14044/</uri>
			</author>
			<updated>2022-10-22T00:15:03Z</updated>
			<id>https://forexsb.com/forum/post/71774/#p71774</id>
		</entry>
</feed>
