<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Bollinger Bands with 200-day Moving Average Filter]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/4254/" />
	<updated>2013-06-16T15:17:23Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/4254/bollinger-bands-with-200day-moving-average-filter/</id>
		<entry>
			<title type="html"><![CDATA[Re: Bollinger Bands with 200-day Moving Average Filter]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/20480/#p20480" />
			<content type="html"><![CDATA[<p>thanks</p>]]></content>
			<author>
				<name><![CDATA[themaxx]]></name>
				<uri>https://forexsb.com/forum/user/7512/</uri>
			</author>
			<updated>2013-06-16T15:17:23Z</updated>
			<id>https://forexsb.com/forum/post/20480/#p20480</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Bollinger Bands with 200-day Moving Average Filter]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/20478/#p20478" />
			<content type="html"><![CDATA[<p>I would use the following logic for BB:</p><p><strong><span style="color:#699">[Opening Logic Condition]</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:blue">Bollinger Bands</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:#066">The bar opens below the Lower Band after opening above it</span></strong></p><p>This depicts the crossing better. But eventually go for the one, which works best. That&#039;s the charm about FSB <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2013-06-16T15:03:20Z</updated>
			<id>https://forexsb.com/forum/post/20478/#p20478</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Bollinger Bands with 200-day Moving Average Filter]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/20475/#p20475" />
			<content type="html"><![CDATA[<p>One of the pitfalls of RSI extremes was that the average duration of a trade was the same as that of our intermediate-term trend-following systems. This problem can be eliminated by changing its exit condition #1 criteria, but to showcase another trend-following mean reversion system, I have chosen instead to introduce the fading of our trend-following Bollinger band system with the addition of a 200-day moving average criteria to filter out countertrend trades. Using CQG, the programming code for this trend-following mean rever- sion system is written in this way:<br />Long Entry:<br />Close(@)[–1] XBELOW BLO(@,Sim,20,2)[–1]AND Close(@)[–1] &gt; MA(@,Sim,200)[–1]<br />Long Exit—Condition #1 set “Price” field to:<br />BMA(@,Sim,20)[–1]<br />Long Exit—Condition #2 set “Price” field to:<br />EntryPrice(@,0,All,ThisTradeOnly)–(.025* EntryPrice(@,0,All,ThisTradeOnly))<br />Short Entry:<br />Close(@)[–1] XABOVE BHI(@,Sim,20,2)[–1] AND Close(@)[–1] &lt; MA(@,Sim,75)[–1]<br />Short Exit—Condition #1 set “Price” field to:<br />BMA(@,Sim,20)[–1]<br />Short Exit—Condition #2 set “Price” field to:<br />EntryPrice(@,0,All,ThisTradeOnly)+(.025* EntryPrice(@,0,All, ThisTradeOnly))</p><div class="quotebox"><blockquote><p><strong><span style="color:#966">[Strategy Properties]</span></strong><br />&nbsp; &nbsp; &nbsp;A same direction signal - Does nothing<br />&nbsp; &nbsp; &nbsp;An opposite direction signal - Does nothing<br />&nbsp; &nbsp; &nbsp;Permanent Stop Loss - None<br />&nbsp; &nbsp; &nbsp;Permanent Take Profit - None<br />&nbsp; &nbsp; &nbsp;Break Even - None</p><p><strong><span style="color:#693">[Opening Point of the Position]</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:blue">Bar Opening</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:#066">Enter the market at the beginning of the bar</span></strong><br />&nbsp; &nbsp; &nbsp;Base price&nbsp; -&nbsp; Open</p><p><strong><span style="color:#699">[Opening Logic Condition]</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:blue">Better Bollinger bands</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:#066">The position opens below the Lower Band</span></strong><br />&nbsp; &nbsp; &nbsp;Smoothing method&nbsp; -&nbsp; Simple<br />&nbsp; &nbsp; &nbsp;Base price&nbsp; -&nbsp; Close<br />&nbsp; &nbsp; &nbsp;Period&nbsp; -&nbsp; 20<br />&nbsp; &nbsp; &nbsp;Multiplier&nbsp; -&nbsp; 2.00<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">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; Close<br />&nbsp; &nbsp; &nbsp;Period&nbsp; -&nbsp; 200<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:#d63">[Closing Point of the Position]</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:blue">Bar Closing</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:#066">Exit the market at the end of the bar</span></strong><br />&nbsp; &nbsp; &nbsp;Base price&nbsp; -&nbsp; Close</p><p><strong><span style="color:#d99">[Closing 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">The bar closes above the Moving Average</span></strong><br />&nbsp; &nbsp; &nbsp;Smoothing method&nbsp; -&nbsp; Simple<br />&nbsp; &nbsp; &nbsp;Base price&nbsp; -&nbsp; Close<br />&nbsp; &nbsp; &nbsp;Period&nbsp; -&nbsp; 20<br />&nbsp; &nbsp; &nbsp;Shift&nbsp; -&nbsp; 0<br />&nbsp; &nbsp; &nbsp;Use previous bar value&nbsp; -&nbsp; No</p></blockquote></div><p>This performs really well on the daily EURGBP! Did I get it right?</p><p>Pete</p>]]></content>
			<author>
				<name><![CDATA[themaxx]]></name>
				<uri>https://forexsb.com/forum/user/7512/</uri>
			</author>
			<updated>2013-06-16T14:30:52Z</updated>
			<id>https://forexsb.com/forum/post/20475/#p20475</id>
		</entry>
</feed>
