<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — Mirroring condition Could be eased inside the same indicator!!!]]></title>
		<link>https://forexsb.com/forum/topic/5286/mirroring-condition-could-be-eased-inside-the-same-indicator/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/5286/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Mirroring condition Could be eased inside the same indicator!!!.]]></description>
		<lastBuildDate>Wed, 22 Apr 2015 05:45:57 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Mirroring condition Could be eased inside the same indicator!!!]]></title>
			<link>https://forexsb.com/forum/post/28696/#p28696</link>
			<description><![CDATA[<p>Use &quot;IndicatorLogic.The_indicator_is_higher_than_the_level_line&quot; or &quot;IndicatorLogic.The_indicator_is_lower_than_the_level_line&quot;</p><p>and give the level to the <strong>NoDirectionOscillatorLogic</strong>. It takes one level value.</p><div class="codebox"><pre><code>/// &lt;summary&gt;
///     Calculates the logic of a No Direction Oscillator.
/// &lt;/summary&gt;
/// &lt;param name=&quot;firstBar&quot;&gt;The first bar number.&lt;/param&gt;
/// &lt;param name=&quot;prvs&quot;&gt;To use the previous bar or not.&lt;/param&gt;
/// &lt;param name=&quot;adIndValue&quot;&gt;The indicator values.&lt;/param&gt;
/// &lt;param name=&quot;dLevel&quot;&gt;The Level value.&lt;/param&gt;
/// &lt;param name=&quot;indComp&quot;&gt;Indicator component where to save the results.&lt;/param&gt;
/// &lt;param name=&quot;indLogic&quot;&gt;The chosen logic.&lt;/param&gt;
/// &lt;returns&gt;True if everything is ok.&lt;/returns&gt;
protected void NoDirectionOscillatorLogic(int firstBar, int prvs, double[] adIndValue, double dLevel, ref IndicatorComp indComp, IndicatorLogic indLogic)</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Wed, 22 Apr 2015 05:45:57 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/28696/#p28696</guid>
		</item>
		<item>
			<title><![CDATA[Re: Mirroring condition Could be eased inside the same indicator!!!]]></title>
			<link>https://forexsb.com/forum/post/28695/#p28695</link>
			<description><![CDATA[<p>Another Question But using The Level Line :</p><p>If I need to Close both long and short at the same level line How it can be done?</p>]]></description>
			<author><![CDATA[null@example.com (ahmedalhoseny)]]></author>
			<pubDate>Wed, 22 Apr 2015 04:54:11 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/28695/#p28695</guid>
		</item>
		<item>
			<title><![CDATA[Re: Mirroring condition Could be eased inside the same indicator!!!]]></title>
			<link>https://forexsb.com/forum/post/28694/#p28694</link>
			<description><![CDATA[<p>Fantastic <br />Thanks Pop</p>]]></description>
			<author><![CDATA[null@example.com (ahmedalhoseny)]]></author>
			<pubDate>Wed, 22 Apr 2015 04:51:30 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/28694/#p28694</guid>
		</item>
		<item>
			<title><![CDATA[Re: Mirroring condition Could be eased inside the same indicator!!!]]></title>
			<link>https://forexsb.com/forum/post/28693/#p28693</link>
			<description><![CDATA[<p>See ADX code for example.<br />The only difference is that you use &quot;NoDirectionOscillatorLogic&quot; instead of &quot;OscillatorLogic&quot;</p><div class="codebox"><pre><code>// ADX rises equal signals in both directions!
NoDirectionOscillatorLogic(firstBar, previous, adx, level, ref Component[3], logicRule);
Component[4].Value = Component[3].Value;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Wed, 22 Apr 2015 04:41:05 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/28693/#p28693</guid>
		</item>
		<item>
			<title><![CDATA[Mirroring condition Could be eased inside the same indicator!!!]]></title>
			<link>https://forexsb.com/forum/post/28692/#p28692</link>
			<description><![CDATA[<p>Hello Pop <br />as we know the FSB built to make conditions are mirrored fro buy and sell signals !!! <br />BUT what if i want to buy in both conditions </p><p>Example : if RSI rise ............&gt; Buy &amp; RSI Falls .........&gt; Buy when both &gt; 70 level </p><p>Is that possible to be done inside one indicator !!!!!!</p><br /><div class="codebox"><pre><code>case &quot;RSI rises&quot;:
                    indLogic = IndicatorLogic.The_indicator_rises;
                    SpecialValues = new double[] {50};
                    break;

                case &quot;RSI falls&quot;:
                    indLogic = IndicatorLogic.The_indicator_falls;
                    SpecialValues = new double[] {50};
                    break;

                case &quot;RSI is higher than the Level line&quot;:
                    indLogic = IndicatorLogic.The_indicator_is_higher_than_the_level_line;
                    SpecialValues = new[] {dLevel, 100 - dLevel};
                    break;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ahmedalhoseny)]]></author>
			<pubDate>Wed, 22 Apr 2015 04:35:02 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/28692/#p28692</guid>
		</item>
	</channel>
</rss>
