<?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 : How to draw a horiz line?</title>
  <link>http://www.bullcharts.com.au/forum/</link>
  <description>This is an XML content feed of; BullCharts : BullScript : How to draw a horiz line?</description>
  <copyright>Copyright (c) 2006-2009 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 10:25:44 +0000</pubDate>
  <lastBuildDate>Tue, 01 Mar 2005 10:53:29 +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=154</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>How to draw a horiz line? : The horzline attribute only allows...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=154&amp;PID=561#561</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=3" rel="nofollow">Peter</a><br /><strong>Subject:</strong> 154<br /><strong>Posted:</strong> 01&nbsp;Mar&nbsp;2005 at 10:53am<br /><br />The horzline attribute only allows fixed numbers to be entered. (notcalculations). Therefore, to get around the problem, we just return thecalculation as a normal plot, but in such a way that it always returnsthe same result and appears as a horizontal line. (this is how peopleusually achieve horizontal lines in Metastock scripts).<br><br>Eg:<br><br><span style="font-family: courier new,courier,mono;">{Fixed horizontal line}</span><br style="font-family: courier new,courier,mono;"><span style="font-family: courier new,courier,mono;">&#091;horzline=20,80&#093;</span><br style="font-family: courier new,courier,mono;"><br style="font-family: courier new,courier,mono;"><span style="font-family: courier new,courier,mono;">{Calculated horizontal line)</span><br style="font-family: courier new,courier,mono;"><span style="font-family: courier new,courier,mono;">5*10;</span><br style="font-family: courier new,courier,mono;"><br style="font-family: courier new,courier,mono;"><span style="font-family: courier new,courier,mono;">{Calculated horizontal line based on price info }</span><br style="font-family: courier new,courier,mono;"><span style="font-family: courier new,courier,mono;">lastvalue( Low * 0.9)</span><strong></strong><br><br><br><br><br><br>]]>
   </description>
   <pubDate>Tue, 01 Mar 2005 10:53:29 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=154&amp;PID=561#561</guid>
  </item> 
  <item>
   <title>How to draw a horiz line? :  Originally posted by PeterIf...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=154&amp;PID=554#554</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=62" rel="nofollow">kneighbour</a><br /><strong>Subject:</strong> 154<br /><strong>Posted:</strong> 28&nbsp;Feb&nbsp;2005 at 8:09pm<br /><br /><P><table width="99%"><tr><td class="BBquote"><strong><em>Originally posted by Peter</strong></em><br /><br />If you want to draw some fixed horizontal lines, use the horzline attribute. Eg: &#091;horzline=20,80&#093;<BR></td></tr></table> </P><P>The way I read the manual, this puts lines at (in this example) the 20% and 80% points. Presumable on an oscillator. For aprice chart would I use</P><P>&#091;horzline=1.23&#093;&nbsp;&nbsp; (for a line at $1.23)</P><P><table width="99%"><tr><td class="BBquote"><strong><em>Originally posted by Peter</strong></em><br /><br /><BR>If you want to draw a calculated line, just make the calculation and return it as a result. Eg:<BR>3*5;<BR></td></tr></table> </P><P>So this would be &#091;horzline=3*5&#093;&nbsp;&nbsp; ??</P><P>&nbsp;</P><P><table width="99%"><tr><td class="BBquote"><strong><em>Originally posted by Peter</strong></em><br /><br /><BR>If you want to make the calculation based on current prices, etc, then use the lastvalue function. Eg:<BR>lastvalue( Low * 0.9);<BR></td></tr></table> <BR></P><P>So this would be &#091;horzline<strong>=</strong>lastvalue( Low * 0.9)<strong>&#093;</strong>&nbsp;&nbsp; ??</P><P><table width="99%"><tr><td class="BBquote"><strong><em>Originally posted by Peter</strong></em><br /><br /><BR>This will calculate the result for the last bar and return that result on every bar.<BR></td></tr></table> <BR>This raises a good point - presumably this would fill the screen with horizontal lines? Can you alter the width of a line?</P>]]>
   </description>
   <pubDate>Mon, 28 Feb 2005 20:09:42 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=154&amp;PID=554#554</guid>
  </item> 
  <item>
   <title>How to draw a horiz line? : If you want to draw some fixed...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=154&amp;PID=548#548</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=3" rel="nofollow">Peter</a><br /><strong>Subject:</strong> 154<br /><strong>Posted:</strong> 28&nbsp;Feb&nbsp;2005 at 9:42am<br /><br />If you want to draw some fixed horizontal lines, use the horzline attribute. Eg: &#091;horzline=20,80&#093;<br><br>If you want to draw a calculated line, just make the calculation and return it as a result. Eg:<br>3*5;<br><br>If you want to make the calculation based on current prices, etc, then use the lastvalue function. Eg:<br>lastvalue( Low * 0.9);<br><br>This will calculate the result for the last bar and return that result on every bar.<br>]]>
   </description>
   <pubDate>Mon, 28 Feb 2005 09:42:56 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=154&amp;PID=548#548</guid>
  </item> 
  <item>
   <title>How to draw a horiz line? : What i would like to do is draw...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=154&amp;PID=545#545</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=62" rel="nofollow">kneighbour</a><br /><strong>Subject:</strong> 154<br /><strong>Posted:</strong> 27&nbsp;Feb&nbsp;2005 at 1:40pm<br /><br /><P>What i would like to do is draw a horizontal line at a calclated level.</P><P>ie I want to draw a line at a set price (say $3.00) - how&nbsp;is this done?</P><P>&nbsp;</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Sun, 27 Feb 2005 13:40:54 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=154&amp;PID=545#545</guid>
  </item> 
 </channel>
</rss>