<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Different strategies for long and short positions]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/5315/" />
	<updated>2015-05-03T21:47:37Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/5315/different-strategies-for-long-and-short-positions/</id>
		<entry>
			<title type="html"><![CDATA[Re: Different strategies for long and short positions]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/28926/#p28926" />
			<content type="html"><![CDATA[<p>Two MA can be used easily for creating a custom indicator for the opening and closing logic.</p><p>You can use Bollinger Bands for base.<br />The only change is that set the Upper Band = MA(High) and Lower Band = MA(Low). <br />It will work for all four types of slots.</p><br /><div class="codebox"><pre><code>double[] adUpBand = MovingAverage(period, shift, maMethod, Price(BasePrice.High));
double[] adDnBand = MovingAverage(period, shift, maMethod, Price(BasePrice.Low));</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2015-05-03T21:47:37Z</updated>
			<id>https://forexsb.com/forum/post/28926/#p28926</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Different strategies for long and short positions]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/28925/#p28925" />
			<content type="html"><![CDATA[<p>I think it is symmetrical. Lets consider MA 26 as High/Low bands, and everything clicks together. </p><p>In current configuration closing point is hard to achieve, maybe median MA? Or if TF is small, then &quot;closes below/above&quot; logic for High and Low MAs.</p><p>Entry would look like this with the help of logical groups:</p><p><strong><span style="color:#693">[Opening Point of the Position]</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:blue">Previous High Low</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:#066">Enter long at the previous high</span></strong><br />&nbsp; &nbsp; &nbsp;Base price&nbsp; -&nbsp; High and Low<br />&nbsp; &nbsp; &nbsp;Vertical shift&nbsp; -&nbsp; 20</p><p><strong><span style="color:#699">[Opening Logic Condition]</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:blue">Moving Average</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:#066">[ A ]&nbsp; &nbsp;The position opens above the Moving Average</span></strong><br />&nbsp; &nbsp; &nbsp;Smoothing method&nbsp; -&nbsp; Simple<br />&nbsp; &nbsp; &nbsp;Base price&nbsp; -&nbsp; High<br />&nbsp; &nbsp; &nbsp;Period&nbsp; -&nbsp; 26<br />&nbsp; &nbsp; &nbsp;Shift&nbsp; -&nbsp; 0<br />&nbsp; &nbsp; &nbsp;Use previous bar value&nbsp; -&nbsp; Yes</p><p><strong><span style="color:#699">[Opening Logic Condition]</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:blue">Moving Average</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:#066">[ B ]&nbsp; &nbsp;The position opens below the Moving Average</span></strong><br />&nbsp; &nbsp; &nbsp;Smoothing method&nbsp; -&nbsp; Simple<br />&nbsp; &nbsp; &nbsp;Base price&nbsp; -&nbsp; Low<br />&nbsp; &nbsp; &nbsp;Period&nbsp; -&nbsp; 26<br />&nbsp; &nbsp; &nbsp;Shift&nbsp; -&nbsp; 0<br />&nbsp; &nbsp; &nbsp;Use previous bar value&nbsp; -&nbsp; Yes</p><p><strong><span style="color:#699">[Opening Logic Condition]</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:blue">Long or Short</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:#066">[ A ]&nbsp; &nbsp;Open long positions only</span></strong></p><p><strong><span style="color:#699">[Opening Logic Condition]</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:blue">Long or Short</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:#066">[ B ]&nbsp; &nbsp;Open short positions only</span></strong></p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2015-05-03T21:30:28Z</updated>
			<id>https://forexsb.com/forum/post/28925/#p28925</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Different strategies for long and short positions]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/28923/#p28923" />
			<content type="html"><![CDATA[<p>Why do you want to make a non-symmetrical strategy?</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2015-05-03T18:46:03Z</updated>
			<id>https://forexsb.com/forum/post/28923/#p28923</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Different strategies for long and short positions]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/28922/#p28922" />
			<content type="html"><![CDATA[<p>There is an indicator for &#039;Long or Short&#039;, you could try that.</p>]]></content>
			<author>
				<name><![CDATA[Blaiserboy]]></name>
				<uri>https://forexsb.com/forum/user/2491/</uri>
			</author>
			<updated>2015-05-03T18:38:48Z</updated>
			<id>https://forexsb.com/forum/post/28922/#p28922</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Different strategies for long and short positions]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/28917/#p28917" />
			<content type="html"><![CDATA[<p>I am trying to build a basic strategy and then expand upon it but I can&#039;t get the basic structure set up correctly.&nbsp; <br />Below is a copy of the description that I pasted here.</p><p>Opening (Entry Signal)</p><p>Open a new long position 2 points above the previous high when the following logic condition is satisfied:<br />the position opening price is higher than the Moving Average* (Simple, High, 26, 0). </p><p>Open a new short position 2 points below the previous low when the following logic condition is satisfied:<br />the position opening price is lower than the Moving Average* (Simple, <strong>Low</strong>, 26, 0). </p><p>Closing (Exit Signal)</p><p>Close an existing long position at Moving Average* (Simple, Low, 26, 0).</p><p>Close an existing short position at Moving Average* (Simple, <strong>High</strong>, 26, 0).</p><br /><p>It&#039;s pretty simple, however if you will notice the high and low in bold I have had to change manually in this post.&nbsp; Is it possible to have a slightly different strategy for long and short positions?</p><p>Thank you for your time.&nbsp; Any help is appreciated.</p>]]></content>
			<author>
				<name><![CDATA[bohardy]]></name>
				<uri>https://forexsb.com/forum/user/8520/</uri>
			</author>
			<updated>2015-05-03T17:09:45Z</updated>
			<id>https://forexsb.com/forum/post/28917/#p28917</id>
		</entry>
</feed>
