<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — Different strategies for long and short positions]]></title>
		<link>https://forexsb.com/forum/topic/5315/different-strategies-for-long-and-short-positions/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/5315/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Different strategies for long and short positions.]]></description>
		<lastBuildDate>Sun, 03 May 2015 21:47:37 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Different strategies for long and short positions]]></title>
			<link>https://forexsb.com/forum/post/28926/#p28926</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Sun, 03 May 2015 21:47:37 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/28926/#p28926</guid>
		</item>
		<item>
			<title><![CDATA[Re: Different strategies for long and short positions]]></title>
			<link>https://forexsb.com/forum/post/28925/#p28925</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Sun, 03 May 2015 21:30:28 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/28925/#p28925</guid>
		</item>
		<item>
			<title><![CDATA[Re: Different strategies for long and short positions]]></title>
			<link>https://forexsb.com/forum/post/28923/#p28923</link>
			<description><![CDATA[<p>Why do you want to make a non-symmetrical strategy?</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Sun, 03 May 2015 18:46:03 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/28923/#p28923</guid>
		</item>
		<item>
			<title><![CDATA[Re: Different strategies for long and short positions]]></title>
			<link>https://forexsb.com/forum/post/28922/#p28922</link>
			<description><![CDATA[<p>There is an indicator for &#039;Long or Short&#039;, you could try that.</p>]]></description>
			<author><![CDATA[null@example.com (Blaiserboy)]]></author>
			<pubDate>Sun, 03 May 2015 18:38:48 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/28922/#p28922</guid>
		</item>
		<item>
			<title><![CDATA[Different strategies for long and short positions]]></title>
			<link>https://forexsb.com/forum/post/28917/#p28917</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (bohardy)]]></author>
			<pubDate>Sun, 03 May 2015 17:09:45 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/28917/#p28917</guid>
		</item>
	</channel>
</rss>
