<?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; McClellan Oscillator</title>
	<atom:link href="http://www.thinkscripter.com/tag/mcclellan-oscillator/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>McClellan Oscillator &#8211; Ratio Adjusted</title>
		<link>http://www.thinkscripter.com/indicator/mcclellan-oscillator-ratio-adjusted/</link>
		<comments>http://www.thinkscripter.com/indicator/mcclellan-oscillator-ratio-adjusted/#comments</comments>
		<pubDate>Fri, 15 May 2009 15:47:53 +0000</pubDate>
		<dc:creator>ThinkScripter</dc:creator>
				<category><![CDATA[Indicator]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[McClellan Oscillator]]></category>
		<category><![CDATA[thinkscript]]></category>

		<guid isPermaLink="false">http://www.thinkscripter.com/?p=1286</guid>
		<description><![CDATA[An early implementation of the McClellan Oscillator. Since replaced by the TOS native version. <a href="http://www.thinkscripter.com/indicator/mcclellan-oscillator-ratio-adjusted/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I got tired of heading over to other sites to see the McClellan Oscillator so I coded this one up. The only rub appears to be a TOS data issue in that this study needs to be plotted on a daily chart of a market internal such as $TICK, $UVOL, etc. If you try to plot it on an equity or future, the line is no longer correct.<br />
<div id="attachment_1289" class="wp-caption aligncenter" style="width: 640px"><a href="http://www.thinkscripter.com/wp-content/uploads/2009/05/mco.png"><img src="http://www.thinkscripter.com/wp-content/uploads/2009/05/mco.png" alt="McClellan Oscillator - Ratio Adjusted" title="mco" class="size-full wp-image-1289" /></a><p class="wp-caption-text">McClellan Oscillator - Ratio Adjusted</p></div></p>
<pre class="brush: thinkscript; title: ; notranslate">
# TS_McClellanOscillator
# (c) 2009 http://www.thinkscripter.com
# thinkscripter@gmail.com
# Last Update 14 May 2009
#
# **** NOTE: This indicator must be run on a chart
# **** of a market internal such as $TICK to work properly

declare lower;

def EMA19 = expAverage(1000*(close(&quot;$ADVN&quot;) -close(&quot;$DECN&quot;)/(close(&quot;$ADVN&quot;)+close(&quot;$DECN&quot;))),19);
def EMA39 = expAverage(1000*(close(&quot;$ADVN&quot;) -close(&quot;$DECN&quot;)/(close(&quot;$ADVN&quot;)+close(&quot;$DECN&quot;))),39);

plot MCO = EMA19-EMA39;
MCO.setDefaultColor(color.red);
plot zero= 0;
zero.setDefaultColor(color.white);
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.thinkscripter.com/indicator/mcclellan-oscillator-ratio-adjusted/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

