<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — Cannot match FSBPro and Mt4 trades?]]></title>
		<link>https://forexsb.com/forum/topic/9183/cannot-match-fsbpro-and-mt4-trades/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/9183/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Cannot match FSBPro and Mt4 trades?.]]></description>
		<lastBuildDate>Fri, 12 Aug 2022 07:34:27 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Cannot match FSBPro and Mt4 trades?]]></title>
			<link>https://forexsb.com/forum/post/70352/#p70352</link>
			<description><![CDATA[<p>just thought Id add to this thread that there was no similar bug in EA studio. I had my account currency set to AUD instead of USD as I thought was the case. All is well :-)</p>]]></description>
			<author><![CDATA[null@example.com (sammjacks)]]></author>
			<pubDate>Fri, 12 Aug 2022 07:34:27 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70352/#p70352</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot match FSBPro and Mt4 trades?]]></title>
			<link>https://forexsb.com/forum/post/70297/#p70297</link>
			<description><![CDATA[<p>Ah yeah, that makes perfect sense. ATR is changing with each bar but the stop loss was set when trade opened based on the value at this time.</p><p>Good to know, I might make it show with custom indicator for a while for checking purposes so good to know how but am happy to understand why it&#039;s not showing</p>]]></description>
			<author><![CDATA[null@example.com (sammjacks)]]></author>
			<pubDate>Wed, 10 Aug 2022 06:14:27 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70297/#p70297</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot match FSBPro and Mt4 trades?]]></title>
			<link>https://forexsb.com/forum/post/70294/#p70294</link>
			<description><![CDATA[<p>The ATR Stop calculates a value for each bar.<br />When FSB Pro opens a position, it takes the current ATR Stop value and sets the SL of the position.</p><p>For the following bars the ATR has new values, however the positions SL is fixed (if not trailing).</p><p>It will be misleading if we show the ATR Stop indicator value because it will not correspond to the position&#039;s Stop Loss.</p><p>The ATR value is set to not be shown in the &quot;Dynamic information&quot; panel in the chart.</p><p>Tak a look at the source code: <a href="https://github.com/PopovMP/FSB_Pro_Indicators/blob/master/Indicators/Store/AtrStop.cs">https://github.com/PopovMP/FSB_Pro_Indi … AtrStop.cs</a></p><p>ATR Stop<br /></p><div class="codebox"><pre><code>    ...
            Component[0] = new IndicatorComp
            {
                CompName = &quot;ATR Stop margin&quot;,
                DataType = IndComponentType.IndicatorValue,
                FirstBar = firstBar,
                ShowInDynInfo = false,  // &lt;= This prevents the value to be shown
                Value = atrStop
            };</code></pre></div><p>You can make a custom ATR and to modify the it `ShowInDynInfo = true` or to simply remove the line because it is `true` by default.</p><p>Please note that the SL and TP are <strong>special</strong> parameters and you cannot control them via Custom indicator.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Wed, 10 Aug 2022 04:37:52 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70294/#p70294</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot match FSBPro and Mt4 trades?]]></title>
			<link>https://forexsb.com/forum/post/70290/#p70290</link>
			<description><![CDATA[<p>Hi Popov,</p><p>How come the ATR stop indicator values are not showing up in FSB Pro when I do the comparison shown?</p>]]></description>
			<author><![CDATA[null@example.com (sammjacks)]]></author>
			<pubDate>Wed, 10 Aug 2022 03:50:30 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70290/#p70290</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot match FSBPro and Mt4 trades?]]></title>
			<link>https://forexsb.com/forum/post/70274/#p70274</link>
			<description><![CDATA[<p>Great,</p><p>I am really really looking forward to v4 of Fsbpro :-)</p><p>I want to start working on writing some custom indicators for fsbpro. </p><p>I will be scouring back over old forum posts for info on how to do this but if you could point me in the direction of any resources or links that will help me implement this easier that would be much appreciated. </p><p>I can get to work on this meantime while awaiting fsbpro 4 as I have a couple of days off work :-)</p><p>Was gonna start by very simply just copying and renaming one of the existing indicators just to take it through the process and then I’ll modify further.</p><p>It’s mainly the how to make sure it works both in fsbpro AND mql4 that I am struggling to understand how to do?</p>]]></description>
			<author><![CDATA[null@example.com (sammjacks)]]></author>
			<pubDate>Tue, 09 Aug 2022 09:55:48 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70274/#p70274</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot match FSBPro and Mt4 trades?]]></title>
			<link>https://forexsb.com/forum/post/70262/#p70262</link>
			<description><![CDATA[<p>&gt; Do I need to install a new fsbpro?</p><p>I prepared the new release but still cannot receive my updated Code Signing Certificate from Contabo. I&#039;ll post an update when it is ready.</p><p>I have to fix some more things and will release an official FSB Pro v4.0</p><p>&gt; Thanks for getting to the bottom of it quickly:-)</p><p>I still have trouble to match the MT results completely.<br />It looks like the MT test mismatch the tester setting.</p><p>I just experienced that the MT Tester applies dynamic spread no matter I fix it to 10 points, and ever worse, it still calculates in EUR (my account) despite the fact I set it to calculate in USD. Tick Value must be 1, but it is 0.98 as per EUR calculations.</p><p><a href="https://image-holder.forexsb.com/store/mt5-wird-settings.png"><span class="postimg"><img src="https://image-holder.forexsb.com/store/mt5-wird-settings-thumb.png" alt="https://image-holder.forexsb.com/store/mt5-wird-settings-thumb.png" /></span></a></p><p>The commission and swaps also play tricks.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Tue, 09 Aug 2022 01:07:36 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70262/#p70262</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot match FSBPro and Mt4 trades?]]></title>
			<link>https://forexsb.com/forum/post/70261/#p70261</link>
			<description><![CDATA[<p>Great, so it was a missing info. Explains why anytime i have checked in the past everything has tied up but AUDNZD is a relatively new pair for me.</p><p>Thanks for getting to the bottom of it quickly:-)</p><p>Do I need to install a new fsbpro?</p>]]></description>
			<author><![CDATA[null@example.com (sammjacks)]]></author>
			<pubDate>Tue, 09 Aug 2022 00:44:33 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70261/#p70261</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot match FSBPro and Mt4 trades?]]></title>
			<link>https://forexsb.com/forum/post/70258/#p70258</link>
			<description><![CDATA[<p>I just realised that the profit of AUDNZD can be calculated to USD simply by multiplying by the NZDUSD rate.<br />It works because the profit of AUDNZD is calculated in NZD, and we have an NZDUSD quotation.</p><p>I was surprised that it was not happening that way and found out that the NZDUSD rate was missing from the list.</p><p>It appeared that the cross rates were mysteriously missing from the ticker of the MT I&#039;m using for the purpose.<br />I have a server that updates the rates every minute. FSB Pro and EA Studio load new rates at every start.</p><br /><p>Now we have the full list of exchange rates as follows:</p><div class="codebox"><pre><code>{
  &quot;AUDUSD&quot;: 0.69876,
  &quot;EURUSD&quot;: 1.01983,
  &quot;GBPUSD&quot;: 1.20857,
  &quot;USDCAD&quot;: 1.28519,
  &quot;USDCHF&quot;: 0.95523,
  &quot;USDJPY&quot;: 134.715,
  &quot;AUDCAD&quot;: 0.89804,
  &quot;AUDCHF&quot;: 0.66748,
  &quot;AUDJPY&quot;: 94.136,
  &quot;AUDNZD&quot;: 1.11134,
  &quot;EURAUD&quot;: 1.45933,
  &quot;EURNZD&quot;: 1.62195,
  &quot;GBPAUD&quot;: 1.72934,
  &quot;NZDUSD&quot;: 0.62864,
  &quot;GBPNZD&quot;: 1.92207,
  &quot;NZDCAD&quot;: 0.80791,
  &quot;NZDCHF&quot;: 0.6005,
  &quot;NZDJPY&quot;: 84.689,
  &quot;CADJPY&quot;: 104.812,
  &quot;CHFJPY&quot;: 141.015,
  &quot;EURCAD&quot;: 1.31075,
  &quot;EURCHF&quot;: 0.9742,
  &quot;CADCHF&quot;: 0.74317,
  &quot;EURGBP&quot;: 0.84375,
  &quot;GBPJPY&quot;: 162.814,
  &quot;EURJPY&quot;: 137.389,
  &quot;GBPCAD&quot;: 1.5532,
  &quot;GBPCHF&quot;: 1.15445
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Mon, 08 Aug 2022 18:07:10 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70258/#p70258</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot match FSBPro and Mt4 trades?]]></title>
			<link>https://forexsb.com/forum/post/70255/#p70255</link>
			<description><![CDATA[<p>I have similar results in EA Studio and MT4 for EURJPY when the account is in USD.</p><p><a href="https://image-holder.forexsb.com/store/compare-eas-mt4-eurjpy-match.png"><span class="postimg"><img src="https://image-holder.forexsb.com/store/compare-eas-mt4-eurjpy-match-thumb.png" alt="https://image-holder.forexsb.com/store/compare-eas-mt4-eurjpy-match-thumb.png" /></span></a></p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Mon, 08 Aug 2022 12:23:19 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70255/#p70255</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot match FSBPro and Mt4 trades?]]></title>
			<link>https://forexsb.com/forum/post/70253/#p70253</link>
			<description><![CDATA[<p>Hi Popov, I already did the recent trade check. Same issue.</p>]]></description>
			<author><![CDATA[null@example.com (sammjacks)]]></author>
			<pubDate>Mon, 08 Aug 2022 10:43:19 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70253/#p70253</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot match FSBPro and Mt4 trades?]]></title>
			<link>https://forexsb.com/forum/post/70249/#p70249</link>
			<description><![CDATA[<p>I&#039;ll check it today. </p><p>Thank you for the report.</p><p>Just check one recent trade to be sure it is not because of the fixed exchange rate.</p><p>I&#039;ll think of how to load the full exchange rate data to cover the complete data series.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Mon, 08 Aug 2022 09:32:56 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70249/#p70249</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot match FSBPro and Mt4 trades?]]></title>
			<link>https://forexsb.com/forum/post/70241/#p70241</link>
			<description><![CDATA[<p>Hi Popov, this bug has also become present in EA studio.</p><p>I am sure I checked this in the past and everything matched up though so it must have been included during a recent update?</p><p>Note the circled values. Exact same problem. My calculation agrees with MT4 value. In EA studio commission and swap set to zero.</p>]]></description>
			<author><![CDATA[null@example.com (sammjacks)]]></author>
			<pubDate>Sun, 07 Aug 2022 20:53:05 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70241/#p70241</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot match FSBPro and Mt4 trades?]]></title>
			<link>https://forexsb.com/forum/post/70230/#p70230</link>
			<description><![CDATA[<p>Yes that’s looking right to me and is how I calculated it manually. Was expecting to get exact same answer as online calc but close and that’s how I understand it should be calculated.</p>]]></description>
			<author><![CDATA[null@example.com (sammjacks)]]></author>
			<pubDate>Sun, 07 Aug 2022 01:20:47 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70230/#p70230</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot match FSBPro and Mt4 trades?]]></title>
			<link>https://forexsb.com/forum/post/70229/#p70229</link>
			<description><![CDATA[<p>It looks correct in that way for the case where we have a fxRate for the &quot;base currency&quot; + &quot;account currency&quot;</p><div class="codebox"><pre><code>lots * (close - open) * lotSize * fxRate / close
0.1 *(1.04293 - 1.04261) * 100000 * 0.69103 / 1.04293 =&gt; 2.12</code></pre></div><p>In that case:<br /> Base currency&nbsp; &nbsp;: AUD<br /> Account currency: USD<br /> Profit currency&nbsp; &nbsp;: NZD<br /> FX rate&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: AUDUSD</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Sat, 06 Aug 2022 21:26:01 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70229/#p70229</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot match FSBPro and Mt4 trades?]]></title>
			<link>https://forexsb.com/forum/post/70228/#p70228</link>
			<description><![CDATA[<p>How will I get the latest code after the fix? Can you send me a link to where to download the latest version with the fix once it is updated please :-)</p>]]></description>
			<author><![CDATA[null@example.com (sammjacks)]]></author>
			<pubDate>Sat, 06 Aug 2022 21:17:10 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70228/#p70228</guid>
		</item>
	</channel>
</rss>
