<?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; Fisher Transform</title>
	<atom:link href="http://www.thinkscripter.com/tag/fisher-transform/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thinkscripter.com</link>
	<description>thinkScript Indicators for thinkorswim</description>
	<lastBuildDate>Mon, 06 Sep 2010 19:13:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Fisher Transform Signals</title>
		<link>http://www.thinkscripter.com/indicator/fisher-transform-signals/</link>
		<comments>http://www.thinkscripter.com/indicator/fisher-transform-signals/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 21:45:13 +0000</pubDate>
		<dc:creator>ThinkScripter</dc:creator>
				<category><![CDATA[Indicator]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[Fisher Transform]]></category>
		<category><![CDATA[thinkscript]]></category>

		<guid isPermaLink="false">http://thinkscripter.wordpress.com/?p=471</guid>
		<description><![CDATA[An upper study that plots Fisher Transform signals on the price bars. <a href="http://www.thinkscripter.com/indicator/fisher-transform-signals/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a reader request for an upper study that plots Fisher Transform signals on the price bars.</p>
<div id="attachment_473" class="wp-caption aligncenter" style="width: 640px"><a href="http://www.thinkscripter.com/wp-content/uploads/2009/03/ftsignals.png"><img src="http://www.thinkscripter.com/wp-content/uploads/2009/03/ftsignals.png" alt="Fisher Transform Signals" title="ftsignals"  class="size-full wp-image-473" /></a><p class="wp-caption-text">Fisher Transform Signals</p></div>
<pre class="brush: thinkscript;">
# FisherTransformSignals
# http://www.thinkscripter.com
# thinkscripter@gmail.com
# Last Update 20 June 2010

input signalOffsetFactor = 0.20;
input length = 10;
input threshold = 2.0;

def signalOffset = AvgTrueRange(high,close,low,10)*signalOffsetFactor;

def maxHigh = Highest(high, length);
def minLow = Lowest(low, length);

rec value = if maxHigh - minLow == 0 then 0 else 0.66 * ((close - minLow) / (maxHigh - minLow) - 0.5) + 0.67 * value[1];

def truncValue = if value &gt; 0.99 then 0.999 else if value &lt; -0.99 then -0.999 else value;

rec FT = 0.5 * (log((1 + truncValue) / (1 - truncValue)) + FT[1]);

def trendDown = if FT &lt; FT[1] and FT[1] &gt; FT[2] and FT[1] &gt;= threshold then 1 else 0;
def trendUp = if FT &gt; FT[1] and FT[1] &lt; FT[2] and FT[1] &lt;= -threshold then 1 else 0;

def cSignal = if trendUp then low-signalOffset else if trendDown then high+signalOffset else double.nan;

plot signalHighlight = cSignal;
signalHighlight.AssignValueColor(if trendUp then color.green else color.red);
signalHighlight.setLineWeight(1);
signalHighlight.setStyle(curve.points);
signalHighlight.setpaintingStrategy(paintingStrategy.LINE_VS_TRIANGLES);

plot signal = cSignal;
signal.setDefaultColor(color.white);
signal.setLineWeight(4);
signal.setStyle(curve.points);
signal.setpaintingStrategy(paintingStrategy.LINE_VS_SQUARES);

#alert(trendup or trendDown, if trendUp then &quot;Long&quot; else &quot;Short&quot;, Alert.bar, sound.bell);
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.thinkscripter.com/indicator/fisher-transform-signals/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>
