<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Oscillator_of_ATR]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/3644/" />
	<updated>2012-09-29T10:10:04Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/3644/oscillatorofatr/</id>
		<entry>
			<title type="html"><![CDATA[Re: Oscillator_of_ATR]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/16511/#p16511" />
			<content type="html"><![CDATA[<p>No, it&#039;s not correct and the indi is fine, no bugs in what you are describing. The reason for it is that it is a nondirectional indicator, if conditions are met, it allows all positions to be opened, not selective positions.</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2012-09-29T10:10:04Z</updated>
			<id>https://forexsb.com/forum/post/16511/#p16511</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Oscillator_of_ATR]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/16510/#p16510" />
			<content type="html"><![CDATA[<p>When I used oscillator of ATR as an open logic condition, it give me this:<br />Long Entry Allowed : <strong>YES</strong><br />Short Entry Allowed: <strong>YES</strong><br />That is both are &quot;YES&quot; for whatever logic condition I used, it just gives the false signal.</p><p>So I change: &quot;Oscillator of ATR.cs&quot;<br />on line 198:<br />NoDirectionOscillatorLogic(iFirstBar, iPrvs, adOscllator, 0, ref Component[1], indLogic);<br />Component[2].Value = Component[1].Value;</p><p>to:<br />OscillatorLogic(iFirstBar, iPrvs, adOscllator, 0, 0, ref Component[1], ref Component[2], indLogic);</p><p>and make it as a custom indicator.</p><p>Is this correct ? since I am not familiar with your source code.</p>]]></content>
			<author>
				<name><![CDATA[bingo]]></name>
				<uri>https://forexsb.com/forum/user/6891/</uri>
			</author>
			<updated>2012-09-29T09:58:50Z</updated>
			<id>https://forexsb.com/forum/post/16510/#p16510</id>
		</entry>
</feed>
