<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ThinkScripter &#187; Efficiency Ratio</title>
	<atom:link href="http://www.thinkscripter.com/tag/efficiency-ratio/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thinkscripter.com</link>
	<description>thinkScript Indicators for thinkorswim</description>
	<lastBuildDate>Sun, 29 Jan 2012 16:11:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Kaufman Efficiency Ratio</title>
		<link>http://www.thinkscripter.com/indicator/kaufman-efficiency-ratio/</link>
		<comments>http://www.thinkscripter.com/indicator/kaufman-efficiency-ratio/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 22:01:56 +0000</pubDate>
		<dc:creator>ThinkScripter</dc:creator>
				<category><![CDATA[Indicator]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[Efficiency Ratio]]></category>
		<category><![CDATA[Kaufman]]></category>
		<category><![CDATA[thinkscript]]></category>

		<guid isPermaLink="false">http://thinkscripter.wordpress.com/?p=649</guid>
		<description><![CDATA[Sometimes called the Price Headley Efficiency Ratio made popular by his Big Trends web site and book. In actuality it is the Kaufman Efficiency Ratio.  <a href="http://www.thinkscripter.com/indicator/kaufman-efficiency-ratio/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Reader RobH sent this one to me last night in need of a little ThinkScripter TLC. A few tweaks under the hood and she&#8217;s back on the road firing on all cylinders. Rob referred to it as the Price Headley Efficiency Ratio made popular by his Big Trends web site and book. In actuality it is the Kaufman Efficiency Ratio as described in his book <a href="http://www.amazon.com/gp/product/0070340021?ie=UTF8&amp;tag=thinks-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0070340021">Smarter Trading</a><img src="http://www.assoc-amazon.com/e/ir?t=thinks-20&amp;l=as2&amp;o=1&amp;a=0070340021" width="1" height="1" border="0" alt="" style="border:none!important;margin:0!important;" />. From his book &#8220;The ratio divides the net price movement by the total price movement (the sum of each of the individual moves taken as a positive number). It can also be considered a ratio of the price direction to its volatility. The more <em>efficient</em>, the faster the trend.&#8221;</p>
<p>My <a href="http://www.thinkscripter.com/2009/03/12/thinkscripter-multi-stops/">Multi-Stops</a> study in the picture is configured with a Chandelier Stop with a 20 period look-back and a volatility coefficient of 2.5. The strategy being backtested used moving average as a filter on the Multi-Stop signals taking only long entries in this example and using the Multi-Stop short signal as an exit. For the five day period there were 6 trades, 4 winners, 2 losers, max drawdown $200, total profit on one ES contract $4012. <a href="http://www.thinkscripter.com/wp-content/uploads/2009/03/multistopstrat.png">Full results.</a></p>
<div id="attachment_651" class="wp-caption aligncenter" style="width: 640px"><a href="http://www.thinkscripter.com/wp-content/uploads/2009/03/kaufmaner.png"><img src="http://www.thinkscripter.com/wp-content/uploads/2009/03/kaufmaner.png" alt="Kaufman Efficiency Ratio" title="kaufmaner"  class="size-full wp-image-651" /></a><p class="wp-caption-text">Kaufman Efficiency Ratio</p></div>
<pre class="brush: thinkscript; title: ; notranslate">
# KAUFMANEFFICIENCYRATIO
# (c) 2009 http://www.thinkscripter.com
# thinkscripter@gmail.com
# Last Update 16 MAR 2009

declare lower;

input length = 20;
input lowerERThreshold = -30;
input upperERThreshold = 30;
input movingAvePeriod = 10;

def NetChange = hl2 - hl2[length];

def incrementalTotalChange = AbsValue(hl2 - hl2[1]);
def TotalChange = sum(incrementalTotalChange,length);

def ERatio = (NetChange/TotalChange) * 100;

plot ER = ERatio;
ER.AssignValueColor(if ER &gt;= upperERThreshold
then Color.CYAN else if ER &lt;= lowerERThreshold
then Color.RED else Color.GREEN);
ER.SetLineWeight(2);

plot LowerThreshold = lowerERThreshold;
LowerThreshold.SetDefaultColor(Color.RED);

plot ZeroLine = 0;
ZeroLine.SetDefaultColor(Color.GRAY);

plot UpperThreshold = upperERThreshold;
UpperThreshold.SetDefaultColor(Color.CYAN);

plot ave = average(ERatio,movingAvePeriod);
ave.setDefaultColor(color.blue);
ave.setLineWeight(2);</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.thinkscripter.com/indicator/kaufman-efficiency-ratio/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

