<?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 - Custom ThinkScript Indicators for thinkorswim &#187; DT Oscillator</title>
	<atom:link href="http://www.thinkscripter.com/tag/dt-oscillator/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thinkscripter.com</link>
	<description>Custom ThinkScript Indicator Scripts for thinkorswim</description>
	<lastBuildDate>Mon, 28 Jun 2010 02:18:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>DT Oscillator</title>
		<link>http://www.thinkscripter.com/2009/10/17/dt-oscillator/</link>
		<comments>http://www.thinkscripter.com/2009/10/17/dt-oscillator/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 03:21:52 +0000</pubDate>
		<dc:creator>ThinkScripter</dc:creator>
				<category><![CDATA[Indicator]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[DT Oscillator]]></category>
		<category><![CDATA[oscillator]]></category>
		<category><![CDATA[RSI]]></category>
		<category><![CDATA[stochastic]]></category>
		<category><![CDATA[thinkscript]]></category>

		<guid isPermaLink="false">http://www.thinkscripter.com/?p=1790</guid>
		<description><![CDATA[Here&#8217;s a Saturday evening quickie. Lou dropped into the forum last week looking for a simple thinkScript conversion of the DT Oscillator code he had. It&#8217;s pretty basic but I thought I&#8217;d post it here in case you missed it in the forum. In essence it is just another version of the Stochastic RSI. I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a Saturday evening quickie. Lou dropped into the forum last week looking for a simple thinkScript conversion of the DT Oscillator code he had. It&#8217;s pretty basic but I thought I&#8217;d post it here in case you missed it in the forum. In essence it is just another version of the Stochastic RSI. I&#8217;ve been a bit quiet these days in the forum as I have spent a fair amount of time deep in the ThinkScripter laboratory cooking up some new goodies for you all. A careful examination of the price pane will reveal that the daily version of the <a href="http://www.thinkscripter.com/2009/09/05/thinkscripter-volume-profile/">Volume Profile</a> is nearly complete. Stay tuned&#8230;.<br />
<div id="attachment_1789" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.thinkscripter.com/wp-content/uploads/2009/10/DTOscillator.png"><img src="http://www.thinkscripter.com/wp-content/uploads/2009/10/DTOscillator.png" alt="DT Oscillator" title="DTOscillator" width="500" height="450" class="size-full wp-image-1789" /></a><p class="wp-caption-text">DT Oscillator</p></div></p>
<p><code># TS_DTOscillator thinkScript translation by ThinkScripter<br />
# http://www.thinkscripter.com<br />
# thinkscripter@gmail.com<br />
# Last Update 15 OCT 2009</p>
<p>declare lower;</p>
<p>input RSIPeriod = 13;<br />
input StochasticPeriod=8;<br />
input MAType = {default SMA,EMA};<br />
input KPeriod = 5;<br />
input DPeriod = 3;<br />
input upper = 70;<br />
input lower = 30;</p>
<p>def StoRSI= 100*(( RSIWilder( RSIPeriod) - lowest( RSIWilder( RSIPeriod ) , StochasticPeriod ) ) / ( (<br />
highest( RSIWilder( RSIPeriod) , StochasticPeriod ) ) - lowest(RSIWilder( RSIPeriod ), StochasticPeriod ) )<br />
);</p>
<p>def SK;<br />
def SD;</p>
<p>Switch (MAType){<br />
case SMA:<br />
SK=average(StoRSI,KPeriod);<br />
SD=average(SK,Dperiod);<br />
case EMA:<br />
SK=ExpAverage(StoRSI,KPeriod);<br />
SD=ExpAverage(SK,DPeriod);<br />
}</p>
<p>Plot DTOscSK = SK;<br />
DTOscSK.setDefaultColor(color.blue);<br />
plot DTOscSD = SD;<br />
DTOscSD.setDefaultCOlor(color.gray);<br />
DTOscSD.setStyle(curve.SHORT_DASH);<br />
plot zero = 50;<br />
zero.setDefaultColor(color.white);<br />
plot UpperL = upper;<br />
UpperL.setDefaultColor(color.red);<br />
plot LowerL = lower;<br />
lowerL.setDefaultColor(color.green);</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinkscripter.com/2009/10/17/dt-oscillator/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
