<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Moving Averages In and out]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/2174/" />
	<updated>2011-03-14T14:57:10Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/2174/moving-averages-in-and-out/</id>
		<entry>
			<title type="html"><![CDATA[Re: Moving Averages In and out]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/8604/#p8604" />
			<content type="html"><![CDATA[<p>thanks. I guess I should have paid more attention to that .... <img src="https://forexsb.com/forum/img/smilies/yikes.png" width="15" height="15" alt="yikes" /> <br />I will check again and let you know.</p>]]></content>
			<author>
				<name><![CDATA[bulk]]></name>
				<uri>https://forexsb.com/forum/user/2396/</uri>
			</author>
			<updated>2011-03-14T14:57:10Z</updated>
			<id>https://forexsb.com/forum/post/8604/#p8604</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Moving Averages In and out]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/8593/#p8593" />
			<content type="html"><![CDATA[<p>No, horizontal line is the date line, it shows the starting point of out of sample data. The important part is the equity/balance curve AFTER the OOS date line. A little example: <span class="postimg"><img src="http://forexsb.com/wiki/_media/fsb/manual/generator_limitations.png" alt="http://forexsb.com/wiki/_media/fsb/manual/generator_limitations.png" /></span></p><p>You see, equity/balance curve continues going upwards on out of sample data, it&#039;s probably a good strat. If curve goes down in OOS, then probably the strat fails in live trading.</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2011-03-11T14:07:04Z</updated>
			<id>https://forexsb.com/forum/post/8593/#p8593</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Moving Averages In and out]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/8591/#p8591" />
			<content type="html"><![CDATA[<p>if you mean what level? ie. the horizontal line? or the &quot;date&quot; the vertical line? The horizontal line changes of course, but the veritcal line stays pretty steady at 4/26/04 for most of the exercise. If I shorten the data history, it still stays around 3/5ths of the left to right scale.</p>]]></content>
			<author>
				<name><![CDATA[bulk]]></name>
				<uri>https://forexsb.com/forum/user/2396/</uri>
			</author>
			<updated>2011-03-11T01:56:37Z</updated>
			<id>https://forexsb.com/forum/post/8591/#p8591</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Moving Averages In and out]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/8587/#p8587" />
			<content type="html"><![CDATA[<p>Too much of a drawdown in the middle, what OOS is showing while optimizing? That gives a clearer picture of how this strat performs.</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2011-03-10T19:35:48Z</updated>
			<id>https://forexsb.com/forum/post/8587/#p8587</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Moving Averages In and out]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/8584/#p8584" />
			<content type="html"><![CDATA[<p>OK, thanks!. I put it through the optimization in FSB and this is what came out for EURUSD 1Day:</p><p><a href="http://www.screencast.com/users/thumbcuffs/folders/Jing/media/3a894e57-052c-448c-8863-e1d88524f971">http://www.screencast.com/users/thumbcu … d88524f971</a></p><p>I used SL at 750 and at 150 and had decent results. It&#039;s doing what I hoped to do, which is lose little at a time, but run the big ones. Anyone see any issues? What have your testing results shown?</p>]]></content>
			<author>
				<name><![CDATA[bulk]]></name>
				<uri>https://forexsb.com/forum/user/2396/</uri>
			</author>
			<updated>2011-03-10T17:03:10Z</updated>
			<id>https://forexsb.com/forum/post/8584/#p8584</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Moving Averages In and out]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/8582/#p8582" />
			<content type="html"><![CDATA[<p>I don&#039;t really understand what you mean by &quot;a complete high/low&quot;, I took it as a whole bar. Nevertheless this is what I came up with:</p><p><strong>[Opening Point of the Position]</strong><br /><strong><span style="color:blue">Bar Opening</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:teal">Enter the market at the beginning of the bar</span></strong><br />&nbsp; &nbsp; &nbsp;<strong>Base price</strong>&nbsp; -&nbsp; <em>Open</em></p><p><strong>[Opening Logic Condition]</strong><br /><strong><span style="color:blue">Moving Averages Crossover</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:teal">[ A ]&nbsp; &nbsp;The Fast MA crosses the Slow MA upward</span></strong><br />&nbsp; &nbsp; &nbsp;<strong>Base price</strong>&nbsp; -&nbsp; <em>Close</em><br />&nbsp; &nbsp; &nbsp;<strong>Fast MA method</strong>&nbsp; -&nbsp; <em>Simple</em><br />&nbsp; &nbsp; &nbsp;<strong>Slow MA method</strong>&nbsp; -&nbsp; <em>Simple</em><br />&nbsp; &nbsp; &nbsp;<strong>Fast MA period</strong>&nbsp; -&nbsp; <em>3</em><br />&nbsp; &nbsp; &nbsp;<strong>Slow MA period</strong>&nbsp; -&nbsp; <em>50</em><br />&nbsp; &nbsp; &nbsp;<strong>Fast MA shift</strong>&nbsp; -&nbsp; <em>0</em><br />&nbsp; &nbsp; &nbsp;<strong>Slow MA shift</strong>&nbsp; -&nbsp; <em>0</em><br />&nbsp; &nbsp; &nbsp;<strong>Use previous bar value</strong>&nbsp; -&nbsp; <em>Yes</em></p><p><strong>[Opening Logic Condition]</strong><br /><strong><span style="color:blue">Moving Average</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:teal">[ A ]&nbsp; &nbsp;The bar opens above the Moving Average</span></strong><br />&nbsp; &nbsp; &nbsp;<strong>Smoothing method</strong>&nbsp; -&nbsp; <em>Simple</em><br />&nbsp; &nbsp; &nbsp;<strong>Base price</strong>&nbsp; -&nbsp; <em>Low</em><br />&nbsp; &nbsp; &nbsp;<strong>Period</strong>&nbsp; -&nbsp; <em>50</em><br />&nbsp; &nbsp; &nbsp;<strong>Shift</strong>&nbsp; -&nbsp; <em>0</em><br />&nbsp; &nbsp; &nbsp;<strong>Use previous bar value</strong>&nbsp; -&nbsp; <em>Yes</em></p><p><strong>[Closing Point of the Position]</strong><br /><strong><span style="color:blue">Bar Closing</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:teal">Exit the market at the end of the bar</span></strong><br />&nbsp; &nbsp; &nbsp;<strong>Base price</strong>&nbsp; -&nbsp; <em>Close</em></p><p><strong>[Closing Logic Condition]</strong><br /><strong><span style="color:blue">Moving Averages Crossover</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:teal">[ a ]&nbsp; &nbsp;The Fast MA crosses the Slow MA downward</span></strong><br />&nbsp; &nbsp; &nbsp;<strong>Base price</strong>&nbsp; -&nbsp; <em>Close</em><br />&nbsp; &nbsp; &nbsp;<strong>Fast MA method</strong>&nbsp; -&nbsp; <em>Simple</em><br />&nbsp; &nbsp; &nbsp;<strong>Slow MA method</strong>&nbsp; -&nbsp; <em>Simple</em><br />&nbsp; &nbsp; &nbsp;<strong>Fast MA period</strong>&nbsp; -&nbsp; <em>3</em><br />&nbsp; &nbsp; &nbsp;<strong>Slow MA period</strong>&nbsp; -&nbsp; <em>25</em><br />&nbsp; &nbsp; &nbsp;<strong>Fast MA shift</strong>&nbsp; -&nbsp; <em>0</em><br />&nbsp; &nbsp; &nbsp;<strong>Slow MA shift</strong>&nbsp; -&nbsp; <em>0</em><br />&nbsp; &nbsp; &nbsp;<strong>Use previous bar value</strong>&nbsp; -&nbsp; <em>No</em></p><p>Again, if I understood you correctly, the strat above buys like you stated, so to make it behave correctly for sells, logical groups should be involved. Final version then: <br /><strong>[Opening Point of the Position]</strong><br /><strong><span style="color:blue">Bar Opening</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:teal">Enter the market at the beginning of the bar</span></strong><br />&nbsp; &nbsp; &nbsp;<strong>Base price</strong>&nbsp; -&nbsp; <em>Open</em></p><p><strong>[Opening Logic Condition]</strong><br /><strong><span style="color:blue">Moving Averages Crossover</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:teal">[All]&nbsp; &nbsp;The Fast MA crosses the Slow MA upward</span></strong><br />&nbsp; &nbsp; &nbsp;<strong>Base price</strong>&nbsp; -&nbsp; <em>Close</em><br />&nbsp; &nbsp; &nbsp;<strong>Fast MA method</strong>&nbsp; -&nbsp; <em>Simple</em><br />&nbsp; &nbsp; &nbsp;<strong>Slow MA method</strong>&nbsp; -&nbsp; <em>Simple</em><br />&nbsp; &nbsp; &nbsp;<strong>Fast MA period</strong>&nbsp; -&nbsp; <em>3</em><br />&nbsp; &nbsp; &nbsp;<strong>Slow MA period</strong>&nbsp; -&nbsp; <em>50</em><br />&nbsp; &nbsp; &nbsp;<strong>Fast MA shift</strong>&nbsp; -&nbsp; <em>0</em><br />&nbsp; &nbsp; &nbsp;<strong>Slow MA shift</strong>&nbsp; -&nbsp; <em>0</em><br />&nbsp; &nbsp; &nbsp;<strong>Use previous bar value</strong>&nbsp; -&nbsp; <em>Yes</em></p><p><strong>[Opening Logic Condition]</strong><br /><strong><span style="color:blue">Moving Average</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:teal">[ B ]&nbsp; &nbsp;The bar opens above the Moving Average</span></strong><br />&nbsp; &nbsp; &nbsp;<strong>Smoothing method</strong>&nbsp; -&nbsp; <em>Simple</em><br />&nbsp; &nbsp; &nbsp;<strong>Base price</strong>&nbsp; -&nbsp; <em>High</em><br />&nbsp; &nbsp; &nbsp;<strong>Period</strong>&nbsp; -&nbsp; <em>50</em><br />&nbsp; &nbsp; &nbsp;<strong>Shift</strong>&nbsp; -&nbsp; <em>0</em><br />&nbsp; &nbsp; &nbsp;<strong>Use previous bar value</strong>&nbsp; -&nbsp; <em>Yes</em></p><p><strong>[Opening Logic Condition]</strong><br /><strong><span style="color:blue">Long or Short</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:teal">[ B ]&nbsp; &nbsp;Open short positions only</span></strong></p><p><strong>[Opening Logic Condition]</strong><br /><strong><span style="color:blue">Long or Short</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:teal">[ A ]&nbsp; &nbsp;Open long positions only</span></strong></p><p><strong>[Opening Logic Condition]</strong><br /><strong><span style="color:blue">Moving Average</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:teal">[ A ]&nbsp; &nbsp;The bar opens above the Moving Average</span></strong><br />&nbsp; &nbsp; &nbsp;<strong>Smoothing method</strong>&nbsp; -&nbsp; <em>Simple</em><br />&nbsp; &nbsp; &nbsp;<strong>Base price</strong>&nbsp; -&nbsp; <em>Low</em><br />&nbsp; &nbsp; &nbsp;<strong>Period</strong>&nbsp; -&nbsp; <em>50</em><br />&nbsp; &nbsp; &nbsp;<strong>Shift</strong>&nbsp; -&nbsp; <em>0</em><br />&nbsp; &nbsp; &nbsp;<strong>Use previous bar value</strong>&nbsp; -&nbsp; <em>Yes</em></p><p>As you can see I tuned the indis to fit your strat, the best I can achieve without custom indis unfortunately.</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2011-03-10T14:34:47Z</updated>
			<id>https://forexsb.com/forum/post/8582/#p8582</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Moving Averages In and out]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/8580/#p8580" />
			<content type="html"><![CDATA[<p>I&#039;m looking at the Moving Average of 3 bars, 50 bars and 25 bars. I would like to set up FSB to look for a 3 above 50 cross, then look for a complete high/low ABOVE the 50, then enter on the next opening bar. The close would be almost the opposite with the 3/25. The 3 cross below the 25, exit on close.</p><p>Any ideas how to set that up? I have tried what I know and it just doesn&#039;t look right.</p><p>For a short, would this automatically look for a 3 cross below the 50, next complete high/low below the 50 then enter?</p>]]></content>
			<author>
				<name><![CDATA[bulk]]></name>
				<uri>https://forexsb.com/forum/user/2396/</uri>
			</author>
			<updated>2011-03-10T02:14:34Z</updated>
			<id>https://forexsb.com/forum/post/8580/#p8580</id>
		</entry>
</feed>
