<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Gap / Price jump]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/8339/" />
	<updated>2020-04-19T19:54:48Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/8339/gap-price-jump/</id>
		<entry>
			<title type="html"><![CDATA[Re: Gap / Price jump]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/60258/#p60258" />
			<content type="html"><![CDATA[<p>The &quot;Price Move&quot; indicator is intended to work based on Open price only. The other Base prices are added for consistency but are not recommended because they do not provide symmetry for long and short trades.</p><p>Having into account that the Generator never changes the &quot;Base price&quot;, the Price move indicator doesn&#039;t need to calculate the entry gap.</p><p><strong>We need gap protection for bands calculated on previous bars.</strong></p><p>When an indicator is calculated on Open price, it doesn&#039;t set UPBV = true.</p><p>Because the Price Move indicator is only for entries, it doesn&#039;t hurt much if someone uses it based on another Base price. If a gap happens the worst case is to miss an entry. Because it happens rarely and the behaviour is consistent in FSB Pro and MT,&nbsp; I decided that it is not necessary to make it more complex than needed.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2020-04-19T19:54:48Z</updated>
			<id>https://forexsb.com/forum/post/60258/#p60258</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gap / Price jump]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/60254/#p60254" />
			<content type="html"><![CDATA[<p>1) No, the indi sets position opening price values and if market price equalizes with those, then position order is sent out, in this case price starts above and continues to go above.<br />2) Yes, because price started lower than the position opening value, it made a move upward by the amount defined and therefore order has to be sent out.</p><p>This covers the theory I hope <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /> But these are excellent questions.</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2020-04-18T10:48:22Z</updated>
			<id>https://forexsb.com/forum/post/60254/#p60254</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gap / Price jump]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/60252/#p60252" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>footon wrote:</cite><blockquote><p>Price Move works on a one bar basis. Bar opens, price moves and indicator works on that info, gaps and jumps don&#039;t matter.</p><p>Ross Hook and the other one are basically price patterns with a defined price/pattern point. One could argue that they might need a gap management code for closing points. Can someone present me a case where it is needed?</p></blockquote></div><p>Footon, thanks for answer!<br />I&#039;d like to clarify the situation on the simplest indicator with only Open slot: <span class="bbu">Price move</span>.<br />For example, we select &quot;Price move&quot; with: Base price = High, Price move = 10 points, &quot;Enter long after an upward move&quot;, UPBV=True</p><p>1) What will happen if the current bar opens with gap up at price = High[bar-1] + 15 points? Will the buy order be executed?<br />2) What will happen if due to broker problems there will be discontinuity in quotes? For example, on the current bar after quote: High[bar-1]+7 points will be quote: High[bar-1] + 13 points. Will the long order be executed?</p>]]></content>
			<author>
				<name><![CDATA[Finmod123]]></name>
				<uri>https://forexsb.com/forum/user/11348/</uri>
			</author>
			<updated>2020-04-18T08:44:31Z</updated>
			<id>https://forexsb.com/forum/post/60252/#p60252</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gap / Price jump]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/60249/#p60249" />
			<content type="html"><![CDATA[<p>Fotoon, just&nbsp; the basic logic . Great!<br />There is (to my knowledge) NOT one possible case as you point it out in witch gap management is required for closing points.</p>]]></content>
			<author>
				<name><![CDATA[Maximus1]]></name>
				<uri>https://forexsb.com/forum/user/12028/</uri>
			</author>
			<updated>2020-04-17T17:19:12Z</updated>
			<id>https://forexsb.com/forum/post/60249/#p60249</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gap / Price jump]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/60245/#p60245" />
			<content type="html"><![CDATA[<p>Price Move works on a one bar basis. Bar opens, price moves and indicator works on that info, gaps and jumps don&#039;t matter.</p><p>Ross Hook and the other one are basically price patterns with a defined price/pattern point. One could argue that they might need a gap management code for closing points. Can someone present me a case where it is needed?</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2020-04-17T12:34:01Z</updated>
			<id>https://forexsb.com/forum/post/60245/#p60245</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gap / Price jump]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/60236/#p60236" />
			<content type="html"><![CDATA[<p>Very fine technical observation , may be Mr. Popov&nbsp; or Fotoon could answer these intricate question, because it deals with the logistics and not with the way the indicator is interpreted in a classical form. I am curious to know the answer as well.</p>]]></content>
			<author>
				<name><![CDATA[Maximus1]]></name>
				<uri>https://forexsb.com/forum/user/12028/</uri>
			</author>
			<updated>2020-04-17T01:58:06Z</updated>
			<id>https://forexsb.com/forum/post/60236/#p60236</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Gap / Price jump]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/60223/#p60223" />
			<content type="html"><![CDATA[<p>Hello traders!</p><p>I have noticed that that some indicators have special conditions to deal with gaps/price jumps (for example: Bollinger Bands, Moving Average, ATR Stop, Better Bollinger Bands):<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (High[bar - 1] &lt; previousValue &amp;&amp; open &gt; value ||<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Low[bar - 1] &gt; previousValue &amp;&amp; open &lt; value ||<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Close[bar - 1] &lt; value &amp;&amp; open &gt; value ||<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Close[bar - 1] &gt; value &amp;&amp; open &lt; value)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tempVal = open; </p><p>While other indicators (Ross Hook, Recent Swing High Low, Price Move) with SlotTypes.Open or SlotTypes.Close don&#039;t have such special conditions for dealing with gaps. </p><p>Are these conditions for dealing with gaps necessary in indicators&#039; code? Why some indicators don&#039;t have such conditions?</p>]]></content>
			<author>
				<name><![CDATA[Finmod123]]></name>
				<uri>https://forexsb.com/forum/user/11348/</uri>
			</author>
			<updated>2020-04-16T09:28:48Z</updated>
			<id>https://forexsb.com/forum/post/60223/#p60223</id>
		</entry>
</feed>
