<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — FSB/FST trading discrepancies - Markup]]></title>
		<link>https://forexsb.com/forum/topic/3419/fsbfst-trading-discrepancies-markup/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/3419" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in FSB/FST trading discrepancies - Markup.]]></description>
		<lastBuildDate>Thu, 28 Jun 2012 22:25:49 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: FSB/FST trading discrepancies - Markup]]></title>
			<link>https://forexsb.com/forum/post/15225/#p15225</link>
			<description><![CDATA[<p>Yes, this is a perfect solution. I think FST is more robust with this change.</p>]]></description>
			<author><![CDATA[null@example.com (SpiderMan)]]></author>
			<pubDate>Thu, 28 Jun 2012 22:25:49 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/15225/#p15225</guid>
		</item>
		<item>
			<title><![CDATA[Re: FSB/FST trading discrepancies - Markup]]></title>
			<link>https://forexsb.com/forum/post/15211/#p15211</link>
			<description><![CDATA[<div class="quotebox"><cite>SpiderMan wrote:</cite><blockquote><p>The close option sounds like a good solution. I haven&#039;t even thought about it but I presume the same thing applies when entering a&nbsp; short position.</p></blockquote></div><p>Close option must be good for both directions. It fixes the markup issue. In English it sounds like that:<br />Enter long when last chart price touches or breaks through the indicator entry price. Actual order price is the broker&#039;s Bid for a short position and broker&#039;s Ask for a long position.</p><p>If there is no Markup, Bid = Close at any moment. (We have Bid charts.)<br />If broker uses Markup, Bid price is always below the chart&#039;s last price.</p><p>I think even to leave &quot;Close&quot; option to be the default one. It must work well in both cases.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Thu, 28 Jun 2012 04:42:26 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/15211/#p15211</guid>
		</item>
		<item>
			<title><![CDATA[Re: FSB/FST trading discrepancies - Markup]]></title>
			<link>https://forexsb.com/forum/post/15205/#p15205</link>
			<description><![CDATA[<p>The close option sounds like a good solution. I haven&#039;t even thought about it but I presume the same thing applies when entering a&nbsp; short position.</p>]]></description>
			<author><![CDATA[null@example.com (SpiderMan)]]></author>
			<pubDate>Wed, 27 Jun 2012 22:36:02 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/15205/#p15205</guid>
		</item>
		<item>
			<title><![CDATA[Re: FSB/FST trading discrepancies - Markup]]></title>
			<link>https://forexsb.com/forum/post/15201/#p15201</link>
			<description><![CDATA[<p>Markup can be included in an indicator for FST. Its values are not collected in an array but the current value is available with the following code:</p><div class="codebox"><pre><code>double Markup = Data.LastClose - Data.Bid; // As price. Ex. 0.00003

double Markup = Math.Round((Data.LastClose - Data.Bid) / Data.InstrProperties.Point); // As points. Ex. 3</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Wed, 27 Jun 2012 15:50:28 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/15201/#p15201</guid>
		</item>
		<item>
			<title><![CDATA[Re: FSB/FST trading discrepancies - Markup]]></title>
			<link>https://forexsb.com/forum/post/15199/#p15199</link>
			<description><![CDATA[<p>When we lost a trade, we investigate the reasons and try to correct the strategy or software.<br />When broker lost a trade, he investigate the reasons and changes the rules.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Wed, 27 Jun 2012 14:56:21 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/15199/#p15199</guid>
		</item>
		<item>
			<title><![CDATA[Re: FSB/FST trading discrepancies - Markup]]></title>
			<link>https://forexsb.com/forum/post/15197/#p15197</link>
			<description><![CDATA[<div class="quotebox"><cite>SpiderMan wrote:</cite><blockquote><div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>Any comments?</p></blockquote></div><p>I would have thought that closing prices would have been covered by the logic slots. In this case we are looking to trade if a level is touched rather than where the close is. Maybe in trade settings add a &quot;broker markup&quot; option to add or subtract an offset. With the broker shown in my screen shots it is 0.6 pips.</p></blockquote></div><p>Not a good idea I&#039;m afraid as my markup went from 0.3 to 0.5, something tells me &quot;the best&quot; is yet to come...</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Wed, 27 Jun 2012 14:46:05 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/15197/#p15197</guid>
		</item>
		<item>
			<title><![CDATA[Re: FSB/FST trading discrepancies - Markup]]></title>
			<link>https://forexsb.com/forum/post/15194/#p15194</link>
			<description><![CDATA[<p>A testing version with this option is published here: <a href="http://forexsb.com/forum/topic/3422/fst-1411-nightly-build/">FST 1.4.11 Nightly Build</a></p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Wed, 27 Jun 2012 13:35:26 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/15194/#p15194</guid>
		</item>
		<item>
			<title><![CDATA[Re: FSB/FST trading discrepancies - Markup]]></title>
			<link>https://forexsb.com/forum/post/15192/#p15192</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>I would have thought that <strong>closing prices</strong> would have been covered by the logic slots.</p></blockquote></div><p>I mean close price of current bar. MT4 shows the last tick price as bar close even if it is in the middle of the bar&#039;s time span. Normally Close = Bid but in your case Close = Bid&nbsp; + Markup.</p><p>I already made a new version of FST with this features, but cannot test it properly since my broker doesn&#039;t use Markup. I&#039;ll publish the new version in Developers forum in minutes. Markup info will be available in the Market Info window.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Wed, 27 Jun 2012 13:11:41 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/15192/#p15192</guid>
		</item>
		<item>
			<title><![CDATA[Re: FSB/FST trading discrepancies - Markup]]></title>
			<link>https://forexsb.com/forum/post/15191/#p15191</link>
			<description><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>Any comments?</p></blockquote></div><p>I would have thought that closing prices would have been covered by the logic slots. In this case we are looking to trade if a level is touched rather than where the close is. Maybe in trade settings add a &quot;broker markup&quot; option to add or subtract an offset. With the broker shown in my screen shots it is 0.6 pips.</p>]]></description>
			<author><![CDATA[null@example.com (SpiderMan)]]></author>
			<pubDate>Wed, 27 Jun 2012 13:04:05 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/15191/#p15191</guid>
		</item>
		<item>
			<title><![CDATA[Re: FSB/FST trading discrepancies - Markup]]></title>
			<link>https://forexsb.com/forum/post/15190/#p15190</link>
			<description><![CDATA[<p>And again we have to workaround brokers&#039; pitfalls.</p><p>My first idea for a solution is to introduce a new option in <br /><strong>Trade Settings</strong> -&gt; <strong>Long logic rule base price</strong> -&gt; <strong>Close</strong></p><p>The current default option value is &quot;Bid&quot;. It means that when Bit price touches the entry level, FST sends an order.<br />&quot;Close&quot; option will check when Close price touches the entry level. Close price must be what MT4 sends for last chart value. The real deal will be executed at the actual trading prices.</p><br /><p>Code for basePrice and oldPrice will be something like that:<br /></p><div class="codebox"><pre><code>double basePrice;
double oldPrice;

switch (Configs.LongTradeLogicPrice)
{
    case &quot;Ask&quot;:
        basePrice = Data.Ask;
        oldPrice = Data.OldAsk;
        break;
    case &quot;Close&quot;:
        basePrice = Data.Close[Bars-1];
        oldPrice  = Data.OldClose[Bars-1];
        break;
    default: // case &quot;Bid&quot;:
        basePrice = Data.Bid;
        oldPrice = Data.OldBit;
        break;
}</code></pre></div><p>Any comments?</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Wed, 27 Jun 2012 11:40:19 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/15190/#p15190</guid>
		</item>
		<item>
			<title><![CDATA[Re: FSB/FST trading discrepancies - Markup]]></title>
			<link>https://forexsb.com/forum/post/15189/#p15189</link>
			<description><![CDATA[<p>Got the answer fairly quickly, it is called markup, additional fee broker gets from us on top of spread. </p><p>Explanation here: <a href="http://www.investopedia.com/terms/m/markup.asp#axzz1yzPqbtH7">http://www.investopedia.com/terms/m/mar … z1yzPqbtH7</a></p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Wed, 27 Jun 2012 10:55:21 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/15189/#p15189</guid>
		</item>
		<item>
			<title><![CDATA[Re: FSB/FST trading discrepancies - Markup]]></title>
			<link>https://forexsb.com/forum/post/15188/#p15188</link>
			<description><![CDATA[<p>I turned ask line on, it showed up, but still not near the real ask line. </p><p><a href="http://postimage.org/image/6spxhptsp/"><span class="postimg"><img src="http://s12.postimage.org/6spxhptsp/ask_line.jpg" alt="http://s12.postimage.org/6spxhptsp/ask_line.jpg" /></span></a></p><p>I&#039;ll ask my broker.</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Wed, 27 Jun 2012 10:36:25 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/15188/#p15188</guid>
		</item>
		<item>
			<title><![CDATA[Re: FSB/FST trading discrepancies - Markup]]></title>
			<link>https://forexsb.com/forum/post/15184/#p15184</link>
			<description><![CDATA[<p>The plot thickens!</p><p>I have turned on the ASK line in the options and it doesn&#039;t display. Below is a screenshot of MT4 with the trading window up which clearly shows the bid price on the chart as 0.6 pips higher than the bid price in the trading window. The bid/ask spread is 2.4 pips so the price line is not the middle price.</p> <br /><p><a href="http://postimage.org/image/cwt9yfugj/"><span class="postimg"><img src="http://s13.postimage.org/cwt9yfugj/Program_Manager_2012_06_27_14_55_33.jpg" alt="http://s13.postimage.org/cwt9yfugj/Program_Manager_2012_06_27_14_55_33.jpg" /></span></a></p>]]></description>
			<author><![CDATA[null@example.com (SpiderMan)]]></author>
			<pubDate>Wed, 27 Jun 2012 05:19:35 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/15184/#p15184</guid>
		</item>
		<item>
			<title><![CDATA[Re: FSB/FST trading discrepancies - Markup]]></title>
			<link>https://forexsb.com/forum/post/15182/#p15182</link>
			<description><![CDATA[<p>Is option &quot;Show Ask Line&quot; from Tools - Chart of MT4 menu activated? I&#039;m not sure what it is doing, but it sounds to me that the chart should show Ask prices.</p><p>Ears ago some brokers were drawing middle price chart (Bid + Ask) / 2 instead of Bid charts.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Wed, 27 Jun 2012 00:55:53 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/15182/#p15182</guid>
		</item>
		<item>
			<title><![CDATA[Re: FSB/FST trading discrepancies - Markup]]></title>
			<link>https://forexsb.com/forum/post/15181/#p15181</link>
			<description><![CDATA[<div class="quotebox"><cite>SpiderMan wrote:</cite><blockquote><p>This is becoming more interesting. I have accounts with 2 brokers and I am running the same system on both. One broker didn&#039;t execute the trade, the other did. As you suggested Footon, I compared the actual bid price with the price on the chart. With one broker it is identical and the bid price is the same as the chart price, with the other the bid price is actually a constant 0.6 pips lower than the price on the chart, this is why my .2 pips difference was enough to trigger the trade.</p><p>The question I why the difference, the spreads look the same?</p></blockquote></div><p>Yeah, I was pretty puzzled when I discovered the difference. For my variable spread account, bid is 0.3 lower and that distance is 90% of the time there, it seems almost like a fixed spread to me. There has to be a catch why broker is doing this, but I haven&#039;t figured it out yet. </p><p>It is very interesting news that your other broker quotes bid on chart correctly. Is it dirty vs honest broker here?</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Tue, 26 Jun 2012 22:34:40 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/15181/#p15181</guid>
		</item>
	</channel>
</rss>
