<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — "Oscillator of MACD" doesn't close long positions]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/6474/" />
	<updated>2017-01-25T19:15:23Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/6474/oscillator-of-macd-doesnt-close-long-positions/</id>
		<entry>
			<title type="html"><![CDATA[Re: "Oscillator of MACD" doesn't close long positions]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/41158/#p41158" />
			<content type="html"><![CDATA[<p>I somehow hadn&#039;t checked the &quot;Allow live trading&quot; checkbox on some experts. This should solve the problem.</p>]]></content>
			<author>
				<name><![CDATA[Hannes]]></name>
				<uri>https://forexsb.com/forum/user/9312/</uri>
			</author>
			<updated>2017-01-25T19:15:23Z</updated>
			<id>https://forexsb.com/forum/post/41158/#p41158</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: "Oscillator of MACD" doesn't close long positions]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/41138/#p41138" />
			<content type="html"><![CDATA[<p>That&#039;s not good.</p><p>It means that the MT&#039;s module for communication with the trading server is off. It can be overloaded or crashed.</p><p>You can try the following:<br /> - switch off all experts. <br /> - Press F3 to see the MT&#039;s &quot;Global Variables&quot; screen.<br /> - Delete all stored records.<br /> - Restart MT.</p><p>Try again. It must be ok.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2017-01-24T15:46:05Z</updated>
			<id>https://forexsb.com/forum/post/41138/#p41138</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: "Oscillator of MACD" doesn't close long positions]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/41137/#p41137" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>Hans,<br />My screenshot above is from live trading with a MT Expert Advisor.</p></blockquote></div><p>Oh, that&#039;s true, sorry. Then I don&#039;t know what the problem is with my EA. I don&#039;t get any related errors in the Expert tab. Only The following Errors of other EA&#039;s:</p><p><span class="postimg"><img src="http://i.imgur.com/tHrWCG8.png" alt="http://i.imgur.com/tHrWCG8.png" /></span></p>]]></content>
			<author>
				<name><![CDATA[Hannes]]></name>
				<uri>https://forexsb.com/forum/user/9312/</uri>
			</author>
			<updated>2017-01-24T15:34:27Z</updated>
			<id>https://forexsb.com/forum/post/41137/#p41137</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: "Oscillator of MACD" doesn't close long positions]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/41136/#p41136" />
			<content type="html"><![CDATA[<p>Hans,<br />My screenshot above is from live trading with a MT Expert Advisor.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2017-01-24T12:47:51Z</updated>
			<id>https://forexsb.com/forum/post/41136/#p41136</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: "Oscillator of MACD" doesn't close long positions]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/41135/#p41135" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>Hans, you strategy has 17 indicator + logical groups!! How are you sure what exactly indicator makes the problem?</p></blockquote></div><p>That&#039;s the only indicator <strong>I&#039;m sure</strong> doesn&#039;t work in <strong>live</strong> trading. That&#039;s why I said that the Osc of MACD may not be the only one, but the only one I&#039;m <strong>sure</strong> doesn&#039;t work. I know that because &quot;Close out long position&quot; was <strong>true</strong> and it didn&#039;t close out the long position. </p><div class="quotebox"><blockquote><p>From my experiment I see that the indicators works well, so the problem must be other.</p></blockquote></div><p>Again, live trading and the MT4 backtester are not the same thing. That&#039;s why I said it does work in the MT4 backtest (what you did), but doesn&#039;t work in actual live trading (EA, not bridge). </p><div class="quotebox"><blockquote><p>I suggest you to use Day Closing 2 indicator and to set closing time at least 1 minute earlier than the market close hour for the week days and Friday.</p></blockquote></div><p>I&#039;ll try that, although this is separate from the Indicator bug. </p><p>And I didn&#039;t want to be offensive. Just wanted to point out a bug. I don&#039;t see how I implied that you develop software to help steal the traders money. I&#039;m grateful for all the work you do.</p>]]></content>
			<author>
				<name><![CDATA[Hannes]]></name>
				<uri>https://forexsb.com/forum/user/9312/</uri>
			</author>
			<updated>2017-01-24T12:22:56Z</updated>
			<id>https://forexsb.com/forum/post/41135/#p41135</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: "Oscillator of MACD" doesn't close long positions]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/41122/#p41122" />
			<content type="html"><![CDATA[<p>Hans, you strategy has 17 indicator + logical groups!! How are you sure what exactly indicator makes the problem?</p><p>If you want to study the behavior of one indicator, the best is to use only that indicator in the corresponding role. <br />In your case the &quot;Oscillator of MACD&quot; indicator is used as a closing condition.</p><p>I made a simple strategy that opens only long positions and uses&nbsp; &quot;Oscillator of MACD&quot; for closing. I&#039;m using the same parameters as yours.</p><p><span class="postimg"><img src="http://s23.postimg.org/xpcwk2niz/varchev.png" alt="http://s23.postimg.org/xpcwk2niz/varchev.png" /></span></p><br /><p>It closes the positions successfully:</p><p><span class="postimg"><img src="http://s23.postimg.org/iaixe2gez/varchev.png" alt="http://s23.postimg.org/iaixe2gez/varchev.png" /></span></p><p>From my experiment I see that the indicators works well, so the problem must be other.</p><p>I see you use Day Closing indicator for closing point. This indicator detects the expected bar close for the day and sends a close signal 15 seconds earlier. However, if there are no ticks in that period, the indicator is not able to work. I suggest you to use Day Closing 2 indicator and to set closing time at least 1 minute earlier than the market close hour for the week days and Friday.</p><p>...<br />I&#039;ll edit the header of your topic because it is misleading ind offensive. We do not develop software for brokers to help them stealing the traders money.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2017-01-24T06:39:05Z</updated>
			<id>https://forexsb.com/forum/post/41122/#p41122</id>
		</entry>
		<entry>
			<title type="html"><![CDATA["Oscillator of MACD" doesn't close long positions]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/41119/#p41119" />
			<content type="html"><![CDATA[<p>The mentioned exit conditon doesn&#039;t close out any positions, when I trade it on a live account. It does so in the FSB and MT4 backtester, but not live. The Oscillator of MACD may not be the only indicator that doesn&#039;t work in the EA. Here&#039;s the EA:</p>]]></content>
			<author>
				<name><![CDATA[Hannes]]></name>
				<uri>https://forexsb.com/forum/user/9312/</uri>
			</author>
			<updated>2017-01-24T02:29:15Z</updated>
			<id>https://forexsb.com/forum/post/41119/#p41119</id>
		</entry>
</feed>
