<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — Bollinger Bands with ADX Filter]]></title>
		<link>https://forexsb.com/forum/topic/4255/bollinger-bands-with-adx-filter/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/4255/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Bollinger Bands with ADX Filter.]]></description>
		<lastBuildDate>Sun, 16 Jun 2013 16:46:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Bollinger Bands with ADX Filter]]></title>
			<link>https://forexsb.com/forum/post/20485/#p20485</link>
			<description><![CDATA[<p>Thanks, I&#039;ll give it a bash</p>]]></description>
			<author><![CDATA[null@example.com (themaxx)]]></author>
			<pubDate>Sun, 16 Jun 2013 16:46:58 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/20485/#p20485</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bollinger Bands with ADX Filter]]></title>
			<link>https://forexsb.com/forum/post/20483/#p20483</link>
			<description><![CDATA[<p>ADX needs to be below the level, no need for cross. </p><p>About the percent move - you could try Percent Change indi, it&#039;s not exactly as meant above, but it&#039;s close. You select a period, and then the indi compares the price value n periods ago to current price, calculating the percentage of the move. This might or might not work.</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Sun, 16 Jun 2013 16:08:42 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/20483/#p20483</guid>
		</item>
		<item>
			<title><![CDATA[Bollinger Bands with ADX Filter]]></title>
			<link>https://forexsb.com/forum/post/20479/#p20479</link>
			<description><![CDATA[<p>Although I am certain that there are instances in which ADX improves the performance of trend-following systems, in general I have found greater success with this indicator as a filter for mean reversion systems. Here we take the mean reversion Bollinger band system previously used and replace the 200-day moving average filter with ADX. This removes the directional or trend-following bias and replaces it with a filter that is intended to ensure a nontrending market condition. In addition, as opposed to exiting with profits at the 20-day moving average, this system will exit based on a percentage of the asset’s value at the time of trade initiation. Because certain assets are more volatile than others, we will set both the stop loss and profit exits at 2.5 percent of entry level for the E-mini S&amp;P 500 and Japanese yen crosses. All other instruments will use a 1.25 percent move as the exit criteria. Using CQG, the programming code for a Bollinger bands mean reversion system with ADX filter is written in this way:<br />Long Entry:<br />Close(@)[–1] XBELOW BLO(@,Sim,20,2)[–1] AND ADX(@,9)[–1] &lt; 20<br />Long Exit—Condition #1 set “Price” field to:<br />EntryPrice(@,0,All,ThisTradeOnly)+(.0125* EntryPrice(@,0,All, ThisTradeOnly))<br />Long Exit—Condition #2 set “Price” field to:<br />EntryPrice(@,0,All,ThisTradeOnly)–(.0125* EntryPrice(@,0,All, ThisTradeOnly))<br />Short Entry:<br />Close(@)[–1] XABOVE BHI(@,Sim,20,2)[–1] AND ADX(@,9)[–1] &lt; 20<br />Mean Reversion Systems 81<br />04Weissman_073_088&nbsp; 10/6/04&nbsp; 11:18 AM&nbsp; Page 81<br />Short Exit—Condition #1 set “Price” field to:<br />EntryPrice(@,0,All,ThisTradeOnly)–(.0125* EntryPrice(@,0,All,ThisTradeOnly))<br />Short Exit—Condition #2 set “Price” field to:<br />EntryPrice(@,0,All,ThisTradeOnly)+(.0125* EntryPrice(@,0,All, ThisTradeOnly))</p><p>I can&#039;t get the code right:</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 bar opens below the Lower Band after opening above it</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">ADX</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:#066">The ADX crosses the Level line upward</span></strong><br />&nbsp; &nbsp; &nbsp;Smoothing method&nbsp; -&nbsp; Exponential<br />&nbsp; &nbsp; &nbsp;Base price&nbsp; -&nbsp; Bar range<br />&nbsp; &nbsp; &nbsp;Period&nbsp; -&nbsp; 9<br />&nbsp; &nbsp; &nbsp;Level&nbsp; -&nbsp; 20<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">Account Percent Stop</span></strong><br />&nbsp; &nbsp; &nbsp;<strong><span style="color:#066">Limit the risk to percent of the account</span></strong><br />&nbsp; &nbsp; &nbsp;Account percent&nbsp; -&nbsp; 2</p></blockquote></div><p>How do I close at a 1.25% move?</p>]]></description>
			<author><![CDATA[null@example.com (themaxx)]]></author>
			<pubDate>Sun, 16 Jun 2013 15:13:15 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/20479/#p20479</guid>
		</item>
	</channel>
</rss>
