<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — FIFO Violation]]></title>
		<link>https://forexsb.com/forum/topic/6578/fifo-violation/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/6578/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in FIFO Violation.]]></description>
		<lastBuildDate>Thu, 03 May 2018 00:38:35 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: FIFO Violation]]></title>
			<link>https://forexsb.com/forum/post/50390/#p50390</link>
			<description><![CDATA[<p>Ok</p><p>Thanks</p>]]></description>
			<author><![CDATA[null@example.com (Freebird)]]></author>
			<pubDate>Thu, 03 May 2018 00:38:35 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/50390/#p50390</guid>
		</item>
		<item>
			<title><![CDATA[Re: FIFO Violation]]></title>
			<link>https://forexsb.com/forum/post/50389/#p50389</link>
			<description><![CDATA[<p>The only way around this is to find a non-US broker who accepts US clients.</p><p>I don&#039;t have any recommendations.&nbsp; Most non-US brokers do not accept US clients -- however, there are a few who do.&nbsp; If you want to go that route then you&#039;ll have to do a lot of Googling.</p>]]></description>
			<author><![CDATA[null@example.com (sleytus)]]></author>
			<pubDate>Wed, 02 May 2018 20:13:53 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/50389/#p50389</guid>
		</item>
		<item>
			<title><![CDATA[Re: FIFO Violation]]></title>
			<link>https://forexsb.com/forum/post/50383/#p50383</link>
			<description><![CDATA[<p>sleytus,</p><p>How did you get around the FIFO violation?&nbsp; As a US trader, I&#039;ve just bumped into this obstacle.&nbsp; How does one get around it?</p>]]></description>
			<author><![CDATA[null@example.com (Freebird)]]></author>
			<pubDate>Wed, 02 May 2018 10:33:48 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/50383/#p50383</guid>
		</item>
		<item>
			<title><![CDATA[Re: FIFO Violation]]></title>
			<link>https://forexsb.com/forum/post/42580/#p42580</link>
			<description><![CDATA[<p>Yep -- I understand.&nbsp; Just as in real life, it always comes down to trade-offs.&nbsp; Footon -- again, thanks very much.&nbsp; You saved me a big, big headache.</p>]]></description>
			<author><![CDATA[null@example.com (sleytus)]]></author>
			<pubDate>Wed, 29 Mar 2017 23:09:07 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/42580/#p42580</guid>
		</item>
		<item>
			<title><![CDATA[Re: FIFO Violation]]></title>
			<link>https://forexsb.com/forum/post/42579/#p42579</link>
			<description><![CDATA[<p>I would change the broker, it&#039;s the only way to get away from that FIFO madness, testing one EA at a time is a waste. But of course, this is easier said than done. Currently, your EAs are developed on one dataset, changing the broker means different data, which can have rather considerable impact on EA behaviour... Tough choices no matter which way one looks at it.</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Wed, 29 Mar 2017 23:06:09 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/42579/#p42579</guid>
		</item>
		<item>
			<title><![CDATA[Re: FIFO Violation]]></title>
			<link>https://forexsb.com/forum/post/42578/#p42578</link>
			<description><![CDATA[<p>No problem about the earlier advice -- I&#039;ve learned a lot from your subsequent posts.&nbsp; </p><p>I could dig up the logs, but after doing more Googling I think you are correct.</p><p>So let me ask you -- suppose you have 10 EAs that you wanted to test on EURUSD -- what do you do?&nbsp; I&#039;ve done a lot of back testing and wanted to move on to testing in a Demo account.</p>]]></description>
			<author><![CDATA[null@example.com (sleytus)]]></author>
			<pubDate>Wed, 29 Mar 2017 22:21:01 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/42578/#p42578</guid>
		</item>
		<item>
			<title><![CDATA[Re: FIFO Violation]]></title>
			<link>https://forexsb.com/forum/post/42577/#p42577</link>
			<description><![CDATA[<p>In addition, most probably I gave you bad advice earlier, sorry for that, you should roll back the FIFO changes in your EAs.</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Wed, 29 Mar 2017 20:38:52 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/42577/#p42577</guid>
		</item>
		<item>
			<title><![CDATA[Re: FIFO Violation]]></title>
			<link>https://forexsb.com/forum/post/42576/#p42576</link>
			<description><![CDATA[<p>Well, you can test as many EAs as MT can take, but when you&#039;re having multiple positions in <strong>one</strong> currency pair, then FIFO applies (to my understanding different magic numbers/different EAs are not taken into account). Can you dig up the logs in relation to that error? Did you have previous, older positions opened and the error came from a recent, newer position? <br />Best clarification on this FIFO issue can come from your broker.</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Wed, 29 Mar 2017 20:34:56 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/42576/#p42576</guid>
		</item>
		<item>
			<title><![CDATA[Re: FIFO Violation]]></title>
			<link>https://forexsb.com/forum/post/42573/#p42573</link>
			<description><![CDATA[<p>That&#039;s interesting...&nbsp; &nbsp;It was my understanding a single instance of MT4 terminal could be used to test multiple EAs.&nbsp; According to Metatrader docs, one can run a maximum of 128 EAs on a single terminal.&nbsp; I mean, from Googling I&#039;ve seen many examples of that.&nbsp; Supposedly it works when you use a different MagicNumber for each EA.&nbsp; The EAs I&#039;m testing each have a different MagicNumber.</p><p>Or -- are you saying this is another NFA thing that would only affect US clients?</p><p>I&#039;m new to ForexSB and find it amazing tool.&nbsp; And I assume that since it is so easy to generate EAs that users like yourself test multiple EAs at the same time (and not individually).</p><p>I apologize that this is getting away from my original questions -- but I guess it is sort of related.</p><p>Thanks</p>]]></description>
			<author><![CDATA[null@example.com (sleytus)]]></author>
			<pubDate>Wed, 29 Mar 2017 17:46:43 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/42573/#p42573</guid>
		</item>
		<item>
			<title><![CDATA[Re: FIFO Violation]]></title>
			<link>https://forexsb.com/forum/post/42567/#p42567</link>
			<description><![CDATA[<p>Hmm, have you ruled out conflict between EAs? I&#039;m thinking now my suggestion will not be of help, if your 30 EAs are all on the same pair, you will still get those errors because the broker won&#039;t differentiate trades in relation to EAs as you and your EAs do. If EA no.1 has a position opened say yesterday, EA no.2 has position opened today morning and it wants to close the position today evening, it will give error as there&#039;s that position from yesterday (?).</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Wed, 29 Mar 2017 11:44:22 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/42567/#p42567</guid>
		</item>
		<item>
			<title><![CDATA[Re: FIFO Violation]]></title>
			<link>https://forexsb.com/forum/post/42566/#p42566</link>
			<description><![CDATA[<p>Footon -- thanks very much for your quick response.&nbsp; I will rebuild the EA with the modification you suggest and let you know if it makes a difference.&nbsp; I&#039;m currently testing about 30 EAs and they don&#039;t necessarily trade each day -- but I will report back when this one again attempts to close the position.</p><p>Currently the default value for &#039;FIFO_order&#039; is &#039;true&#039; -- which means it should honor the NFA regulation and the error should not occur.&nbsp; Changing it to &#039;false&#039; seems like the opposite of what the solution calls for -- but I&#039;ll give it a try anyways.</p><p>Again -- thanks for your help.</p>]]></description>
			<author><![CDATA[null@example.com (sleytus)]]></author>
			<pubDate>Wed, 29 Mar 2017 11:19:15 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/42566/#p42566</guid>
		</item>
		<item>
			<title><![CDATA[Re: FIFO Violation]]></title>
			<link>https://forexsb.com/forum/post/42560/#p42560</link>
			<description><![CDATA[<p>Open the EA in Metaeditor, locate line 97 and change it to false, recompile and test. Report back as well. I&#039;m surprised though you got the error.</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Wed, 29 Mar 2017 09:24:02 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/42560/#p42560</guid>
		</item>
		<item>
			<title><![CDATA[Re: FIFO Violation]]></title>
			<link>https://forexsb.com/forum/post/42559/#p42559</link>
			<description><![CDATA[<p>Hello Sleytus,</p><p>Try the following:</p><p><span class="postimg"><img src="https://s24.postimg.org/qbirdzb8l/bal.jpg" alt="https://s24.postimg.org/qbirdzb8l/bal.jpg" /></span></p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Wed, 29 Mar 2017 09:23:16 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/42559/#p42559</guid>
		</item>
		<item>
			<title><![CDATA[FIFO Violation]]></title>
			<link>https://forexsb.com/forum/post/42552/#p42552</link>
			<description><![CDATA[<p>Hello,</p><p>I&#039;m testing new strategies in a Demo account and receive the following error message:<br />&quot;Trade XXXXX could not be closed due to FIFO violation&quot;.</p><p>As a US client I understand there are regulations in place to &quot;protect&quot; investors.&nbsp; When using FSB are there particular settings I should use to avoid this?</p><p>Thanks</p>]]></description>
			<author><![CDATA[null@example.com (sleytus)]]></author>
			<pubDate>Wed, 29 Mar 2017 06:16:41 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/42552/#p42552</guid>
		</item>
	</channel>
</rss>
