<?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; volume by price</title>
	<atom:link href="http://www.thinkscripter.com/tag/volume-by-price/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>ThinkScripter Volume Profile</title>
		<link>http://www.thinkscripter.com/indicator/thinkscripter-volume-profile/</link>
		<comments>http://www.thinkscripter.com/indicator/thinkscripter-volume-profile/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 02:11:58 +0000</pubDate>
		<dc:creator>ThinkScripter</dc:creator>
				<category><![CDATA[Indicator]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[market profile]]></category>
		<category><![CDATA[thinkorswim]]></category>
		<category><![CDATA[thinkscript]]></category>
		<category><![CDATA[volume by price]]></category>
		<category><![CDATA[Volume profile]]></category>

		<guid isPermaLink="false">http://www.thinkscripter.com/?p=1660</guid>
		<description><![CDATA[The Original ThinkScripter Volume Profile. REPLACED BY TOS NATIVE VERSION. <a href="http://www.thinkscripter.com/indicator/thinkscripter-volume-profile/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong><span style="color: #ff0000;">UPDATE MARCH 2010: The various profile studies (Volume/TPO) have been implemented natively by TOS and replace my thinkScript versions. I will leave these studies in the PRO bundle for those interested in looking at the code but I recommend using the new TOS versions henceforth. &#8211; Eric</span></strong><br />
<br />
<div id="pro" class="wp-caption aligncenter" style="width: 640px"><a href="http://www.thinkscripter.com/wp-content/uploads/2009/09/VolumeProfile.png"><img src="http://www.thinkscripter.com/wp-content/uploads/2009/09/VolumeProfile.png" alt="" title="VolumeProfile"  class="size-full wp-image-1659" /></a><p class="wp-caption-text">ThinkScripter Volume Profile</p></div></p>
<p>It can&#8217;t be done. That&#8217;s what I told myself along with tens of readers who requested some variation of volume by price, market profile, or volume profile. ThinkScript lacks the basic tools necessary to <em>easily</em> accomplish such a study: <strong>iterative looping and indexed array variables</strong> (Guido: hint, hint&#8230;).  Limitations be damned, I decided to give this beast at least the college effort. The volume of trades is depicted in the chart horizontally at price intervals. This &#8220;Volume by Price&#8221; can be used to understand which prices cause the largest activity and volume. This is useful in defining where the majority of historical trading volume happened and help find significant support and resistance lines. (Edit: FuturesTrader71 has an excellent video &#8220;Context and Trade Entries&#8221; discussing profiles and their use. <a href="http://www.futurestrader71.com/2009/12/what-is-context-and-talk-about-trade.html">See it here</a>).</p>
<p>A few notes on setting this beast up. It plots in the bars to the right of the current price bar. As such, you need to set your style settings accordingly. The default bar length is 45 periods. <a href="http://www.thinkscripter.com/wp-content/uploads/2009/10/Style.png">So, you need to set your bars right at 50</a> since there is a 5 bar buffer between the volume profile and the current bar. Should you decide to use more bars for a larger histogram, you&#8217;ll need to set the barLength parameter to 5 less than the amount of right  bars you choose. You will note that the highest volume bar is painted yellow and there is a dashed magenta VWAP line as well. All the bars are plotted relative to the highest volume bar and scaled accordingly. The profile is based on all the data plotted on the current chart so you can tailor it to meet your needs from a tick chart up to monthly. I tried numerous methods for sorting the volume into the various levels and settled for an equipartition model whereby any bar&#8217;s volume is divided equally between the high and the low of the bar. This is not exact but sans time and sales data in thinkScript, this seems to produce the best results. I am working on a variation that uses the market profile method of creating the histogram based on time-price-opportunities (TPOs).</p>
<p><em>This has been published to the PRO area of the forum in the current bundle.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinkscripter.com/indicator/thinkscripter-volume-profile/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>

