<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — Gap Indicator]]></title>
		<link>https://forexsb.com/forum/topic/3226/gap-indicator/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/3226/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Gap Indicator.]]></description>
		<lastBuildDate>Tue, 17 Apr 2012 00:58:25 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Gap Indicator]]></title>
			<link>https://forexsb.com/forum/post/13965/#p13965</link>
			<description><![CDATA[<p>This would be a useful indicator to check the data with . Since the markets are 24 hours then any gap more than a few pips might be indicative of an error in the data, except over the weekends.</p>]]></description>
			<author><![CDATA[null@example.com (SpiderMan)]]></author>
			<pubDate>Tue, 17 Apr 2012 00:58:25 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/13965/#p13965</guid>
		</item>
		<item>
			<title><![CDATA[Gap Indicator]]></title>
			<link>https://forexsb.com/forum/post/13958/#p13958</link>
			<description><![CDATA[<p>Gap indicator measures the gap between current open price and previous bar close price.<br />If the gap is greater than a Minimum Gap, the indicator rises a signal.</p><p>There are two logical rules.<br /> - &quot;Positive Gap&quot; - rises buy signal if the gap is positive and sell signal if the gap is negative.<br /> - &quot;Negative Gap&quot; - rises sell signal if the gap is positive and buy signal if the gap is negative.</p><p>Formula:<br /></p><div class="codebox"><pre><code>// Positive Gap logic
if (Open[bar] &gt; Close[bar - 1] + minGap) 
    longSignals[bar] = 1;
if (Open[bar] &lt; Close[bar - 1] - minGap) 
    shortSignals[bar] = 1;

// Negative Gap logic
if (Open[bar] &lt; Close[bar - 1] - minGap) 
    longSignals[bar] = 1;
if (Open[bar] &gt; Close[bar - 1] + minGap) 
    shortSignals[bar] = 1;</code></pre></div><p>Screenshot:<br /><span class="postimg"><img src="http://i.imgur.com/LXSgi.png" alt="http://i.imgur.com/LXSgi.png" /></span></p><p>Possible use:<br /><span class="postimg"><img src="http://i.imgur.com/toyvq.png" alt="http://i.imgur.com/toyvq.png" /></span></p><p>Indicator is attached below:</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Mon, 16 Apr 2012 11:30:06 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/13958/#p13958</guid>
		</item>
	</channel>
</rss>
