<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — Off quote error throws FST off track/bug report!]]></title>
		<link>https://forexsb.com/forum/topic/2395/off-quote-error-throws-fst-off-trackbug-report/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/2395/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Off quote error throws FST off track/bug report!.]]></description>
		<lastBuildDate>Tue, 19 Jul 2011 16:35:47 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Off quote error throws FST off track/bug report!]]></title>
			<link>https://forexsb.com/forum/post/9777/#p9777</link>
			<description><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>Bug confirmed and fixed.</p><p>Please try the attached expert. If it works normally I&#039;ll update FST.</p></blockquote></div><p>Now it seems that Protection_Max_StopLoss is working correctly as expected.</p><p>I have discovered another strange behaviour with trailingstop. Sometimes I didn&#039;t see the stop trailing when I use trailingstop indicator. Sometimes the stop remain fixed and not trails on Trailing Stop Limit indicator (both Protection_Max_StopLoss = 0 and Permament stop loss = 0 ). I still examine this issue.</p>]]></description>
			<author><![CDATA[null@example.com (zenoni)]]></author>
			<pubDate>Tue, 19 Jul 2011 16:35:47 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/9777/#p9777</guid>
		</item>
		<item>
			<title><![CDATA[Re: Off quote error throws FST off track/bug report!]]></title>
			<link>https://forexsb.com/forum/post/9770/#p9770</link>
			<description><![CDATA[<p>Bug confirmed and fixed.</p><p>Please try the attached expert. If it works normally I&#039;ll update FST.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Mon, 18 Jul 2011 15:18:39 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/9770/#p9770</guid>
		</item>
		<item>
			<title><![CDATA[Re: Off quote error throws FST off track/bug report!]]></title>
			<link>https://forexsb.com/forum/post/9768/#p9768</link>
			<description><![CDATA[<p>I tested this Protection_Max_StopLoss feature, but I couldn&#039;t get it working properly.</p><p>In 5 digit broker I set Protection_Max_StopLoss = 500 (50 pips). <br />Now if I manually modified an open order and cleared a stoploss, then the expert set a new stoploss for 50 (5 pips) not 500 (50 pips). It did the same when I opened an order through FST Operation tab.</p><p>On the second attempt to test this feature I set initial stop loss = 1000 (100 pips) and Protection_Max_StopLoss feature also failed to set 500 (50 pip) stoploss.</p><div class="quotebox"><cite>Popov wrote:</cite><blockquote><p><strong>Protection_Max_StopLoss</strong><br />The expert checks the open positions at every tick and if found no SL or SL lower (higher for short) than selected, it sets SL to the defined value. The value is in points. Example:<br />Protection_Max_StopLoss = 200 means 200 pips for 4 digit broker and 20 pips for 5 digit broker.</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (zenoni)]]></author>
			<pubDate>Mon, 18 Jul 2011 14:05:14 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/9768/#p9768</guid>
		</item>
		<item>
			<title><![CDATA[Re: Off quote error throws FST off track/bug report!]]></title>
			<link>https://forexsb.com/forum/post/9700/#p9700</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>I would recommend to use the latest Expert v1.4 from 2011-07-07 as a base for your modifications.</p></blockquote></div><p>I am running FST on a VPS I don&#039;t have admin privileges so I haven&#039;t done the update yet. I am running on a live account and its making money so I don&#039;t want to change up to much <img src="https://forexsb.com/forum/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /> . I can modify and save the mt4-expert on the VPS myself. I have had some trades drop the SL and TP I am just trying to add some redundant safety measures for my equity. I know I cant backtest the Breakeven but it does seem to be saving some trades on my forward test. I got it working its not moving the TP anymore. here is the fixed EA (not the latest version EA)</p>]]></description>
			<author><![CDATA[null@example.com (Shr1k)]]></author>
			<pubDate>Mon, 11 Jul 2011 03:01:40 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/9700/#p9700</guid>
		</item>
		<item>
			<title><![CDATA[Re: Off quote error throws FST off track/bug report!]]></title>
			<link>https://forexsb.com/forum/post/9699/#p9699</link>
			<description><![CDATA[<p>Shr1k, adding Protection_Max_TakeProfit and BreakEven_Offset makes sense.</p><p>You can check the expert on heavy load when set TP and SL to 1 point on Operation tab and start executing orders every 5-10 seconds. In that conditions the expert has to calculate stops first according to the current price and broker&#039;s MODE_STOPLEVEL.</p><p>I would recommend to use the latest Expert v1.4 from 2011-07-07 as a base for your modifications.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Mon, 11 Jul 2011 00:09:32 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/9699/#p9699</guid>
		</item>
		<item>
			<title><![CDATA[Re: Off quote error throws FST off track/bug report!]]></title>
			<link>https://forexsb.com/forum/post/9698/#p9698</link>
			<description><![CDATA[<p>this EA will place and check for TP and SL its set to retry 4 times. I am going to increase the number of tries on my real test account. it also has a profit offset on the breakeven. I just ran it for a while on a m1 chart trading almost every bar. seems to work as expected. <br /><span class="postimg"><img src="http://i54.tinypic.com/261jdjp.jpg" alt="http://i54.tinypic.com/261jdjp.jpg" /></span></p><p>edit &gt;&gt;&gt;&gt; its not working 100% can someone take a look at this I need the EA to check for SL and TP and drop one on an open trade if its running without SL or TP&nbsp; its almost working it is pushing the TP out as the trade moves it will never hit it.</p><br /><p>edit &gt;&gt;&gt; removed broken EA link</p>]]></description>
			<author><![CDATA[null@example.com (Shr1k)]]></author>
			<pubDate>Sun, 10 Jul 2011 23:52:14 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/9698/#p9698</guid>
		</item>
		<item>
			<title><![CDATA[Re: Off quote error throws FST off track/bug report!]]></title>
			<link>https://forexsb.com/forum/post/9660/#p9660</link>
			<description><![CDATA[<p>I went through the mt4 log to try and figure out what is going on. My strat is on a m5 chart and its using an ATR stop. at times the ATR stop level is tighter then the broker allows this causes errors. I also have a hard stop at 20 pips set in the strat properties. the hard stop is not getting set at all that I can see.&nbsp; I can see in the log an order is placed with no SL ot TP then its modified. if the modification fails the trade gets left open with no SL or TP yikes!! I am going to test out the new FST or the mt4 expert above with the stop level input. I think this will always get me a trade with a stop. could the mt4 expert be modified to check for TP also. I had a trade that was modified by the breakeven setting it lost its TP.&nbsp; This was the mt4 expert I changed to allow a breakeven offset. I dont think the 3 lines of code I changed would cause it to lose a TP.</p>]]></description>
			<author><![CDATA[null@example.com (Shr1k)]]></author>
			<pubDate>Fri, 08 Jul 2011 02:43:43 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/9660/#p9660</guid>
		</item>
		<item>
			<title><![CDATA[Re: Off quote error throws FST off track/bug report!]]></title>
			<link>https://forexsb.com/forum/post/9654/#p9654</link>
			<description><![CDATA[<p>this has happened to me twice in the last 2 days! It has never happened before that. I am running FST on a 4 digit account and a 5 digit account. it has only happened on the 5 digit account. I think its a situation that happens when price moves while the order is in progress. I increased the Deviation by default to 5 pips it was set to zero. I think on the 5 digit account an order was getting rejected if price moved a fraction of a pip. on the 4 digit account price would have to move a whole pip in the time the order was processing to cause an error.&nbsp; I can still see situations where price could gap even 5 pips and I could get left with no stops. I am going to test the above mt4 expert also. Thanks!</p><p>edit &gt;&gt;the post above appeared as I was posting looks like a good idea to resend the orders after errors.&nbsp; I am looking forward to getting the update.</p>]]></description>
			<author><![CDATA[null@example.com (Shr1k)]]></author>
			<pubDate>Thu, 07 Jul 2011 04:18:30 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/9654/#p9654</guid>
		</item>
		<item>
			<title><![CDATA[Re: Off quote error throws FST off track/bug report!]]></title>
			<link>https://forexsb.com/forum/post/9653/#p9653</link>
			<description><![CDATA[<p>I also made FST to check for zero SL or TP after an error and to send a new OrderModify.</p><p><a href="http://postimage.org/image/hzq9j3yc/"><span class="postimg"><img src="http://s3.postimage.org/hzq9j3yc/07_07_2011_07_04_31.jpg" alt="http://s3.postimage.org/hzq9j3yc/07_07_2011_07_04_31.jpg" /></span></a></p><p>This feature will be available in new FST 1.4 (within next few days).</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Thu, 07 Jul 2011 04:18:16 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/9653/#p9653</guid>
		</item>
		<item>
			<title><![CDATA[Re: Off quote error throws FST off track/bug report!]]></title>
			<link>https://forexsb.com/forum/post/9640/#p9640</link>
			<description><![CDATA[<p>These are good additions, hopefully these will help avoiding disasters I&#039;ve experienced in terms of my account equity. Thank you!</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Wed, 06 Jul 2011 12:35:23 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/9640/#p9640</guid>
		</item>
		<item>
			<title><![CDATA[Re: Off quote error throws FST off track/bug report!]]></title>
			<link>https://forexsb.com/forum/post/9638/#p9638</link>
			<description><![CDATA[<p>I made some modifications of the expert.<br />Now it accepts two new parameters:</p><p><strong>Protection_Min_Account</strong><br />If account equity drops below this value, the expert will close out all positions and stop automatic trade.<br />The value must be set in account currency. Example:<br />Protection_Min_Account = 700 will close positions if the equity drops below 700 USD (EUR if you account is in EUR).</p><p><strong>Protection_Max_StopLoss</strong><br />The expert checks the open positions at every tick and if found no SL or SL lower (higher for short) than selected, it sets SL to the defined value. The value is in points. Example:<br />Protection_Max_StopLoss = 200 means 200 pips for 4 digit broker and 20 pips for 5 digit broker.</p><p><a href="http://postimage.org/image/94tgrvt0/"><span class="postimg"><img src="http://s3.postimage.org/94tgrvt0/expert_options_safety.jpg" alt="http://s3.postimage.org/94tgrvt0/expert_options_safety.jpg" /></span></a></p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Wed, 06 Jul 2011 11:06:31 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/9638/#p9638</guid>
		</item>
		<item>
			<title><![CDATA[Re: Off quote error throws FST off track/bug report!]]></title>
			<link>https://forexsb.com/forum/post/9626/#p9626</link>
			<description><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>Check this expert. It corrects SL and TP if &quot;Invalid Stops&quot; error occurred during retries.</p><br /><p><a href="http://postimage.org/image/31pxxmdms/"><span class="postimg"><img src="http://s3.postimage.org/31pxxmdms/05_07_2011_19_18_48.jpg" alt="http://s3.postimage.org/31pxxmdms/05_07_2011_19_18_48.jpg" /></span></a></p></blockquote></div><p>Will try it out, if something significant comes up, I&#039;ll post.</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Tue, 05 Jul 2011 17:28:37 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/9626/#p9626</guid>
		</item>
		<item>
			<title><![CDATA[Re: Off quote error throws FST off track/bug report!]]></title>
			<link>https://forexsb.com/forum/post/9625/#p9625</link>
			<description><![CDATA[<p>Check this expert. It corrects SL and TP if &quot;Invalid Stops&quot; error occurred during retries.</p><br /><p><a href="http://postimage.org/image/31pxxmdms/"><span class="postimg"><img src="http://s3.postimage.org/31pxxmdms/05_07_2011_19_18_48.jpg" alt="http://s3.postimage.org/31pxxmdms/05_07_2011_19_18_48.jpg" /></span></a></p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Tue, 05 Jul 2011 16:16:56 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/9625/#p9625</guid>
		</item>
		<item>
			<title><![CDATA[Re: Off quote error throws FST off track/bug report!]]></title>
			<link>https://forexsb.com/forum/post/9622/#p9622</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>EA was not stopped, and OrderModify was not successful - at least journals in MT and FST tell me this.</p></blockquote></div><p>I&#039;m not sure what MT reports. It was designed to protect brokers, not the traders. That is the reason I wrote FSB and FST. As you see the expert is 1700 lines and its purpose is only to execute trades. How many expert have you seen with such depth?</p><div class="quotebox"><cite>footon wrote:</cite><blockquote><p>If I raise TRADE_RETRY_WAIT time, will it make a difference? At the moment it is 100, which is less than a second, 1/10 of a second I think, maybe this is causing problems? It takes 4-5 seconds to process a modification order, so will a ten second sleep (TRADE_RETRY_WAIT = 10000) for example have an impact?</p></blockquote></div><p>TRADE_RETRY_WAIT&nbsp; acts after broker returns error. This is the delay to next attempt excluding the order proceeding time.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Tue, 05 Jul 2011 13:22:22 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/9622/#p9622</guid>
		</item>
		<item>
			<title><![CDATA[Re: Off quote error throws FST off track/bug report!]]></title>
			<link>https://forexsb.com/forum/post/9621/#p9621</link>
			<description><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>I can make FST to check SL and TP of the reported position. If they are zeroes or beyond Permanent SL and TP, FST to resend OrderModify with Permanent SL and TP.</p></blockquote></div><p>That would help, at least 2 modification orders would be sent instead of one.</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Tue, 05 Jul 2011 12:52:58 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/9621/#p9621</guid>
		</item>
	</channel>
</rss>
