<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Moving Average - Different Long/Short Criterea]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/8599/" />
	<updated>2020-11-10T09:52:29Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/8599/moving-average-different-longshort-criterea/</id>
		<entry>
			<title type="html"><![CDATA[Re: Moving Average - Different Long/Short Criterea]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/62958/#p62958" />
			<content type="html"><![CDATA[<p>Yea, I know. Someday I&#039;ll start a new project with better custom indicators, trading rules, criteria...</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2020-11-10T09:52:29Z</updated>
			<id>https://forexsb.com/forum/post/62958/#p62958</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Moving Average - Different Long/Short Criterea]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/62956/#p62956" />
			<content type="html"><![CDATA[<p>Yeah, I know <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /> I find the <em>SetDescription</em> and the <em>ToString</em> function most annoying actually, a bit of a time waste with no real gain, but that is my internal wiring. Fixed version uploaded.</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2020-11-10T09:31:35Z</updated>
			<id>https://forexsb.com/forum/post/62956/#p62956</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Moving Average - Different Long/Short Criterea]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/62955/#p62955" />
			<content type="html"><![CDATA[<p>Good job Footon!</p><p>Thank you!</p><br /><br /><p><span class="postimg"><img src="https://image-holder.forexsb.com/store/high-low-ma-bands.png" alt="https://image-holder.forexsb.com/store/high-low-ma-bands.png" /></span></p><br /><p>You can fix the <em>ToString</em> function to not show the unused ListParam[2]</p><div class="codebox"><pre><code>public override string ToString()
{
    return string.Format(&quot;{0}{1} ({2}, {3}, {4})&quot;,
                         IndicatorName,
                         (IndParam.CheckParam[0].Checked ? &quot;*&quot; : &quot;&quot;),
                         IndParam.ListParam[1].Text,
                         IndParam.NumParam[0].ValueToString,
                         IndParam.NumParam[1].ValueToString);
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2020-11-10T09:15:41Z</updated>
			<id>https://forexsb.com/forum/post/62955/#p62955</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Moving Average - Different Long/Short Criterea]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/62931/#p62931" />
			<content type="html"><![CDATA[<p>This should work.</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2020-11-09T10:13:18Z</updated>
			<id>https://forexsb.com/forum/post/62931/#p62931</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Moving Average - Different Long/Short Criterea]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/62847/#p62847" />
			<content type="html"><![CDATA[<p>Hey,</p><p>I know there was an indicator for your strategy, but I can&#039;t find it... I need a little bit of time for search.</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2020-10-30T16:44:12Z</updated>
			<id>https://forexsb.com/forum/post/62847/#p62847</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Moving Average - Different Long/Short Criterea]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/62839/#p62839" />
			<content type="html"><![CDATA[<p>Hi all,</p><p>Can anyone tell me if it&#039;s possible in FSB to create the following open logic condition somehow:</p><p>Long - Open Above High MA<br />Short - Open Below Low MA</p><p>I can get it to apply a single MA criteria e.g. (long-above or short-below one MA condition) but can&#039;t seem to work out a way to specify a different (high/low) MA depending on where it&#039;s looking at opening a long or short trade (without creating two separate strategies for long and short).</p><p>Can anyone provide further insight or a solution?</p><p>Thanks,<br />Tania</p>]]></content>
			<author>
				<name><![CDATA[tanialeigh]]></name>
				<uri>https://forexsb.com/forum/user/12419/</uri>
			</author>
			<updated>2020-10-30T02:12:31Z</updated>
			<id>https://forexsb.com/forum/post/62839/#p62839</id>
		</entry>
</feed>
