<?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; TICK</title>
	<atom:link href="http://www.thinkscripter.com/tag/tick/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>$TICK Range</title>
		<link>http://www.thinkscripter.com/2009/09/29/tick-range/</link>
		<comments>http://www.thinkscripter.com/2009/09/29/tick-range/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 04:27:53 +0000</pubDate>
		<dc:creator>ThinkScripter</dc:creator>
				<category><![CDATA[Indicator]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[thinkscript]]></category>
		<category><![CDATA[TICK]]></category>

		<guid isPermaLink="false">http://www.thinkscripter.com/?p=1762</guid>
		<description><![CDATA[NOTE:The original post of the code had the > signs swapped with < signs and is now fixed. Here&#8217;s one for the folks over at EminiAddict and followers of Dave Halsey&#8217;s methods. This study is designed only to run on an intraday chart of the $TICK. The day&#8217;s range is indicated by the red and [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;">NOTE:The original post of the code had the > signs swapped with < signs and is now fixed.</span><br />
Here&#8217;s one for the folks over at <a href="http://www.eminiaddict.com/">EminiAddict</a> and followers of Dave Halsey&#8217;s methods. This study is designed only to run on an intraday chart of the $TICK. The day&#8217;s range is indicated by the red and green horizontal envelope. Each new high TICK (NHT) or new low TICK (NLT) will push the envelope lines out giving you a handy reference. Extreme TICK readings above user-selectable thresholds are additionally tagged with a yellow triangle. The white line in the center is a 20 period moving average linked to Bollinger Bands in gray. The chart itself is set to a one minute bar chart. The color of the bars changes in response to the TICK moving average above or below the zero line. I added a <a href="http://www.thinkscripter.com/2009/09/27/time-price-opportunity-tpo-profile/">TPO Profile</a> to the chart as I found it interesting how symmetrical today&#8217;s $TICK distribution was. Enjoy &#8211; Eric</p>
<p><img src="http://www.anchoredbygrace.com/smileys/icon_banghead.gif" alt="" /><em><strong>NOTE: If you are having trouble pasting this code into the TOS Script Editor (i.e. lots of errors), paste the code into a text editor like Notepad first, then copy and paste into TOS from there. This will strip out any hidden formatting that makes the script editor puke. </strong></em></p>
<div id="attachment_1761" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.thinkscripter.com/wp-content/uploads/2009/09/TICKRANGE.png"><img src="http://www.thinkscripter.com/wp-content/uploads/2009/09/TICKRANGE.png" alt="$TICK Range" title="TICKRANGE" width="500" height="450" class="size-full wp-image-1761" /></a><p class="wp-caption-text">$TICK Range</p></div>
<p><code># TICKRANGE<br />
# http://www.thinkscripter.com<br />
# thinkscripter@gmail.com<br />
# Last Update 30 SEP 2009<br />
# For use on charts of $TICK only</p>
<p>input showOnlyToday = YES;<br />
input Market_Open_Time = 0930;<br />
input Market_Close_Time = 1600;<br />
input tickAveragePeriod = 20;<br />
input bollingerBandFactor = 2.0;</p>
<p>def day = getDay();<br />
def lastDay = getLastDay();<br />
def isToday = if(day==lastDay,1,0);<br />
def shouldPlot = if(showOnlyToday and isToday, 1,if(!showOnlyToday,1,0));</p>
<p>def pastOpen = if((secondsTillTime(Market_Open_Time) &gt; 0), 0,1);<br />
def pastClose = if((secondsTillTime(Market_Close_Time) &gt; 0), 0,1);<br />
def marketOpen = if(pastOpen and !pastClose, 1, 0);<br />
def firstBar =if (day[1] != day, day-1, 0);</p>
<p>rec regHoursHigh = if(high &gt; regHoursHigh[1] and marketOpen, high, if(marketOpen and !firstBar, regHoursHigh[1], high));<br />
plot TICK_High = if(marketOpen and shouldPlot, regHoursHigh, Double.nan);<br />
TICK_High.SetDefaultColor(color.green);<br />
TICK_High.SetLineWeight(1);</p>
<p>rec regHoursLow = if(low &lt; regHoursLow[1] and marketOpen, low, if(marketOpen and !firstBar, regHoursLow[1],low));<br />
plot TICK_Low = if(marketOpen and shouldPlot, regHoursLow, double.nan);<br />
TICK_Low.SetLineWeight(1);<br />
TICK_Low.setDefaultColor(color.red);</p>
<p>input HighThreshold = 1000;<br />
input LowThreshold = -1000;</p>
<p>def tickDataLow = low(&quot;$TICK&quot;);<br />
def tickDataHigh = high(&quot;$TICK&quot;);<br />
def tickClose = close(&quot;$TICK&quot;);</p>
<p>def isLow = if((tickDataLow &lt; LowThreshold), 1, 0);<br />
def isHigh = if((tickDataHigh &gt; HighThreshold), 1, 0);</p>
<p>plot ExtremeTick = if(isLow and !isHigh, low, if(isHigh and !isLow , high, double.nan));<br />
ExtremeTick.setStyle(curve.POINTS);<br />
ExtremeTick.setPaintingStrategy(paintingStrategy.LINE_VS_TRIANGLES);<br />
ExtremeTick.setDefaultColor(color.yellow);<br />
ExtremeTick.setLineWeight(3);</p>
<p>plot tickSMA = average(tickClose,tickAveragePeriod);<br />
tickSMA.setLineWeight(3);<br />
tickSMA.setDefaultColor(color.white);</p>
<p>def ticksDev = stdev(tickClose, tickAveragePeriod);</p>
<p>plot tickBBH = tickSMA+bollingerBandFactor*tickSDev;<br />
tickBBH.setLineWeight(1);<br />
tickBBH.setDefaultColor(color.dark_gray);</p>
<p>plot tickBBL = tickSMA-bollingerBandFactor*tickSDev;<br />
tickBBL.setLineWeight(1);<br />
tickBBL.setDefaultColor(color.dark_gray);</p>
<p>AssignPriceColor(if tickSMA &gt;= 0 then color.green else color.red);</p>
<p>plot eHT = HighThreshold;<br />
eHT.setDefaultColor(color.dark_gRAY);</p>
<p>plot eLT = LowThreshold;<br />
eLT.setDefaultColor(color.dark_gRAY);</p>
<p>plot zero = 0;<br />
zero.setDefaultColor(color.red);<br />
zero.setLineWeight(2);<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinkscripter.com/2009/09/29/tick-range/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>TICK + TRIN Indicator</title>
		<link>http://www.thinkscripter.com/2009/02/23/tick-trin-indicator/</link>
		<comments>http://www.thinkscripter.com/2009/02/23/tick-trin-indicator/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 02:34:39 +0000</pubDate>
		<dc:creator>ThinkScripter</dc:creator>
				<category><![CDATA[Indicator]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[thinkscript]]></category>
		<category><![CDATA[TICK]]></category>
		<category><![CDATA[TRIN]]></category>

		<guid isPermaLink="false">http://thinkscripter.wordpress.com/?p=344</guid>
		<description><![CDATA[I&#8217;ve taken the original TICK indicator and gone a few steps further. The plot more closely resembles a bar chart now and the bars are colored based on three options. First you can color the bars based on the slope of the nine period EMA of the TICK. Second you may color the bars based [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve taken the original TICK indicator and gone a few steps further. The plot more closely resembles a bar chart now and the bars are colored based on three options. First you can color the bars based on the slope of the nine period EMA of the TICK. Second you may color the bars based on whether that same nine period EMA is above or below the zero line as pictured below. Lastly, you can color any bars where the range of the TICK readings is greater than an input threshold. These bars are magenta and they provide an extreme volatility warning of sorts. Note that if you use this on a larger timeframe, you&#8217;ll probably want this option off. As before, extreme TICK readings are flagged with a yellow triangle also based on user-defined threshold values. The highest high TICK and lowest low TICK are indicated by the dashed lines in the extreme region. Lastly, the centerline of the indicator changes color based on the trend of the TRIN indicator. There are two methodologies for detecting the trend to choose from.</p>
<p>As with any study, you can turn on and off the parts of the indicator you would like to see in the control panel.</p>
<div id="attachment_348" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.thinkscripter.com/wp-content/uploads/2009/02/tickplustrin.png"><img class="size-full wp-image-348" title="tickplustrin" src="http://www.thinkscripter.com/wp-content/uploads/2009/02/tickplustrin.png" alt="TICK + TRIN " width="450" height="457" /></a><p class="wp-caption-text">TICK + TRIN </p></div>
<p style="text-align: center;"><a href="http://www.thinkscripter.com/donations"><img src="http://www.thinkscripter.com/wp-content/uploads/2009/08/GoProButton.png" alt="GoProButton" title="GoProButton" width="225" height="75" class="aligncenter size-full wp-image-1487" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinkscripter.com/2009/02/23/tick-trin-indicator/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>TICK Indicator</title>
		<link>http://www.thinkscripter.com/2009/01/24/tick-indicator/</link>
		<comments>http://www.thinkscripter.com/2009/01/24/tick-indicator/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 18:37:21 +0000</pubDate>
		<dc:creator>ThinkScripter</dc:creator>
				<category><![CDATA[Indicator]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[thinkscript]]></category>
		<category><![CDATA[TICK]]></category>

		<guid isPermaLink="false">http://thinkscripter.wordpress.com/?p=155</guid>
		<description><![CDATA[I had a request for an indicator that shows all the TICK data not just the extremes. Here&#8217;s my first cut at it. The green bars represent the high tick reading, red the low, the white dots the close, and the white line is an EMA of the HLC3 data. You can set your extreme [...]]]></description>
			<content:encoded><![CDATA[<p>I had a request for an indicator that shows all the TICK data not just the extremes. Here&#8217;s my first cut at it. The green bars represent the high tick reading, red the low, the white dots the close, and the white line is an EMA of the HLC3 data. You can set your extreme levels where you like as well as the EMA period.</p>
<p><strong>Thanks again to all who have provided feedback, support, and donations to the beer kitty <img src='http://www.thinkscripter.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></p>
<p><a href="http://www.thinkscripter.com/wp-content/uploads/2009/01/tick.png"><img class="aligncenter size-full wp-image-157" title="tick" src="http://www.thinkscripter.com/wp-content/uploads/2009/01/tick.png" alt="tick" width="450" height="427" /></a></p>
<p><code style="text-align:left;"># TICK<br />
# (c) 2009 http://www.thinkscripter.com<br />
# thinkscripter@gmail.com<br />
# Last Update 24 Jan 2009</p>
<p>declare lower;</p>
<p>input highExtreme = 1000;<br />
input LowExtreme = -1200;<br />
input emaPeriod = 10;</p>
<p>plot h = high(&quot;$TICK&quot;);<br />
h.setPaintingStrategy(paintingStrategy.HISTOGRAM);<br />
h.setDefaultColor(color.green);</p>
<p>plot l = low(&quot;$TICK&quot;);<br />
l.setDefaultColor(color.red);<br />
l.setPaintingStrategy(paintingStrategy.HISTOGRAM);</p>
<p>plot c = close(&quot;$TICK&quot;);<br />
c.setStyle(curve.POINTS);<br />
c.setDefaultColor(color.white);</p>
<p>plot zero = 0;<br />
zero.setDefaultColor(color.white);</p>
<p>plot midH = 600;<br />
midH.setDefaultColor(color.green);</p>
<p>plot midL = -600;<br />
midL.setDefaultColor(color.red);</p>
<p>plot extH=highExtreme;<br />
extH.setDefaultColor(color.red);</p>
<p>plot extL=LowExtreme;<br />
extL.setDefaultColor(color.green);</p>
<p>plot ave = expAverage((h+l+c)/3,emaPeriod);<br />
ave.setDefaultColor(color.white);<br />
ave.setLineWeight(2);</p>
<p>plot extreme = if(h&gt;highExtreme, h, if(l&lt;lowExtreme, l, double.nan));<br />
extreme.setDefaultColor(color.yellow);<br />
extreme.setStyle(curve.POINTS);<br />
extreme.setpaintingStrategy(paintingStrategy.LINE_VS_TRIANGLES);<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinkscripter.com/2009/01/24/tick-indicator/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Extreme NYSE TICK Dots</title>
		<link>http://www.thinkscripter.com/2009/01/18/extreme-nyse-tick-dots/</link>
		<comments>http://www.thinkscripter.com/2009/01/18/extreme-nyse-tick-dots/#comments</comments>
		<pubDate>Sun, 18 Jan 2009 17:08:26 +0000</pubDate>
		<dc:creator>ThinkScripter</dc:creator>
				<category><![CDATA[Indicator]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[thinkscript]]></category>
		<category><![CDATA[TICK]]></category>

		<guid isPermaLink="false">http://thinkscripter.wordpress.com/?p=102</guid>
		<description><![CDATA[Here&#8217;s a simple script that plots a dot above/below the current bar if an extreme NYSE TICK reading is registered. The thresholds are user selectable. # EXTREMETICK # (c) 2009 http://www.thinkscripter.com # thinkscripter@gmail.com # Last Update 17 Jan 2009 input dotOffset = 1.0; input HighThreshold = 1000; input LowThreshold = -1000; def tickDataLow = low(&#34;$TICK&#34;); [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a simple script that plots a dot above/below the current bar if an extreme NYSE TICK reading is registered. The thresholds are user selectable.</p>
<div id="attachment_103" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.thinkscripter.com/wp-content/uploads/2009/01/extremetick.png"><img class="size-full wp-image-103" title="extremetick" src="http://www.thinkscripter.com/wp-content/uploads/2009/01/extremetick.png" alt="Extreme NYSE Tick Dots" width="450" height="470" /></a><p class="wp-caption-text">Extreme NYSE Tick Dots</p></div>
<p><code style="text-align:left;"># EXTREMETICK<br />
# (c) 2009 http://www.thinkscripter.com<br />
# thinkscripter@gmail.com<br />
# Last Update 17 Jan 2009</p>
<p>input dotOffset = 1.0;<br />
input HighThreshold = 1000;<br />
input LowThreshold = -1000;</p>
<p>def tickDataLow = low(&quot;$TICK&quot;);<br />
def tickDataHigh = high(&quot;$TICK&quot;);<br />
def tickClose = close(&quot;$TICK&quot;);</p>
<p>def isLow = if((tickDataLow &lt; LowThreshold), 1, 0);<br />
def isHigh = if((tickDataHigh &gt; HighThreshold), 1, 0);</p>
<p>def plotcolor = if(isLow, 6, 5);<br />
plot TickDot = if(isLow and !isHigh, low-dotOffset, if(isHigh and !isLow , high+dotOffset, double.nan));<br />
TickDot.setStyle(curve.POINTS);<br />
TickDot.assignValueColor(getColor(plotcolor));<br />
TickDot.setLineWeight(3);</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinkscripter.com/2009/01/18/extreme-nyse-tick-dots/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
