<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>BullCharts : Better Volume Code</title>
  <link>http://www.bullcharts.com.au/forum/</link>
  <description>This is an XML content feed of; BullCharts : BullScript : Better Volume Code</description>
  <copyright>Copyright (c) 2006-2009 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 06 May 2026 19:00:44 +0000</pubDate>
  <lastBuildDate>Thu, 03 Sep 2009 03:47:59 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.bullcharts.com.au/forum/RSS_post_feed.asp?TID=501</WebWizForums:feedURL>
  <image>
   <title>BullCharts</title>
   <url>http://www.bullcharts.com.au/forum/http://www.bullcharts.com.au/images/bull_logo.gif</url>
   <link>http://www.bullcharts.com.au/forum/</link>
  </image>
  <item>
   <title>Better Volume Code : Here&amp;#039;s a Volume indicator...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=2128#2128</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=189" rel="nofollow">maximo</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 03&nbsp;Sep&nbsp;2009 at 3:47am<br /><br />Here's a Volume indicator I created to view Volume breakouts. <DIV>&nbsp;</DIV><DIV>features:</DIV><DIV>&nbsp; When blue line crosses the purple line the 5 day average volume is above the 50 day average volume.</DIV><DIV>&nbsp; Green Volume bars indicate a 10 day high of volume.</DIV><DIV>&nbsp; Red short bars indicate that Volume bar is 600%&nbsp;or greater.</DIV><DIV>&nbsp;</DIV><DIV>Parameters can be changed to suit.</DIV><DIV>&nbsp;</DIV><DIV><FONT color=#008000 size=3><FONT color=#008000 size=3><P>{ Volume Breakouts - Max }</P></FONT></FONT><FONT color=#800080 size=3><FONT color=#800080 size=3><P>&#091;Description</FONT></FONT><FONT size=3>="Apply&nbsp;averages 21 and 150sma onto price."</FONT><FONT color=#800080 size=3><FONT color=#800080 size=3>&#093;</P></FONT></FONT><FONT size=3><P>p1:= </FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>input</FONT></FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3><FONT color=#008b8b size=3>"Volume average small"</FONT></FONT><FONT size=3>,5,1);</P><P>p2:= </FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>input</FONT></FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3><FONT color=#008b8b size=3>"Volume average large"</FONT></FONT><FONT size=3>,50,1);</P><P>p3:= </FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>input</FONT></FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3><FONT color=#008b8b size=3>"Volume Bar Highest in period"</FONT></FONT><FONT size=3>,10,1);</P><P>p4:= </FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>input</FONT></FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3><FONT color=#008b8b size=3>"Volume Bar Spike increase%"</FONT></FONT><FONT size=3>,600,1);</P><P>vp:=((</FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>V</FONT></FONT><FONT size=3>-</FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>ref</FONT></FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>V</FONT></FONT><FONT size=3>,-1))/</FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>ref</FONT></FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>V</FONT></FONT><FONT size=3>,-1))*100 &gt; p4;</P></FONT><FONT color=#800080 size=3><FONT color=#800080 size=3><P>&#091;linestyle</FONT></FONT><FONT size=3>=Grounded Bar</FONT><FONT color=#800080 size=3><FONT color=#800080 size=3>;</FONT></FONT><FONT size=3> </FONT><FONT color=#800080 size=3><FONT color=#800080 size=3>Color</FONT></FONT><FONT size=3>=coral</FONT><FONT color=#800080 size=3><FONT color=#800080 size=3>&#093;</P></FONT></FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3><P>If</FONT></FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>Volume</FONT></FONT><FONT size=3> &lt;= </FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>hist</FONT></FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>HHV</FONT></FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>V</FONT></FONT><FONT size=3>,p3),1),</FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>V</FONT></FONT><FONT size=3>*0.5,</FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>undefined</FONT></FONT><FONT size=3>);</P></FONT><FONT color=#008000 size=3><FONT color=#008000 size=3><P>{ 10 day Volume breakouts are green bars }</P></FONT></FONT><FONT color=#800080 size=3><FONT color=#800080 size=3><P>&#091;Color</FONT></FONT><FONT size=3>=lime green</FONT><FONT color=#800080 size=3><FONT color=#800080 size=3>&#093;</P></FONT></FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3><P>If</FONT></FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>Volume</FONT></FONT><FONT size=3> &gt; </FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>hist</FONT></FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>HHV</FONT></FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>V</FONT></FONT><FONT size=3>,p3),1),</FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>V</FONT></FONT><FONT size=3>*0.5,</FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>undefined</FONT></FONT><FONT size=3>);</P></FONT><FONT color=#008000 size=3><FONT color=#008000 size=3><P>{ 600% Volume increase are short red bars }</P></FONT></FONT><FONT color=#800080 size=3><FONT color=#800080 size=3><P>&#091;Color</FONT></FONT><FONT size=3>=red</FONT><FONT color=#800080 size=3><FONT color=#800080 size=3>;</FONT></FONT><FONT size=3> </FONT><FONT color=#800080 size=3><FONT color=#800080 size=3>width</FONT></FONT><FONT size=3>=2</FONT><FONT color=#800080 size=3><FONT color=#800080 size=3>&#093;</P></FONT></FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3><P>If</FONT></FONT><FONT size=3>(vp,1,</FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>undefined</FONT></FONT><FONT size=3>);</P></FONT><FONT color=#800080 size=3><FONT color=#800080 size=3><P>&#091;linestyle</FONT></FONT><FONT size=3>=solid</FONT><FONT color=#800080 size=3><FONT color=#800080 size=3>;</FONT></FONT><FONT size=3> </FONT><FONT color=#800080 size=3><FONT color=#800080 size=3>width</FONT></FONT><FONT size=3>=1</FONT><FONT color=#800080 size=3><FONT color=#800080 size=3>;</FONT></FONT><FONT size=3> </FONT><FONT color=#800080 size=3><FONT color=#800080 size=3>color</FONT></FONT><FONT size=3>=blue</FONT><FONT color=#800080 size=3><FONT color=#800080 size=3>&#093;</P></FONT></FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3><P>ma</FONT></FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>Volume</FONT></FONT><FONT size=3>,p1,</FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>E</FONT></FONT><FONT size=3>);</P></FONT><FONT color=#800080 size=3><FONT color=#800080 size=3><P>&#091;color</FONT></FONT><FONT size=3>=Medium Orchid</FONT><FONT color=#800080 size=3><FONT color=#800080 size=3>&#093;</P></FONT></FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3><P>ma</FONT></FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>Volume</FONT></FONT><FONT size=3>,p2,</FONT><FONT color=#0000c0 size=3><FONT color=#0000c0 size=3>E</FONT></FONT><FONT size=3>);</P><DIV></FONT></DIV></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><span style="font-size:10px"><br /><br />Edited by maximo - 03&nbsp;Sep&nbsp;2009 at 4:35pm</span>]]>
   </description>
   <pubDate>Thu, 03 Sep 2009 03:47:59 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=2128#2128</guid>
  </item> 
  <item>
   <title>Better Volume Code : Ah I mustbe getting old... every...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1979#1979</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=189" rel="nofollow">maximo</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 14&nbsp;Feb&nbsp;2009 at 11:37pm<br /><br />Ah I must&nbsp;be getting old...&nbsp; every line should end&nbsp;with&nbsp; a semicolon; and I forgot to add them, so&nbsp;just add&nbsp;it&nbsp;to the end of the line&nbsp;and it&nbsp;should accept :) <span style="font-size:10px"><br /><br />Edited by maximo - 17&nbsp;Feb&nbsp;2009 at 2:43pm</span>]]>
   </description>
   <pubDate>Sat, 14 Feb 2009 23:37:28 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1979#1979</guid>
  </item> 
  <item>
   <title>Better Volume Code : Hi Mazimo, just having trouble...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1978#1978</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=294" rel="nofollow">jalna</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 14&nbsp;Feb&nbsp;2009 at 9:19pm<br /><br />Hi Mazimo, just having trouble with this one and how to write in the --and value 3. It says I perhaps have a semicolon missing.<br>&nbsp;If and when you have time. I have tried a lor of different ways , putting brackets here and there.<br>Also it didn't like the above formula but if i left off the last low churn; line it accepted it<br><br><br><div>lowchurn&nbsp;:= If(Value3 = Lowest(Value3,20),V,undefined)</div><div>lowchurn;</div><br><br><br>&#091;Color=Magenta&#093; { Climax &amp; High churn }<br>If(Value2 = Highest(Value2,20) and Value3 = Highest(Value3,20),V,undefined); <br><br>]]>
   </description>
   <pubDate>Sat, 14 Feb 2009 21:19:57 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1978#1978</guid>
  </item> 
  <item>
   <title>Better Volume Code : Thanks very much Maximo, really...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1977#1977</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=294" rel="nofollow">jalna</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 14&nbsp;Feb&nbsp;2009 at 7:23pm<br /><br />Thanks very much Maximo, really appreciate your help. I'm afraid my brain doesn't seem to work when it comes to computer code. I can draw and paint well though : )<br>I will have a go changing the code for the whole indicator then, and see how well i do, looks easy<br>Thanks<br>]]>
   </description>
   <pubDate>Sat, 14 Feb 2009 19:23:29 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1977#1977</guid>
  </item> 
  <item>
   <title>Better Volume Code : Hi Jalna,   That shouldn&amp;#039;t...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1976#1976</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=189" rel="nofollow">maximo</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 14&nbsp;Feb&nbsp;2009 at 6:40pm<br /><br />Hi Jalna, <DIV>&nbsp;</DIV><DIV>That shouldn't be too difficult.. I guess&nbsp;help&nbsp;is easiest&nbsp;&nbsp;given when you've already written the code, be great if someone had written it for me lol</DIV><DIV>&nbsp;</DIV><DIV>Bullscan can only act on variables and the Better volume code is only using IF commands to display the volume bar colours, so to get the scanner to be able to scan for them you need to&nbsp;put them&nbsp;in a variable.&nbsp; Then the number for the variable&nbsp;should appear in the list&nbsp;for scanning using the better volume indicator.</DIV><DIV>&nbsp;</DIV><DIV>currently:</DIV><DIV>If(Value3 = Lowest(Value3,20),V,undefined)</DIV><DIV>&nbsp;</DIV><DIV>change to this:</DIV><DIV>lowchurn&nbsp;:= If(Value3 = Lowest(Value3,20),V,undefined)</DIV><DIV>lowchurn;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><span style="font-size:10px"><br /><br />Edited by maximo - 14&nbsp;Feb&nbsp;2009 at 6:48pm</span>]]>
   </description>
   <pubDate>Sat, 14 Feb 2009 18:40:39 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1976#1976</guid>
  </item> 
  <item>
   <title>Better Volume Code : Hi Maximo,( the star of BC forum,)...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1975#1975</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=294" rel="nofollow">jalna</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 14&nbsp;Feb&nbsp;2009 at 5:15pm<br /><br />Hi Maximo,( the star of BC forum,) is it possible to scan from the Bettervolume code. I have tried but to no avail. What would need to be changed. "If true" does not work etc.<br>I'm looking for low churn days in particular. other scans are already written in BC for high volume etc<br>]]>
   </description>
   <pubDate>Sat, 14 Feb 2009 17:15:20 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1975#1975</guid>
  </item> 
  <item>
   <title>Better Volume Code : Day sent the above to me in two...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1939#1939</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=294" rel="nofollow">jalna</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 16&nbsp;Jan&nbsp;2009 at 10:49am<br /><br />Day sent the above to me in two different folders to put into custom indicators.<br>Just beware there are 2 different sections in the above and name them each differently eg VSA1 and VSA2 to go into the Custom Indicator folder<br>]]>
   </description>
   <pubDate>Fri, 16 Jan 2009 10:49:18 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1939#1939</guid>
  </item> 
  <item>
   <title>Better Volume Code : Hi Guys , Here is the script with...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1938#1938</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=294" rel="nofollow">jalna</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 16&nbsp;Jan&nbsp;2009 at 10:44am<br /><br />Hi Guys , Here is the script with the marker code that Day has written for me. It shows how to write code for markers which is good to know too.<br><br><br>&#091;description="Volume Spread Analysis - Tim Coates"&#093;<br>&#091;target=price&#093;<br>{ Constants }<br><br>numDays := 30;<br><br>dwWideSpread := 1.8;<br><br>dwNarrowSpread := 0.8;<br><br>dwSpreadMiddle := 0.5;<br><br>dwHighClose := 0.7;<br><br>dwLowClose := 0.3;<br><br>volNumDays := 30;<br><br>dwUltraHighVol := 2;<br><br>dwVeryHighVol := 2.2;<br><br>dwHighVol := 1.8;<br><br>dwAboveAvgVol := 1.5;<br><br>dwLowVol := 0.8;<br><br>{ Moving Averages }<br><br>volSpeedUp := int(numDays * 0.33);<br><br>avgVolume := MA(MA(V,volNumDays,E),volSpeedUp,E);<br><br>longTermAvg := int(MA(C,200,E) * 100);<br><br>medTermAvg := int(MA(C,50,E) * 100);<br><br>shortTermAvg := int(MA(C,10,E) * 100);<br><br>MAvgDir := MA(C,13,E);<br><br>MAvgDirTestDays:= 30;<br><br>MAvgDirHigh := HHV(MAvgDir, MAvgDirTestDays);<br><br>MAvgDirLow := LLV(MAvgDir, MAvgDirTestDays);<br><br>MAvgDirTrend := If(MAvgDir &gt; Ref(MAvgDirHigh, -1), 1, If(MAvgDir &lt; Ref(MAvgDirLow,-1), -1, 0));<br><br>{ Classify each bar }<br><br>upBar:= C &gt; Ref(C,-1);<br><br>downBar:= C &lt; Ref(C,-1);<br><br>closeEqual:= int(C*100) = int(Ref(C,-1)*100);<br><br>spread := H-L;<br><br>avgRange := Sum(spread, numDays) / numDays;<br><br>wideRange := spread &gt;= (dwWideSpread * avgRange);<br><br>narrowRange := spread &lt;= (dwNarrowSpread * avgRange);<br><br>testHighClose := L + (spread * dwHighClose);<br><br>testLowClose := L + (spread * dwLowClose);<br><br>testCloseMiddle := L + (spread * dwSpreadMiddle);<br><br>upClose := C &gt; testHighClose;<br><br>upClose12 := C &gt;= testCloseMiddle;<br><br>downClose := C &lt; testLowClose;<br><br>downClose12 := C &lt; testCloseMiddle;<br><br>middleClose := C &gt;= testLowClose AND C &lt;= testHighClose;<br><br>aboveAvgVolume := V &gt; (avgVolume * dwAboveAvgVol);<br><br>highVolume := V &gt; (avgVolume * dwHighVol);<br><br>veryHighVolume := V &gt; (avgVolume * dwVeryHighVol);<br><br>ultraHighVolume := V &gt; (avgVolume * dwUltraHighVol);<br><br>LowVolume := V &lt; (avgVolume * dwLowVol);<br><br>markUpVol := (V &gt; (avgVolume * dwLowVol)) AND (V &lt;= (avgVolume * dwUltraHighVol));<br><br>markUpVol2:= markUpVol AND Ref(markUpVol,-1);<br><br>narrowBar1 := spread &lt; Ref(spread,-1);<br><br>HH := H &gt; Ref(H,-1);<br><br>LL := L &lt; Ref(L,-1);<br><br>LH := H &lt; Ref(H,-1);<br><br>{ Direction and title }<br><br>Trend_U := (LLV(L,20) + 2 * ATR(10));<br><br>Trend_D := (HHV(H,20) - 2 * ATR(10));<br><br>TrendUp := C &gt;= Trend_U;<br><br>TrendDown := C &lt; Trend_D or C &lt; Trend_U;<br>{----------------------}<br>testVolLow2 := (V &lt; Ref(V,-1)) AND (V &lt; Ref(V,-2));<br>testVolHigh2 := (V &gt; Ref(V,-1)) AND (V &gt; Ref(V,-2));<br>WRD := (spread &gt; Ref(spread,-1)) AND (spread &gt; Ref(spread,-2)) AND (spread &gt; Ref(spread,-3));<br><br>{---UpThrustbar--------}<br>upThrustBar := WRD AND testVolHigh2 AND TrendUp AND HH AND downClose12 AND NOT Ref(upBar,1);<br>upThrustBarWithNoDemand := upThrustBar AND LowVolume;<br>upThrustBarWithSupplyOverDemand := upThrustBar AND testVolHigh2;<br><br>absorption := Ref(downbar, -1) AND Ref(highVolume, -1) AND upBar;<br>support := Ref(downBar,-1) AND (NOT Ref(downClose,-1)) AND Ref(highVolume,-1) AND upBar;<br><br><br>absorptionVolume1 := downBar AND downClose AND Highvolume AND Ref(upBar,1);<br>absorptionVolume2 := downBar AND downClose12 AND Highvolume AND Ref(upBar,1);<br><br><br>reverseUpThrust := TrendDown AND wideRange AND upClose AND Highvolume;<br>{----Stopping Volume-------}<br>stoppingVolume1 := downBar AND upClose12 AND Highvolume;<br>stoppingVolume2 := Ref(wideRange,-1) AND Ref(HighVolume,-1) AND Ref(downClose12,-1)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AND upBar AND HH; <br>stoppingVolume3 := Ref(wideRange,-1) AND Ref(HighVolume,-1) AND Ref(downClose12,-1)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AND upBar AND HighVolume AND upClose12;<br><br><br>stoppingVolume := TrendDown AND (stoppingVolume1 OR StoppingVolume2 OR StoppingVolume3);<br>{--------No Supply ------------}<br>basicNoSupplyBar := narrowRange AND LowVolume AND downBar AND (downclose OR middleClose);<br>noSupplyBarUp := basicNoSupplyBar AND TrendUp;<br>noSupplyBarDown := basicNoSupplyBar AND TrendDown;<br>{--------No Demand--------------}<br><br>basicNoDemandBar := narrowRange AND Lowvolume AND upBar AND (upClose OR middleClose);<br>noDemandBar := basicNoDemandBar;<br>{-----TestBar-----------------}<br>testBar0 := narrowRange AND lowvolume AND (C &gt; testCloseMiddle);<br>testBar := testBar0 AND (NOT NoDemandBar);<br>{----Strength &amp; Weakness---}<br>weakness1 := downBar AND downClose AND C &lt; Ref(L,-1);<br>weakness := upThrustBar OR noDemandBar;<br><br>weaknessInUpTrend := weakness AND TrendUp;<br>weaknessInDownTrend := weakness AND TrendDown;<br><br>WideRangeAlert1 := wideRange AND aboveAvgVolume AND TrendUp AND (C &lt; O);<br>WideRangeAlert2 := wideRange AND downClose12 AND TrendUp;<br>MyMarkUp := markUpVol AND Ref(markUpVol,-1) AND (MAvgDirTrend &gt; 0) AND V &gt; Ref(V,-1);<br>EffortToGoDown := wideRange AND aboveAvgVolume AND TrendUp AND downClose;<br>Spread_ := If (wideRange,"wide",If(narrowRange,"narrow","average"));<br><br>&#091;name="";linestyle=marker; marker=type1; tooltip="EffortToGoDown"&#093;<br>EffortToGoDown;<br><br>&#091;name="UpThrustWithNoDemand";linestyle=points;tooltip="UpThrustWithNoDemand";color=Red&#093;<br>UtNodemand:= If(upThrustBarWithNoDemand,L,undefined);<br>UtNodemand-(L*0.005);<br><br>&#091;name="upThrustBarWithSupplyOverDemand";linestyle=points;tooltip="upThrustBarWithSupplyOverDemand";color="Dark Red"&#093;<br>Utdemand:= If(upThrustBarWithSupplyOverDemand,L,undefined);<br>Utdemand-(L*0.005);<br><br>&#091;name="weaknessInDownTrend";linestyle=points;tooltip="weaknessInDownTrend";color="Brown"&#093;<br>weaknessin:= If(weaknessInDownTrend,L,undefined);<br>weaknessin-(L*0.008);<br><br>&#091;name="NoDemandBar";linestyle=points;tooltip="NoDemandBar";color="Black"&#093;<br>nodB:= If(NoDemandBar,H,undefined);<br>nodB + (H*0.005);<br><br>&#091;name="stoppingVolume";linestyle=points;tooltip="stoppingVolume";color="Sea Green"&#093;<br>sv:= If(stoppingVolume,L,undefined);<br>sv-(L*0.011);<br><br>&#091;name="testBar";linestyle=points;tooltip="testBar";color="Blue"&#093;<br>tb:= If(testBar,L,undefined);<br>tb-(L*0.015);<br><br>&#091;name="reverseUpThrust";linestyle=points;tooltip="reverseUpThrust";color="Dark Green"&#093;<br>rt:= If(reverseUpThrust,L,undefined);<br>rt-(L*0.018);<br><br>&#091;name="noSupplyBarUpORDown";linestyle=points;tooltip="noSupplyBarUpORDown";color="Pink"&#093;<br>nsbud:= If(noSupplyBarUp OR noSupplyBarDown,L,undefined);<br>nsbud-(L*0.022);<br><br>&#091;name="MyMarkUp";linestyle=points;tooltip="MyMarkUp";color="Sea Green"&#093;<br>mmu:= If(MyMarkUp,L,undefined);<br>mmu-(L*0.022);<br><br><br>You may need to put the volume code in as well to make it work<br><br>&#091;description="Volume Spread Analysis - Tim Coates"&#093;<br>{ Constants }<br>numDays := 30; <br>dwWideSpread := 1.8; <br>dwNarrowSpread := 0.8; <br>dwSpreadMiddle := 0.5; <br>dwHighClose := 0.7; <br>dwLowClose := 0.3; <br>volNumDays := 30;<br>dwUltraHighVol := 2; <br>dwVeryHighVol := 2.2;<br>dwHighVol := 1.8; <br>dwAboveAvgVol := 1.5; <br>dwLowVol := 0.8;<br>{ Moving Averages } <br>volSpeedUp := int(numDays * 0.33);<br>avgVolume := MA(MA(V,volNumDays,E),volSpeedUp,E);<br>longTermAvg := int(MA(C,200,E) * 100); <br>medTermAvg := int(MA(C,50,E) * 100); <br>shortTermAvg := int(MA(C,10,E) * 100); <br>MAvgDir := MA(C,13,E); <br>MAvgDirTestDays:= 30; <br>MAvgDirHigh := HHV(MAvgDir, MAvgDirTestDays); <br>MAvgDirLow := LLV(MAvgDir, MAvgDirTestDays); <br>MAvgDirTrend := If(MAvgDir &gt; Ref(MAvgDirHigh, -1), 1, If(MAvgDir &lt; Ref(MAvgDirLow,-1), -1, 0)); <br>{ Classify each bar }<br>upBar:= C &gt; Ref(C,-1); <br>downBar:= C &lt; Ref(C,-1); <br>closeEqual:= int(C*100) = int(Ref(C,-1)*100); <br>spread := H-L; <br>avgRange := Sum(spread, numDays) / numDays; <br>wideRange := spread &gt;= (dwWideSpread * avgRange); <br>narrowRange := spread &lt;= (dwNarrowSpread * avgRange); <br>testHighClose := L + (spread * dwHighClose); <br>testLowClose := L + (spread * dwLowClose); <br>testCloseMiddle := L + (spread * dwSpreadMiddle); <br>upClose := C &gt; testHighClose; <br>upClose12 := C &gt;= testCloseMiddle; <br>downClose := C &lt; testLowClose; <br>downClose12 := C &lt; testCloseMiddle; <br>middleClose := C &gt;= testLowClose AND C &lt;= testHighClose; <br>aboveAvgVolume := V &gt; (avgVolume * dwAboveAvgVol); <br>highVolume := V &gt; (avgVolume * dwHighVol); <br>veryHighVolume := V &gt; (avgVolume * dwVeryHighVol); <br>ultraHighVolume := V &gt; (avgVolume * dwUltraHighVol); <br>LowVolume := V &lt; (avgVolume * dwLowVol); <br>markUpVol := (V &gt; (avgVolume * dwLowVol)) AND (V &lt;= (avgVolume * dwUltraHighVol)); <br>markUpVol2:= markUpVol AND Ref(markUpVol,-1); <br>narrowBar1 := spread &lt; Ref(spread,-1); <br>HH := H &gt; Ref(H,-1); <br>LL := L &lt; Ref(L,-1); <br>LH := H &lt; Ref(H,-1); <br>{ Direction and title }<br>Trend_U := (LLV(L,20) + 2 * ATR(10)); <br>Trend_D := (HHV(H,20) - 2 * ATR(10)); <br>TrendUp := C &gt;= Trend_U; <br>TrendDown := C &lt; Trend_D or C &lt; Trend_U; <br>&#091;linestyle=pricecolor&#093;<br>&#091;color=green&#093; {lime green}<br>If(TrendUp,1,0);<br>&#091;color=red&#093; {red}<br>If(TrendDown,1,0);<br>&#091;linestyle=Grounded Bar; width=2&#093;<br>&#091;color=red&#093; {red}<br>If(Close&lt;=Open,Volume,undefined);<br>&#091;Color=Lime Green&#093;<br>If(Close&gt;Open,Volume,undefined);<br><br><br>It takes awhile for my computer to digest all the info but I have an old one.<br>What do you think, code needs tweaking ?<br>]]>
   </description>
   <pubDate>Fri, 16 Jan 2009 10:44:05 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1938#1938</guid>
  </item> 
  <item>
   <title>Better Volume Code : Hello eveyone, This is my frst...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1926#1926</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=660" rel="nofollow">paras</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 15&nbsp;Dec&nbsp;2008 at 11:52pm<br /><br /><P>Hello eveyone,</P><DIV>This is my frst post...and i am happy to find " volume " lovers here ....</DIV><DIV>the formla of &#091; VSA&#093; for amibroker can be downloaded from vpanalysis.blogspot ...it has been coded by Mr Karthik....</DIV><DIV>**Mr karthik ..who&nbsp; discussed&nbsp; VSA&nbsp;on traderji </DIV><DIV>&nbsp;</DIV><DIV>I hope you all will love this&nbsp; afl ..</DIV><DIV>Thank you </DIV>]]>
   </description>
   <pubDate>Mon, 15 Dec 2008 23:52:12 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1926#1926</guid>
  </item> 
  <item>
   <title>Better Volume Code : Note the following references....longTermAvg...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1842#1842</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=648" rel="nofollow">tcoates_au</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 16&nbsp;Sep&nbsp;2008 at 6:05pm<br /><br /><font size="3" face="Georgia, Times New Roman, Times, serif">Note the following references....<br><br>longTermAvg := <font color="#0000c0">int</font>(<font color="#0000c0">MA</font>(<font color="#0000c0">C</font>,200,<font color="#0000c0">E</font>) * 100); </font><p align="left"><font size="3" face="Georgia, Times New Roman, Times, serif">medTermAvg := <font color="#0000c0">int</font>(<font color="#0000c0">MA</font>(<font color="#0000c0">C</font>,50,<font color="#0000c0">E</font>) * 100); </font></p><p align="left"><font size="3" face="Georgia, Times New Roman, Times, serif">shortTermAvg := <font color="#0000c0">int</font>(<font color="#0000c0">MA</font>(<font color="#0000c0">C</font>,10,<font color="#0000c0">E</font>) * 100); </font></p><p align="left"><font size="3" face="Georgia, Times New Roman, Times, serif">MAvgDir := <font color="#0000c0">MA</font>(<font color="#0000c0">C</font>,13,<font color="#0000c0">E</font>); <br></font></p><p align="left"><br></p>Do not have anything to do with VSA. These are just averages that I calculate to display as part of the page header when the user moves from one bar to the next.<br><br>As far as <font size="3" face="Georgia, Times New Roman, Times, serif">MAvgDir </font>is concerned, that is only used to determine whether the direction is up, down or flat, using HHV, LLV. The other moving averages (as far as direction is concerned) are just up or down based on today vs yesterday.<br><br>The references to EncodeColor are so that that I can plot the long, medium and short term average indicators (in the chart header) are colors red or green depending on whether up or down. It is purely a visual thing.<br><br>You will also find that I color the volume label and bar spread in the chart header also. Again, this is just a visual thing (for me). <br><br>Since the moving averages are not really part of VSA (or whatever you want to call it!) you dont need to have these as part of the script.<br><br>Secondly, the trend up and down part allow me/you to color bars in the same way as traderguider does (?). That is if the close (doing this from memory) is greater than LLV of last N days by 2 * ATR(10), then color green. This code is also straight from an idea on<br><br>http://ilmusaham.wordpress.com/2008/06/01/amibroker-the-truth-about-volatility/<br><br>which was also coded on other traders tip and tricks coding forum. Again this is not VSA but makes the chart prettier.<br><br>Finally, the alerts that you get from the script might/will be different to what you get from other VSA related documents. But is close, and you still see alerts like stopping volume and weakness and no-demand which are the main things to look for?!?<br><br>Tim<br>]]>
   </description>
   <pubDate>Tue, 16 Sep 2008 18:05:11 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1842#1842</guid>
  </item> 
  <item>
   <title>Better Volume Code : Hi Guys , Day from Bull Charts...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1841#1841</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=294" rel="nofollow">jalna</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 16&nbsp;Sep&nbsp;2008 at 5:05pm<br /><br />Hi Guys , Day from Bull Charts will have a go when he gets back from holiday and see if he can help. We might have it solved anyway : )&nbsp;&nbsp;&nbsp;]]>
   </description>
   <pubDate>Tue, 16 Sep 2008 17:05:57 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1841#1841</guid>
  </item> 
  <item>
   <title>Better Volume Code : Thanks Tim, I&amp;#039;ve spent a...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1839#1839</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=189" rel="nofollow">maximo</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 16&nbsp;Sep&nbsp;2008 at 3:32pm<br /><br /><P>Thanks Tim,</P><DIV>I've spent a little time on it today&nbsp;getting the&nbsp;JB paint bar coloring done.&nbsp;&nbsp; Just need to code</DIV><DIV>the&nbsp;colors for the Volume bars, Averages&nbsp;and Point markers.&nbsp; It's a start and&nbsp;can serve</DIV><DIV>&nbsp;as a base for others to work on if they wish.&nbsp;</DIV><DIV>&nbsp; Thanks for&nbsp;your script and the useful analysis technique.</DIV><DIV>&nbsp;</DIV><FONT color=#800080><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>&#091;description</FONT></FONT><FONT face="Georgia, Times New Roman, Times, serif"><FONT size=3>="Volume Spread Analysis - Tim Coates"<FONT color=#800080>&#093;</P></FONT></FONT></FONT><FONT face="Georgia, Times New Roman, Times, serif" color=#008000 size=3><P align=left>{ Constants }</P></FONT><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>numDays := 30; </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>dwWideSpread := 1.8; </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>dwNarrowSpread := 0.8; </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>dwSpreadMiddle := 0.5; </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>dwHighClose := 0.7; </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>dwLowClose := 0.3; </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>volNumDays := 30;</FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>dwUltraHighVol := 2; </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>dwVeryHighVol := 2.2;</FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>dwHighVol := 1.8; </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>dwAboveAvgVol := 1.5; </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>dwLowVol := 0.8;</FONT></P><FONT color=#008000><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>{ Moving Averages }</FONT></FONT><FONT face="Georgia, Times New Roman, Times, serif" size=3> </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>volSpeedUp := <FONT color=#0000c0>int</FONT>(numDays * 0.33);</FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>avgVolume := <FONT color=#0000c0>MA</FONT>(<FONT color=#0000c0>MA</FONT>(<FONT color=#0000c0>V</FONT>,volNumDays,<FONT color=#0000c0>E</FONT>),volSpeedUp,<FONT color=#0000c0>E</FONT>);</FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>longTermAvg := <FONT color=#0000c0>int</FONT>(<FONT color=#0000c0>MA</FONT>(<FONT color=#0000c0>C</FONT>,200,<FONT color=#0000c0>E</FONT>) * 100); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>medTermAvg := <FONT color=#0000c0>int</FONT>(<FONT color=#0000c0>MA</FONT>(<FONT color=#0000c0>C</FONT>,50,<FONT color=#0000c0>E</FONT>) * 100); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>shortTermAvg := <FONT color=#0000c0>int</FONT>(<FONT color=#0000c0>MA</FONT>(<FONT color=#0000c0>C</FONT>,10,<FONT color=#0000c0>E</FONT>) * 100); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>MAvgDir := <FONT color=#0000c0>MA</FONT>(<FONT color=#0000c0>C</FONT>,13,<FONT color=#0000c0>E</FONT>); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>MAvgDirTestDays:= 30; </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>MAvgDirHigh := <FONT color=#0000c0>HHV</FONT>(MAvgDir, MAvgDirTestDays); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>MAvgDirLow := <FONT color=#0000c0>LLV</FONT>(MAvgDir, MAvgDirTestDays); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>MAvgDirTrend := <FONT color=#0000c0>If</FONT>(MAvgDir &gt; <FONT color=#0000c0>Ref</FONT>(MAvgDirHigh, -1), 1, <FONT color=#0000c0>If</FONT>(MAvgDir &lt; <FONT color=#0000c0>Ref</FONT>(MAvgDirLow,-1), -1, 0)); </FONT></P><FONT face="Georgia, Times New Roman, Times, serif" color=#008000 size=3><P align=left>{ Classify each bar }</P></FONT><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>upBar:= <FONT color=#0000c0>C</FONT> &gt; <FONT color=#0000c0>Ref</FONT>(<FONT color=#0000c0>C</FONT>,-1); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>downBar:= <FONT color=#0000c0>C</FONT> &lt; <FONT color=#0000c0>Ref</FONT>(<FONT color=#0000c0>C</FONT>,-1); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>closeEqual:= <FONT color=#0000c0>int</FONT>(<FONT color=#0000c0>C</FONT>*100) = <FONT color=#0000c0>int</FONT>(<FONT color=#0000c0>Ref</FONT>(<FONT color=#0000c0>C</FONT>,-1)*100); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>spread := <FONT color=#0000c0>H</FONT>-<FONT color=#0000c0>L</FONT>; </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>avgRange := <FONT color=#0000c0>Sum</FONT>(spread, numDays) / numDays; </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>wideRange := spread &gt;= (dwWideSpread * avgRange); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>narrowRange := spread &lt;= (dwNarrowSpread * avgRange); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>testHighClose := <FONT color=#0000c0>L</FONT> + (spread * dwHighClose); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>testLowClose := <FONT color=#0000c0>L</FONT> + (spread * dwLowClose); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>testCloseMiddle := <FONT color=#0000c0>L</FONT> + (spread * dwSpreadMiddle); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>upClose := <FONT color=#0000c0>C</FONT> &gt; testHighClose; </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>upClose12 := <FONT color=#0000c0>C</FONT> &gt;= testCloseMiddle; </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>downClose := <FONT color=#0000c0>C</FONT> &lt; testLowClose; </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>downClose12 := <FONT color=#0000c0>C</FONT> &lt; testCloseMiddle; </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>middleClose := <FONT color=#0000c0>C</FONT> &gt;= testLowClose <FONT color=#0000c0>AND</FONT> <FONT color=#0000c0>C</FONT> &lt;= testHighClose; </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>aboveAvgVolume := <FONT color=#0000c0>V</FONT> &gt; (avgVolume * dwAboveAvgVol); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>highVolume := <FONT color=#0000c0>V</FONT> &gt; (avgVolume * dwHighVol); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>veryHighVolume := <FONT color=#0000c0>V</FONT> &gt; (avgVolume * dwVeryHighVol); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>ultraHighVolume := <FONT color=#0000c0>V</FONT> &gt; (avgVolume * dwUltraHighVol); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>LowVolume := <FONT color=#0000c0>V</FONT> &lt; (avgVolume * dwLowVol); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>markUpVol := (<FONT color=#0000c0>V</FONT> &gt; (avgVolume * dwLowVol)) <FONT color=#0000c0>AND</FONT> (<FONT color=#0000c0>V</FONT> &lt;= (avgVolume * dwUltraHighVol)); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>markUpVol2:= markUpVol <FONT color=#0000c0>AND</FONT> <FONT color=#0000c0>Ref</FONT>(markUpVol,-1); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>narrowBar1 := spread &lt; <FONT color=#0000c0>Ref</FONT>(spread,-1); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>HH := <FONT color=#0000c0>H</FONT> &gt; <FONT color=#0000c0>Ref</FONT>(<FONT color=#0000c0>H</FONT>,-1); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>LL := <FONT color=#0000c0>L</FONT> &lt; <FONT color=#0000c0>Ref</FONT>(<FONT color=#0000c0>L</FONT>,-1); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>LH := <FONT color=#0000c0>H</FONT> &lt; <FONT color=#0000c0>Ref</FONT>(<FONT color=#0000c0>H</FONT>,-1); </FONT></P><FONT face="Georgia, Times New Roman, Times, serif" color=#008000 size=3><P align=left>{ Direction and title }</P></FONT><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>Trend_U := (<FONT color=#0000c0>LLV</FONT>(<FONT color=#0000c0>L</FONT>,20) + 2 * ATR(10)); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>Trend_D := (<FONT color=#0000c0>HHV</FONT>(<FONT color=#0000c0>H</FONT>,20) - 2 * ATR(10)); </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>TrendUp := <FONT color=#0000c0>C</FONT> &gt;= Trend_U; </FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>TrendDown := <FONT color=#0000c0>C</FONT> &lt; Trend_D <FONT color=#0000c0>or</FONT> <FONT color=#0000c0>C</FONT> &lt; Trend_U; </FONT></P><FONT color=#800080><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>&#091;linestyle</FONT></FONT><FONT face="Georgia, Times New Roman, Times, serif" size=3>=pricecolor</FONT><FONT color=#800080><FONT face="Georgia, Times New Roman, Times, serif" size=3>&#093;</FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>&#091;color</FONT></FONT><FONT face="Georgia, Times New Roman, Times, serif"><FONT size=3>=rgb(98,217,98)<FONT color=#800080>&#093;</FONT> <FONT color=#008000>{lime green}</P></FONT></FONT></FONT><FONT color=#0000c0><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>If</FONT></FONT><FONT face="Georgia, Times New Roman, Times, serif" size=3>(TrendUp,1,0);</FONT></P><FONT color=#800080><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>&#091;color</FONT></FONT><FONT face="Georgia, Times New Roman, Times, serif"><FONT size=3>=rgb(226,118,118)<FONT color=#800080>&#093;</FONT> <FONT color=#008000>{red}</P></FONT></FONT></FONT><FONT color=#0000c0><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>If</FONT></FONT><FONT face="Georgia, Times New Roman, Times, serif" size=3>(TrendDown,1,0);</FONT></P><FONT color=#800080><FONT color=#800080><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>&#091;linestyle</FONT></FONT><FONT face="Georgia, Times New Roman, Times, serif"><FONT size=3><FONT color=#000000>=Grounded Bar</FONT><FONT color=#800080>;</FONT><FONT color=#000000> </FONT><FONT color=#800080>width</FONT><FONT color=#000000>=2</FONT></FONT></FONT><FONT color=#800080><FONT face="Georgia, Times New Roman, Times, serif" size=3>&#093;</FONT></P><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>&#091;color</FONT></FONT><FONT face="Georgia, Times New Roman, Times, serif"><FONT size=3><FONT color=#000000>=rgb(226,118,118)</FONT><FONT color=#800080>&#093;</FONT><FONT color=#000000> </FONT><FONT color=#008000>{red}</P></FONT></FONT></FONT><FONT color=#0000c0><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>If</FONT></FONT><FONT face="Georgia, Times New Roman, Times, serif"><FONT size=3><FONT color=#000000>(</FONT><FONT color=#0000c0>Close</FONT><FONT color=#000000>&lt;=</FONT><FONT color=#0000c0>Open</FONT><FONT color=#000000>,</FONT><FONT color=#0000c0>Volume</FONT><FONT color=#000000>,</FONT><FONT color=#0000c0>undefined</FONT><FONT color=#000000>);</FONT></FONT></FONT></P><FONT color=#800080><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>&#091;Color</FONT></FONT><FONT face="Georgia, Times New Roman, Times, serif"><FONT size=3><FONT color=#000000>=Lime Green</FONT><FONT color=#800080>&#093;</P></FONT></FONT></FONT><FONT color=#0000c0><P align=left><FONT face="Georgia, Times New Roman, Times, serif" size=3>If</FONT></FONT><FONT face="Courier New, Courier, mono"><FONT face="Georgia, Times New Roman, Times, serif"><FONT size=3><FONT color=#000000>(</FONT><FONT color=#0000c0>Close</FONT><FONT color=#000000>&gt;</FONT><FONT color=#0000c0>Open</FONT><FONT color=#000000>,</FONT><FONT color=#0000c0>Volume</FONT><FONT color=#000000>,</FONT><FONT color=#0000c0>undefined</FONT><FONT color=#000000>);</FONT></FONT></FONT></P></FONT></FONT><FONT size=2><FONT face="Courier New, Courier, mono"></FONT></FONT><FONT size=3></FONT><span style="font-size:10px"><br /><br />Edited by maximo - 16&nbsp;Sep&nbsp;2008 at 4:39pm</span>]]>
   </description>
   <pubDate>Tue, 16 Sep 2008 15:32:49 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1839#1839</guid>
  </item> 
  <item>
   <title>Better Volume Code : Not sure what code others have...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1838#1838</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=648" rel="nofollow">tcoates_au</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 16&nbsp;Sep&nbsp;2008 at 11:55am<br /><br />Not sure what code others have converted as yet. But here is the first bit...<br><br>numDays := 30;<br>dwWideSpread := 1.8;<br>dwNarrowSpread := 0.8;<br>dwSpreadMiddle := 0.5;<br>dwHighClose := 0.7;<br>dwLowClose := 0.3;<br> <br>volNumDays := 30;<br>dwUltraHighVol := 2;<br>dwVeryHighVol := 2.2;<br>dwHighVol := 1.8; <br>dwAboveAvgVol := 1.5; <br>dwLowVol := 0.8; <br> <br>volSpeedUp := numDays * 0.33;<br>avgVolume := MA(MA(V, volNumDays, S),volSpeedUp, S) ;<br><br>upClose := C &gt; testHighClose;<br>upClose12 := C &gt;= testCloseMiddle;<br>downClose := C &lt; testLowClose;<br>downClose12 := C &lt; testCloseMiddle;<br>middleClose := C &gt;= testLowClose AND C &lt;= testHighClose;<br> <br> aboveAvgVolume := V &gt; (avgVolume * dwAboveAvgVol); <br>highVolume := V &gt; (avgVolume * dwHighVol); <br>veryHighVolume := V &gt; (avgVolume * dwVeryHighVol);<br>ultraHighVolume := V &gt; (avgVolume * dwUltraHighVol);<br>LowVolume := V &lt; (avgVolume * dwLowVol); <br><br>Combine that with <br><br>&#091;Color=Cyan&#093; { Normal&nbsp;}<br>Volume;<br>&#091;Color=Gold&#093; { Low volume&nbsp;}<br>If(highVolume,V,undefined);<br><br>(assuming you want to color volume bars) and you are off to a start?!?<br><br>Tim<br><br>PS. I dont have or use BullCharts so what I work out is partially guess work. Jalna asked me if he could post my code here. I said Yes. So whatever help I give is ....<br><br>]]>
   </description>
   <pubDate>Tue, 16 Sep 2008 11:55:34 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1838#1838</guid>
  </item> 
  <item>
   <title>Better Volume Code : Hi Tim, I have been reading and...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1836#1836</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=389" rel="nofollow">trev04</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 15&nbsp;Sep&nbsp;2008 at 7:31pm<br /><br />Hi Tim, <br>I have been reading and noting data from "Master The Markets" for a few weeks now and am fascinated with the concept!<br>After reading from BullCharts forum, and comming across your post, I have become even more interested in utilizing the indicators more.&nbsp; So I have been attempting to copy and change aspects of the code to suit BC, yet am still unable to get it to work!!!<br>Would you please be able to show me exactly how to get the code to work in BC?<br><br>The first part is volume analysis: Is that from "SetChartOptions... to LH = H &lt; Ref(H,-1);"<br>The next part is direction: Is that from "ColorScheme = Param... to ?"<br>There are so many parts of codes that you have showed,&nbsp; yet I cannot assertain how that all combine together!!! It is probably just me that is not following the code, yet I would appreciate very much If you could assist me in the following of your explanation.<br><br>I have been thrilled with the information I have obtained of the whole concept, and am looking forward to utilising this in Bullcharts successfully.<br><br>Thankyou again for any assistance you can give me.<br>Best Regards<br>Trevor Jones<br>]]>
   </description>
   <pubDate>Mon, 15 Sep 2008 19:31:58 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1836#1836</guid>
  </item> 
  <item>
   <title>Better Volume Code : Hi,My name is Tim Coates and I...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1831#1831</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=648" rel="nofollow">tcoates_au</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 15&nbsp;Sep&nbsp;2008 at 8:16am<br /><br />Hi,<br><br>My name is Tim Coates and I wrote the script above. The script itself is OK. You have to note there are 3 parts to the script above. The first part is volume analysis, and that is the top part of the script. <br><br>The next part is direction and that is implemented quite simply using moving averages (though these are not plotted on the chart as such!). I also use a 13 day moving average to determine whether trend direction is flat or not using HHV and LLV. Its an idea from Trading for a living. Found it to be more effective than either the short or medium term averages.<br><br>Finally there is the plotting of the chart and associated "alerts". I have 2 (or 3) coloring schemes - plain black, bars colored based on wide range, narrow range etc., and the last color scheme is an ATR based green and red. (On this last color scheme, you can find many links on the Internet to code for Jim Bergs volatility which you should be able to modify as necessary)<br><br>The alerts are plotted as either dots or small up/down triangles. Amibroker gives you numerous choices here. The main reason why I used small up/down triangles is so they don't get in the way of the charts compared with a regular trianges.<br><br>In the 2nd version I switched to dots as they are less intrusive - especially when you plot all types of alerts on a chart, either above the high or below the low. <br><br>So you should be able to substitute arrow as you suggested.<br><br>Hope that helps. (if you have any questions about the script, I don't mind if you send me an email)<br><br>Cheers,<br>Tim<br><br>]]>
   </description>
   <pubDate>Mon, 15 Sep 2008 08:16:12 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1831#1831</guid>
  </item> 
  <item>
   <title>Better Volume Code : Hi guys, here  is a link from...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1830#1830</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=294" rel="nofollow">jalna</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 14&nbsp;Sep&nbsp;2008 at 6:44pm<br /><br />Hi guys, here  is a link from Tim on how the code works and looks<br />http://s289.photobucket.com/albums/ll230/tcoates_au/<br />]]>
   </description>
   <pubDate>Sun, 14 Sep 2008 18:44:47 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1830#1830</guid>
  </item> 
  <item>
   <title>Better Volume Code : OMG jalna that&amp;#039;s a fair chunk...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1829#1829</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=189" rel="nofollow">maximo</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 14&nbsp;Sep&nbsp;2008 at 4:53am<br /><br /><P>OMG jalna that's a fair chunk of code!</P><DIV>I can see a&nbsp;couple of functions&nbsp;there that I have no idea what they do.. &nbsp; like WriteIf( ),&nbsp; and EncodeColor()&nbsp; other than that it's a step by step process one&nbsp;line at&nbsp; a time.&nbsp;&nbsp;It's helpful if you can see what it's supposed to look like on the other platform,&nbsp; a picture says a 1000 words they say.&nbsp;&nbsp; Like the video for the better volume indicator, which&nbsp;&nbsp;also helps to make sure every step you've&nbsp;taken is a correct.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Not sure if bullscript&nbsp;can do all those kinds of plots like PlotShapes( shapeSmallUpTriangle), might be able to substitute up arrows or something.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</DIV><DIV>I will have a look at the links you've pasted, thanks!&nbsp;</DIV>]]>
   </description>
   <pubDate>Sun, 14 Sep 2008 04:53:40 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1829#1829</guid>
  </item> 
  <item>
   <title>Better Volume Code : Hi Maximo, here is the code for...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1828#1828</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=294" rel="nofollow">jalna</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 13&nbsp;Sep&nbsp;2008 at 2:30pm<br /><br />Hi Maximo, here is the code for a version of VSA written for Amibroker.<br />What do you reckon ? Looks very complicated to me. Tim has been putting up some of his codes on the above forums. He is fine if we want to try and script it. I have posted some stuff at the bottom that he suggested might help for Bull script <br /><br />SECTION_BEGIN("Volume Analysis");<br /> <br />////////////////////////////////////////////////////////////////////////////////////<br />//<br />// Volume Analysis Studies<br />//<br />// this code studies price/volume based on information from<br />//<br />//&nbsp;&nbsp;&nbsp;* Master the Markets,<br />//&nbsp;&nbsp;&nbsp;* http://www.traderji.com/<br />//&nbsp;&nbsp;&nbsp;* http://www.traderslaboratory.com/<br />//<br />// I do not claim responsibility or liability for how this code is used. <br />// If you change the code in any way, please send me an updated copy of <br />// the changes to:<br />//<br />//&nbsp;&nbsp;&nbsp;tcoates_au@hotmail.com<br />//<br />////////////////////////////////////////////////////////////////////////////////////<br /> <br /> <br />SetChartOptions(0,chartShowArrows|chartShowDates);<br /> <br />////////////////////////////////////////////////////////////////////////////////////<br />//<br />// constants<br />//<br />////////////////////////////////////////////////////////////////////////////////////<br /> <br />numDays = 30;<br />dwWideSpread = 1.8;<br />dwNarrowSpread = 0.8;<br />dwSpreadMiddle = 0.5;<br />dwHighClose = 0.7;<br />dwLowClose = 0.3;<br /> <br />volNumDays = 30; //numDays;<br />dwUltraHighVol = 2;<br />dwVeryHighVol = 2.2; // was 1.8<br />dwHighVol = 1.8; // was 1.8<br />dwAboveAvgVol = 1.5; // was 1.8<br />dwLowVol = 0.8; // was 0.8<br /> <br />//avgVolume = EMA(V, volNumDays);<br /> <br />volSpeedUp = 1; //int(numDays * 0.33);<br />avgVolume = EMA(EMA(V, volNumDays),volSpeedUp) ;<br /> <br />////////////////////////////////////////////////////////////////////////////////////<br /> <br />longTermAvg = int(EMA(C, 200) * 100);<br />medTermAvg = int(EMA(C, 50) * 100);<br />shortTermAvg = int(EMA(C, 10) * 100);<br />MAvgDir = EMA(C, 13);<br />MAvgDirTestDays = 30;<br />MAvgDirHigh = HHV(MAvgDir, MAvgDirTestDays);<br />MAvgDirLow = LLV(MAvgDir, MAvgDirTestDays);<br />MAvgDirTrend = IIf(MAvgDir &gt; Ref(MAvgDirHigh, -1), 1,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IIf(MAvgDir &lt; Ref(MAvgDirLow,-1), -1, 0));<br /> <br /> <br />////////////////////////////////////////////////////////////////////////////////////<br />//<br />// Classify each bar...<br />//<br />////////////////////////////////////////////////////////////////////////////////////<br /> <br /> <br />upBar = C &gt; Ref(C,-1);<br />downBar = C &lt; Ref(C,-1);<br />closeEqual = int(C*100) == int(Ref(C,-1)*100);<br />spread = H-L;<br />avgRange = Sum(spread, numDays) / numDays;<br />wideRange = spread &gt;= (dwWideSpread * avgRange);<br />narrowRange = spread &lt;= (dwNarrowSpread * avgRange);<br />testHighClose = L + (spread * dwHighClose);<br />testLowClose = L + (spread * dwLowClose);<br />testCloseMiddle = L + (spread * dwSpreadMiddle);<br /> <br />upClose = C &gt; testHighClose;<br />upClose12 = C &gt;= testCloseMiddle;<br />downClose = C &lt; testLowClose;<br />downClose12 = C &lt; testCloseMiddle;<br />middleClose = C &gt;= testLowClose AND C &lt;= testHighClose;<br /> <br /> <br />aboveAvgVolume = V &gt; (avgVolume * dwAboveAvgVol); <br />highVolume = V &gt; (avgVolume * dwHighVol); <br />veryHighVolume = V &gt; (avgVolume * dwVeryHighVol);<br />ultraHighVolume = V &gt; (avgVolume * dwUltraHighVol);<br />LowVolume = V &lt; (avgVolume * dwLowVol); <br /> <br />markUpVol = (V &gt; (avgVolume * dwLowVol)) AND (V &lt;= (avgVolume * dwUltraHighVol));<br />markUpVol2 = markUpVol AND Ref(markUpVol,-1);<br /> <br />narrowBar1 = spread &lt; Ref(spread,-1);<br />HH = H &gt; Ref(H,-1);<br />LL = L &lt; Ref(L,-1);<br />LH = H &lt; Ref(H,-1);<br /> <br />////////////////////////////////////////////////////////////////////////////////////<br />//<br />// direction and title<br />//<br />////////////////////////////////////////////////////////////////////////////////////<br /> <br />ColorScheme = Param( "Color Scheme", 1, 0, 2, 1);<br /> <br />Trend_U = ( LLV( L, 20 ) + 2 * ATR( 10 ) );<br />Trend_D = ( HHV( H, 20 ) - 2 * ATR( 10 ) );<br />TrendUp = C &gt;= Trend_U;<br />TrendDown = C &lt; Trend_D;<br /> <br />////////////////////////////////////////////////////////////////////////////////////<br />//<br />// Basic patterns...<br />//<br />//<br />//see also:<br />//<br />// http://www.traderslaboratory.com/forums/151/vsa-volume-spread-analysis-1369-28.html<br />// http://www.traderslaboratory.com/forums/151/vsa-volume-spread-analysis-1369-7.html#post13343<br />//<br />// older definitions...<br />//<br />// upThrustBar = downClose AND HH AND (NOT narrowRange); // AND (H &gt; Ref(HHV(H,4),-1)) ; //(C == L) AND; <br /> <br />////////////////////////////////////////////////////////////////////////////////////<br /> <br />testVolLow2 = (V &lt; Ref(V,-1)) AND (V &lt; Ref(V,-2));<br />testVolHigh2 = (V &gt; Ref(V,-1)) AND (V &gt; Ref(V,-2));<br />WRD = (spread &gt; Ref(spread,-1)) AND (spread &gt; Ref(spread,-2)) AND (spread &gt; Ref(spread,-3));<br /> <br />////////////////////////////////////////////////////////////////////////////////////<br />// NO DEMAND<br /> <br />basicNoDemandBar = narrowRange AND Lowvolume AND upBar AND (upClose OR middleClose);<br />noDemandBar = basicNoDemandBar; // AND TrendUp;<br /> <br />////////////////////////////////////////////////////////////////////////////////////<br />// NO SUPPLY<br /> <br />basicNoSupplyBar = narrowRange AND LowVolume AND downBar AND (downclose OR middleClose);<br /> <br />// It is also common to find these bars in an up trend which are indications <br />// of continuation of the trend. They would also be found on consolidation bases.<br />// During up moves a No supply could indicate non participation from SM. <br /> <br />noSupplyBarUp = basicNoSupplyBar AND TrendUp;<br /> <br />// The No Supply bar is a narrow range Low Volume down bar closing in the lower half. <br />// The No Supply bars are found in the early Bottom reversals AND indicate strength.<br /> <br />noSupplyBarDown = basicNoSupplyBar AND TrendDown;<br /> <br />////////////////////////////////////////////////////////////////////////////////////<br />//<br />// STOPPING VOLUME<br /> <br />stoppingVolume1 = downBar AND upClose12 AND Highvolume;<br />stoppingVolume2 = Ref(wideRange,-1) AND Ref(HighVolume,-1) AND Ref(downClose12,-1)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  AND upBar AND HH; // AND HighVolume;// AND upClose12;<br />stoppingVolume3 = Ref(wideRange,-1) AND Ref(HighVolume,-1) AND Ref(downClose12,-1)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  AND upBar AND HighVolume AND upClose12;<br /> <br /> <br />stoppingVolume = TrendDown AND (stoppingVolume1 OR StoppingVolume2 OR StoppingVolume3);<br /> <br />////////////////////////////////////////////////////////////////////////////////////<br />//<br />// TEST<br /> <br />testBar = narrowRange AND lowvolume AND (C &gt; testCloseMiddle);<br />testBar = testBar AND (NOT NoDemandBar);<br /> <br />////////////////////////////////////////////////////////////////////////////////////<br />//<br />// upThrustBar - see<br />// http://www.traderji.com/advanced-trading-strategies/23128-volume-spread-analysis-4.html#post202084<br />//<br /> <br />upThrustBar = WRD AND testVolHigh2 AND TrendUp AND HH AND downClose12 AND NOT Ref(upBar,1); <br />upThrustBarWithNoDemand = upThrustBar AND LowVolume;<br />upThrustBarWithSupplyOverDemand = upThrustBar AND testVolHigh2;<br /> <br /> <br />absorption = Ref(downbar, -1) AND Ref(highVolume, -1) AND upBar;<br />support = Ref(downBar,-1) AND (NOT Ref(downClose,-1)) AND Ref(highVolume,-1) AND upBar;<br /> <br /> <br />absorptionVolume1 = downBar AND downClose AND Highvolume AND Ref(upBar,1);<br />absorptionVolume2 = downBar AND downClose12 AND Highvolume AND Ref(upBar,1);<br /> <br /> <br />reverseUpThrust = TrendDown AND wideRange AND upClose AND Highvolume;<br /> <br />////////////////////////////////////////////////////////////////////////////////////<br />//<br />// Strength and Weakness<br />//<br />////////////////////////////////////////////////////////////////////////////////////<br /> <br />weakness1 = downBar AND downClose AND C &lt; Ref(L,-1);<br />weakness = upThrustBar OR noDemandBar;<br /> <br />weaknessInUpTrend = weakness AND TrendUp;<br />weaknessInDownTrend = weakness AND TrendDown;<br /> <br />WideRangeAlert1 = wideRange AND aboveAvgVolume AND TrendUp AND (C &lt; O);<br />WideRangeAlert2 = wideRange AND downClose12 AND TrendUp; <br /> <br />EffortToGoDown = wideRange AND aboveAvgVolume AND TrendUp AND downClose;<br /> <br />MyMarkUp =  markUpVol AND Ref(markUpVol,-1) AND (MAvgDirTrend &gt; 0) AND V &gt; Ref(V,-1);<br />////////////////////////////////////////////////////////////////////////////////////<br />//<br />// Display stuff goes here!<br />//<br />////////////////////////////////////////////////////////////////////////////////////<br /> <br />OffSet = 0;<br /> <br />PlotShapes( shapeDownArrow*EffortToGoDown , colorIndigo , 0, H);<br />Offset += IIf(EffortToGoDown, 25, 5); //Offset = abs(Offset);<br /> <br />PlotShapes( shapeSmallSquare*(upThrustBarWithNoDemand OR upThrustBarWithSupplyOverDemand), <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IIf(upThrustBarWithSupplyOverDemand, colorRed, colorDarkRed), 0, H, Offset);<br />Offset += IIf(upThrustBarWithNoDemand OR upThrustBarWithSupplyOverDemand, 25, 5); //Offset = abs(Offset);<br /> <br />//PlotShapes( shapeHollowDownArrow*weaknessInDownTrend, colorBrown, 0, H, Offset);<br />//Offset -= IIf(weaknessInDownTrend, 15, 0);<br /> <br />PlotShapes( shapeSmallCircle*NoDemandBar, colorBlack,0, H, Offset);<br />Offset += IIf(NoDemandBar, 15, 0); <br /> <br /> <br /> <br />PlotShapes( shapeSmallUpTriangle*stoppingVolume, IIf(stoppingVolume, colorGreen, colorSeaGreen),0, L);<br />PlotShapes( shapeSmallCircle*testBar , colorBlue,0, L);<br />PlotShapes( shapeSmallUpTriangle*reverseUpThrust , colorDarkGreen, 0, L);<br />PlotShapes( shapeSmallCircle*(noSupplyBarUp OR noSupplyBarDown), colorPink,0, L);<br />//PlotShapes( shapeSmallUpTriangle*MyMarkUp , colorSeaGreen, 0, L);<br /> <br />//Plot( testCloseMiddle, "", colorBlack, styleDots );<br />//PlotShapes( shapeSmallCircle*markUpVol2, colorBrown,0, L, negY);<br /> <br /> <br />//Plot( TREND_U, "", colorRed); <br /> <br />Color0 = colorBlack;<br />Color1 = IIf(wideRange, colorBlue, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IIf( narrowRange, colorLightBlue, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IIf( upBar, colorDarkGreen, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IIf( downBar, colorRed, colorDarkGrey))));<br />Color2 = IIf( TrendUp, colorDarkGreen, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IIf( TrendDown, colorRed, colorBlack));<br /> <br />Color = IIf(ColorScheme == 0,  Color0,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IIf(ColorScheme == 1, Color1, Color2));<br /> <br />Plot( C, "Close", Color, styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); <br /> <br />////////////////////////////////////////////////////////////////////////////////////<br />//<br />// trend direction...<br />//<br />////////////////////////////////////////////////////////////////////////////////////<br /> <br /> <br />Dir = EncodeColor(colorBlack) + "Volume: " + <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WriteIf(ultraHighVolume , "Ultra High", <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WriteIf(veryHighVolume , "Very High", <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WriteIf(highVolume , "High", <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WriteIf(lowVolume , "Low", "Average")))) +  " " +<br /> <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // spread<br /> <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EncodeColor(colorBlack) + "Spread: " + <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WriteIf(wideRange , EncodeColor(colorBlue) + "Wide",  <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WriteIf(narrowRange , EncodeColor(colorLightBlue) + "Narrow", <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  EncodeColor(colorBlack) + "Average")) + ", " +<br /> <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EncodeColor(colorBlack) + "Close: " + <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WriteIf(upClose , EncodeColor(colorGreen) + "Up", <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WriteIf(downClose , EncodeColor(colorRed) + "Down", <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EncodeColor(colorBlack) + "Middle")) + EncodeColor(colorBlack) + ",\n" + <br /> <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EncodeColor(colorBlack) + "Long Term: " + <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WriteIf(longTermAvg &lt; Ref(longTermAvg,-1), <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  EncodeColor(colorRed) + "Down", <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  WriteIf(longTermAvg == Ref(longTermAvg ,-1), <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EncodeColor(colorBlack) + "Flat", <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  EncodeColor(colorGreen) + "Up")) + <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EncodeColor(colorBlack) + ", " + "Med Term: " + <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WriteIf(medTermAvg &lt; Ref(medTermAvg ,-1), <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  EncodeColor(colorRed) + "Down", <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  WriteIf(medTermAvg == Ref(medTermAvg ,-1), <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EncodeColor(colorBlack) + "Flat", <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  EncodeColor(colorGreen) + "Up")) + <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EncodeColor(colorBlack) + ", " + "Short Term: " + <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WriteIf(shortTermAvg &lt; Ref(shortTermAvg,-1), <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  EncodeColor(colorRed) + "Down", <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  WriteIf(shortTermAvg == Ref(shortTermAvg,-1), <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EncodeColor(colorBlack) + "Flat", <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  EncodeColor(colorGreen) + "Up")) + <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EncodeColor(colorBlack) + "\n" +<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WriteIf(MAvgDirTrend == 1, "Up", "") +<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WriteIf(MAvgDirTrend == 0, "No Direction", "") +<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WriteIf(MAvgDirTrend == -1, "Down", "");<br /> <br /> <br />_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%)", <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; O, H, L, C, SelectedValue( ROC( C, 1 ) )) + "\n" + Dir);<br />_SECTION_END();<br /> <br /><br /><br /><br />TIP FOR&nbsp;&nbsp;&nbsp;Bullscript users...<br /><br />Keep in mind that it is still a work in progress. I am somewhat happy with it.<br /><br />Couple of suggestion though... <br /><br />Change assignment statements from = to :=<br /><br />for example...<br /><br />X = Y;<br /><br />becomes<br /><br />X := Y;<br /><br />Since it (Bullscript) uses Pascal style assignments, you would probably change != to &lt;&gt; and == to = and call to Ref get convered to Hist. Another example (Joels script...)<br />NoDemand = C&gt;Ref(C,-1) AND V&lt;Ref(V,-1) AND V&lt;Ref(V,-2);<br />NoDemand2 = C==Ref(C,-1) AND V&lt;Ref(V,-1) AND V&lt;Ref(V,-2) AND Ref(C,-1)&gt;Ref(C,-2);<br /><br />NoSupply = C&lt;Ref(C,-1) AND V&lt;Ref(V,-1) AND V&lt;Ref(V,-2); <br />NoSupply2= C==Ref(C,-1) AND V&lt;Ref(V,-1) AND V&lt;Ref(V,-2) AND Ref(C,-1)&lt;Ref(C,-2);<br /><br />The corresponding bullscript should (?) like <br />NoDemand := C&gt;Hist(C,1) AND V&lt;Hist(V,1) AND V&lt;Hist(V,2);<br />NoDemand2 := C=Hist(C,1) AND V&lt;Hist(V,1) AND V&lt;Hist(V,2) AND Hist(C,1)&gt;Hist(C,2);<br /><br />NoSupply := C&lt;Hist(C,1) AND V&lt;Hist(V,1) AND V&lt;Hist(V,2); <br />NoSupply2:= C=Hist(C,1) AND V&lt;Hist(V,1) AND V&lt;Hist(V,2) AND Hist(C,1)&lt;Hist(C,2);<br /><br /><br /><u></u><u></u><u></u><u></u><em></em><em></em><strong></strong><strong></strong><span style="font-size:10px"><br /><br />Edited by jalna - 13&nbsp;Sep&nbsp;2008 at 2:36pm</span>]]>
   </description>
   <pubDate>Sat, 13 Sep 2008 14:30:05 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1828#1828</guid>
  </item> 
  <item>
   <title>Better Volume Code : Thanks heaps Maximo Here is the...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1827#1827</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=294" rel="nofollow">jalna</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 13&nbsp;Sep&nbsp;2008 at 7:26am<br /><br />Thanks heaps Maximo<br />Here is the link&nbsp;&nbsp;&nbsp;http://www.tradethetruth.com/pics/mtmv3.pdf<br />There are numerous forums that discuss these ideas, one in the US and one in India<br />http://www.traderji.com/advanced-trading-strategies/23128-volume-spread-analysis-3.html<br />http://www.traderslaboratory.com/forums/<br /><br />Better volume is not really VSA code. They are much more complicated<br />]]>
   </description>
   <pubDate>Sat, 13 Sep 2008 07:26:26 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1827#1827</guid>
  </item> 
  <item>
   <title>Better Volume Code : Haha funny one jalna, okaydone!...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1826#1826</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=189" rel="nofollow">maximo</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 12&nbsp;Sep&nbsp;2008 at 11:56pm<br /><br /><P>Haha funny one jalna,&nbsp; okay&nbsp;done! I had trouble finding&nbsp;what the 'Range' value was...</P><DIV>Anyhow paste that link to Tom Williams book if you don't mind <img src="http://www.bullcharts.com.au/forum/smileys/smiley1.gif" height="17" width="17" border="0" alt="Smile" /></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>{ Volume Spread Analysis }<BR>&#091;description="Better Volume Indicator - <a href="http://emini-watch.com/free-stuff/volume-indicator/" target="_blank">http://emini-watch.com/free-stuff/volume-indicator/</A>"&#093;<BR>Range := High - Low;<BR>Value1 := Volume;<BR>Value2 := Volume*Range;<BR>Value3 := If(Range&lt;&gt;0,Volume/Range,0);<BR>ma(Value1,100,S);<BR>&#091;linestyle=Grounded Bar; width=4&#093;<BR>&#091;Color=Cyan&#093; { Normal&nbsp;}<BR>Volume;<BR>&#091;Color=Gold&#093; { Low volume&nbsp;}<BR>If(Value1 = Lowest(Value1,20),V,undefined);<BR>&#091;Color=Red&#093; { Volume climax&nbsp;}<BR>If(Value2 = Highest(Value2,20),V,undefined);<BR>&#091;Color=Lime Green&#093; { High churn&nbsp;}<BR>If(Value3 = Highest(Value3,20),V,undefined);<BR>&#091;Color=Magenta&#093; { Climax &amp; High churn&nbsp;}<BR>If(Value2 = Highest(Value2,20) and Value3 = Highest(Value3,20),V,undefined); <BR>&#091;Color=Coral&#093; { Low churn&nbsp;}<BR>If(Value3 = Lowest(Value3,20),V,undefined)</DIV><DIV>&nbsp;</DIV><P>&nbsp; </P><span style="font-size:10px"><br /><br />Edited by maximo - 13&nbsp;Sep&nbsp;2008 at 3:22am</span>]]>
   </description>
   <pubDate>Fri, 12 Sep 2008 23:56:01 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1826#1826</guid>
  </item> 
  <item>
   <title>Better Volume Code : Oh no , has everyone left the...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1825#1825</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=294" rel="nofollow">jalna</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 11&nbsp;Sep&nbsp;2008 at 9:39pm<br /><br /><P>Oh no , has everyone left the building ?</P><DIV>Volume spread analysis is becoming very popular and lots of codes are being written for different programs. There is a book out by Tom Williams called Master the Markets. It can be downloaded for free on the web . His thinking hails from Wyckoffs works</DIV>]]>
   </description>
   <pubDate>Thu, 11 Sep 2008 21:39:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1825#1825</guid>
  </item> 
  <item>
   <title>Better Volume Code : Can anyone convert this Trade...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1823#1823</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=294" rel="nofollow">jalna</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 09&nbsp;Sep&nbsp;2008 at 10:48pm<br /><br />Can anyone convert this Trade station code to BC. Its a <DIV>simple volume analysis. I got it from emini-watch.com. Intereting site</DIV><DIV><P>Inputs: Color(Cyan), LowColor(Yellow), ClimaxColor(Red), ChurnColor(Green), ClimaxChurnColor(Magenta), LowChurnColor(White), AvgColor(Red);<BR>Variables: BarColor(Cyan);<BR>&nbsp; <BR>BarColor = Color;<BR>&nbsp; <BR>Value1 = V;<BR>Value2 = V*Range;<BR>If Range &lt;&gt; 0 then Value3 = V/Range;<BR>Value4 = Average(Value1,100);<BR>&nbsp; <BR>If Value1 = Lowest(Value1,20) then BarColor = LowColor;<BR>If Value2 = Highest(Value2,20) then BarColor = ClimaxColor;<BR>If Value3 = Highest(Value3,20) then BarColor = ChurnColor;<BR>If Value2 = Highest(Value2,20) and Value3 = Highest(Value3,20) then BarColor = ClimaxChurnColor;<BR>If Value3 = Lowest(Value3,20) then BarColor = LowChurnColor;<BR>&nbsp; <BR>Plot1(Value1,"Volume",BarColor);<BR>Plot2(Value4,"Avg",AvgColor);</P></DIV>]]>
   </description>
   <pubDate>Tue, 09 Sep 2008 22:48:33 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=501&amp;PID=1823#1823</guid>
  </item> 
 </channel>
</rss>