<?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 : Stepped price Indicator</title>
  <link>http://www.bullcharts.com.au/forum/</link>
  <description>This is an XML content feed of; BullCharts : BullScript : Stepped price Indicator</description>
  <copyright>Copyright (c) 2006-2009 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 08:47:21 +0000</pubDate>
  <lastBuildDate>Sun, 16 Dec 2012 15:47:54 +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=466</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>Stepped price Indicator :    </title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=3131#3131</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=1044" rel="nofollow">cmacdon</a><br /><strong>Subject:</strong> 466<br /><strong>Posted:</strong> 16&nbsp;Dec&nbsp;2012 at 3:47pm<br /><br /><img src="uploads/1044/Stepped_Price_3.png" height="1016" width="1752" border="0" />]]>
   </description>
   <pubDate>Sun, 16 Dec 2012 15:47:54 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=3131#3131</guid>
  </item> 
  <item>
   <title>Stepped price Indicator :    </title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=3130#3130</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=1044" rel="nofollow">cmacdon</a><br /><strong>Subject:</strong> 466<br /><strong>Posted:</strong> 16&nbsp;Dec&nbsp;2012 at 3:47pm<br /><br /><img src="uploads/1044/Stepped_Price_2.png" height="1005" width="1774" border="0" />]]>
   </description>
   <pubDate>Sun, 16 Dec 2012 15:47:04 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=3130#3130</guid>
  </item> 
  <item>
   <title>Stepped price Indicator :    </title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=3129#3129</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=1044" rel="nofollow">cmacdon</a><br /><strong>Subject:</strong> 466<br /><strong>Posted:</strong> 16&nbsp;Dec&nbsp;2012 at 3:46pm<br /><br /><img src="uploads/1044/Stepped_price_1.png" height="1010" width="1781" border="0" />]]>
   </description>
   <pubDate>Sun, 16 Dec 2012 15:46:14 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=3129#3129</guid>
  </item> 
  <item>
   <title>Stepped price Indicator :   In response to a query by...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=3128#3128</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=1044" rel="nofollow">cmacdon</a><br /><strong>Subject:</strong> 466<br /><strong>Posted:</strong> 16&nbsp;Dec&nbsp;2012 at 3:45pm<br /><br />In response to a query by Charlie-B&nbsp;concerning the&nbsp;Joe Ross Concolidation I will post below perhaps a better way to monitor ranges and breakouts and how I use the adapted stepped price inidcator&nbsp; to scan for fast moving stocks on 5 to 15 minuute charts.<div>&nbsp;</div><div>Chart 1 is the daily showing the stepped price indicator with my&nbsp;adapted code previously posted on LNC using 5% boxes.&nbsp; The chart shows trading ranges and colours the bars if they are above or below the mid range of a box.&nbsp; Breakouts are easily seen.</div><div>&nbsp;</div><div>Chart 2 shows that if an exception trend occurs the fixed % boxes cannot form quickly enough as they are restricted to say in this case 5% per&nbsp;change and a stock might be tearing away abnormally at a much higher rate e.g LNC over last few days.&nbsp; However they will usually revert to there mean vibration so you can anticipate a change of direction.</div><div>&nbsp;</div><div>I code my watchlists into 2% to 8% per day Stepped Price Vibrations and most ASX stocks fit into one of these watchlists very well.&nbsp; </div><div>&nbsp;</div><div>Chart 3. Is a 5 Minute chart.&nbsp; So if I want to look at stocks moving at a a rate higher than 2% per day I set the vibration factor at 2%/60 for 5 minute charts&nbsp;&nbsp;as there are a 6 hours perr &nbsp;trading day = 0.0333%. A 15 minute chart scan would be set at 0.8333%.&nbsp; On chart 3 you see side by side a ANZ stock chart moving slowly at less than 2% per day from top of box to mid point, and the normal looking adapted stepped indicator box as a trading range.&nbsp; On the other hand in the&nbsp;right&nbsp;hand box is LNC on&nbsp;similar&nbsp;5 minute chart but the stepped function is a series of small boxes that cannot contain the price trend.&nbsp; So I can know very early in a 5 or 15 minute chart that a scanned chart is looking like having a very good fast trending day beyond my target rate&nbsp;as distinct from bneing in a more sluggish &nbsp;a ranging day.&nbsp;</div><div>&nbsp;</div><div>The other thing you can do with this&nbsp;restriction on the rate at which boxes can form is work out Gann Style squaring of time targets into the future.&nbsp;&nbsp; Or work out rates of growth like Gann angles and if a stock is moving correctly the stepped price lines will form as straight lines at an angle from any point where price and time have come together.</div><div>&nbsp;</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Sun, 16 Dec 2012 15:45:15 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=3128#3128</guid>
  </item> 
  <item>
   <title>Stepped price Indicator :   Here is a variation that is...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=3000#3000</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=1044" rel="nofollow">cmacdon</a><br /><strong>Subject:</strong> 466<br /><strong>Posted:</strong> 10&nbsp;Sep&nbsp;2012 at 9:23pm<br /><br />Here is a variation that is reasonably good for identifying coloured up and down trends&nbsp;by varying the step function<div>&nbsp;</div><div>&nbsp;</div><div><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: purple; font-family: "Courier New";'>&#091;target</span><span style='color: black; font-family: "Courier New";'>=price</span><span style='color: purple; font-family: "Courier New";'>;</span><span style='font-family: "Courier New";'> <span style="color: purple;">author</span><span style="color: black;">=Cameron,</span> <span style="color: black;">Rod/BlackDog andMaximo posts</span><span style="color: purple;">;</span> <span style="color: purple;">category</span><span style="color: black;">=zzz</span><span style="color: purple;">&#093;</span><?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: black; font-family: "Courier New";'>expr:=</span><span style='font-family: "Courier New";'><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: rgb0, 0, 192; font-family: "Courier New";'>Expression</span><span style='color: black; font-family: "Courier New";'>(</span><span style='color: darkcyan; font-family: "Courier New";'>"Expression"</span><span style='color: black; font-family: "Courier New";'>,</span><span style='color: rgb0, 0, 192; font-family: "Courier New";'>C</span><span style='color: black; font-family: "Courier New";'>);</span><span style='font-family: "Courier New";'><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: black; font-family: "Courier New";'>a:=</span><span style='font-family: "Courier New";'> <o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: rgb0, 0, 192; font-family: "Courier New";'>input</span><span style='color: black; font-family: "Courier New";'>(</span><span style='color: darkcyan; font-family: "Courier New";'>"Step%"</span><span style='color: black; font-family: "Courier New";'>,</span><span style='font-family: "Courier New";'> <span style="color: black;">3,</span> <span style="color: black;">0,</span> <span style="color: black;">100);</span><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: black; font-family: "Courier New";'>b:=</span><span style='font-family: "Courier New";'> <span style="color: black;">a/100;</span><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: black; font-family: "Courier New";'>base:=</span><span style='font-family: "Courier New";'><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: rgb0, 0, 192; font-family: "Courier New";'>if</span><span style='color: black; font-family: "Courier New";'>(expr&gt;=</span><span style='color: rgb0, 0, 192; font-family: "Courier New";'>prev</span><span style='color: black; font-family: "Courier New";'>(expr)*(1+b),</span><span style='font-family: "Courier New";'> <span style="color: rgb0, 0, 192;">prev</span><span style="color: black;">(expr)*(1+b),</span><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: rgb0, 0, 192; font-family: "Courier New";'>if</span><span style='color: black; font-family: "Courier New";'>(expr&lt;=</span><span style='color: rgb0, 0, 192; font-family: "Courier New";'>prev</span><span style='color: black; font-family: "Courier New";'>(expr)*(1-b),</span><span style='font-family: "Courier New";'> <span style="color: rgb0, 0, 192;">prev</span><span style="color: black;">(expr)*(1-b),</span><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: rgb0, 0, 192; font-family: "Courier New";'>prev</span><span style='color: black; font-family: "Courier New";'>(expr)));</span><span style='font-family: "Courier New";'><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><span style='font-family: "Courier New";'><o:p><font size="3">&nbsp;</font></o:p></span></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: purple; font-family: "Courier New";'>&#091;linestyle</span><span style='color: black; font-family: "Courier New";'>=dotted</span><span style='color: purple; font-family: "Courier New";'>&#093;</span><span style='font-family: "Courier New";'><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: black; font-family: "Courier New";'>base;</span><span style='font-family: "Courier New";'><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: black; font-family: "Courier New";'>upper:=</span><span style='font-family: "Courier New";'><span style="color: black;">base*(1+b);</span><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: black; font-family: "Courier New";'>upper;</span><span style='font-family: "Courier New";'><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: black; font-family: "Courier New";'>upper2:=</span><span style='font-family: "Courier New";'><span style="color: black;">base*(1+(b/2));</span><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: black; font-family: "Courier New";'>upper2;</span><span style='font-family: "Courier New";'><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: black; font-family: "Courier New";'>Upper3:=</span><span style='font-family: "Courier New";'><span style="color: black;">base*(1+(b*3/4));</span><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: black; font-family: "Courier New";'>Upper3;</span><span style='font-family: "Courier New";'><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><span style='font-family: "Courier New";'><o:p><font size="3">&nbsp;</font></o:p></span></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: black; font-family: "Courier New";'>lower:=</span><span style='font-family: "Courier New";'><span style="color: black;">base*(1-b);</span><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: black; font-family: "Courier New";'>lower;</span><span style='font-family: "Courier New";'><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: black; font-family: "Courier New";'>lower2:=</span><span style='font-family: "Courier New";'><span style="color: black;">base*(1-(b/2));</span><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: black; font-family: "Courier New";'>lower2;</span><span style='font-family: "Courier New";'><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: black; font-family: "Courier New";'>lower3:=</span><span style='font-family: "Courier New";'><span style="color: black;">base*(1-(b*3/4));</span><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: black; font-family: "Courier New";'>lower3;</span><span style='font-family: "Courier New";'><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><span style='font-family: "Courier New";'><o:p><font size="3">&nbsp;</font></o:p></span></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><span style='font-family: "Courier New";'><o:p><font size="3">&nbsp;</font></o:p></span></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><span style='font-family: "Courier New";'><o:p><font size="3">&nbsp;</font></o:p></span></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: purple; font-family: "Courier New";'>&#091;linestyle</span><span style='color: black; font-family: "Courier New";'>=fill</span><span style='color: purple; font-family: "Courier New";'>;</span><span style='font-family: "Courier New";'> <o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: purple; font-family: "Courier New";'>color</span><span style='color: black; font-family: "Courier New";'>=Red</span><span style='color: purple; font-family: "Courier New";'>;&#093;</span><span style='font-family: "Courier New";'><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: black; font-family: "Courier New";'>upper;</span><span style='font-family: "Courier New";'><span style="color: black;">upper2;</span><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: purple; font-family: "Courier New";'>&#091;color</span><span style='color: black; font-family: "Courier New";'>=White</span><span style='color: purple; font-family: "Courier New";'>&#093;</span><span style='font-family: "Courier New";'><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: black; font-family: "Courier New";'>upper2;</span><span style='font-family: "Courier New";'><span style="color: black;">base;</span><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><span style='font-family: "Courier New";'><o:p><font size="3">&nbsp;</font></o:p></span></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><span style='font-family: "Courier New";'><o:p><font size="3">&nbsp;</font></o:p></span></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: purple; font-family: "Courier New";'>&#091;color</span><span style='color: black; font-family: "Courier New";'>=Yellow</span><span style='color: purple; font-family: "Courier New";'>&#093;</span><span style='font-family: "Courier New";'><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: black; font-family: "Courier New";'>base;</span><span style='font-family: "Courier New";'><span style="color: black;">lower2;</span><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: purple; font-family: "Courier New";'>&#091;color</span><span style='color: black; font-family: "Courier New";'>=Blue</span><span style='color: purple; font-family: "Courier New";'>&#093;</span><span style='font-family: "Courier New";'><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: black; font-family: "Courier New";'>Lower2;</span><span style='font-family: "Courier New";'><span style="color: black;">lower;</span><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><span style='font-family: "Courier New";'><o:p><font size="3">&nbsp;</font></o:p></span></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><span style='font-family: "Courier New";'><o:p><font size="3">&nbsp;</font></o:p></span></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: purple; font-family: "Courier New";'>&#091;linestyle</span><span style='color: black; font-family: "Courier New";'>=pricecolor</span><span style='color: purple; font-family: "Courier New";'>&#093;</span><span style='font-family: "Courier New";'><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><span style='font-family: "Courier New";'><o:p><font size="3">&nbsp;</font></o:p></span></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: purple; font-family: "Courier New";'>&#091;color</span><span style='color: black; font-family: "Courier New";'>=Lime</span><span style='font-family: "Courier New";'> <span style="color: black;">Green</span><span style="color: purple;">&#093;</span> <span style="color: rgb0, 0, 192;">Close</span><span style="color: black;">&gt;base;</span><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><span style='font-family: "Courier New";'><o:p><font size="3">&nbsp;</font></o:p></span></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: purple; font-family: "Courier New";'>&#091;color</span><span style='color: black; font-family: "Courier New";'>=Red</span><span style='color: purple; font-family: "Courier New";'>&#093;</span><span style='font-family: "Courier New";'> <span style="color: rgb0, 0, 192;">Close</span><span style="color: black;">&lt;=base;</span><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><span style='font-family: "Courier New";'><o:p><font size="3">&nbsp;</font></o:p></span></p><font size="3" face="Times New Roman"></font><p style="margin: 0in 0in 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: n&#111;ne;" ="Ms&#111;normal"><font size="3"><span style='color: purple; font-family: "Courier New";'>&#091;color</span><span style='color: black; font-family: "Courier New";'>=Blue</span><span style='color: purple; font-family: "Courier New";'>&#093;</span><span style='font-family: "Courier New";'><span style="mso-spacerun: yes;">&nbsp; </span><span style="color: black;">true;</span><o:p></o:p></span></font></p><font size="3" face="Times New Roman"></font></div>]]>
   </description>
   <pubDate>Mon, 10 Sep 2012 21:23:17 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=3000#3000</guid>
  </item> 
  <item>
   <title>Stepped price Indicator : BD, Thanks, another small incremental...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=1755#1755</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=413" rel="nofollow">RODCAM</a><br /><strong>Subject:</strong> 466<br /><strong>Posted:</strong> 03&nbsp;Apr&nbsp;2008 at 4:30pm<br /><br /><P>BD,</P><P>Thanks, another small incremental change in coding (below) makes it easier to visually pick up break outs, by just delaying the channel one period. I've played around a bit and the indicator is useful for not just break outs but also when prices are range bound. Some interesting results even on a stand alone basis when backtested with Tradesim...&nbsp;</P><FONT color=#800080 size=3><P>&#091;author</FONT><FONT size=3>=Cameron, Rod</FONT><FONT color=#800080 size=3>&#093;</P><P>&#091;target</FONT><FONT size=3>=price</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>expr:= </FONT><FONT color=#0000c0 size=3>Expression</FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3>"Expression"</FONT><FONT size=3>,</FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>);</P><P>a:= </FONT><FONT color=#0000c0 size=3>input</FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3>"Step %"</FONT><FONT size=3>, 21, 0, 100);</P><P>b:= a/100;</P><P>base:= </FONT><FONT color=#0000c0 size=3>if</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(expr,1)&gt;=</FONT><FONT color=#0000c0 size=3>prev</FONT><FONT size=3>(expr)*(1+b), </FONT><FONT color=#0000c0 size=3>prev</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(expr,1))*(1+b),</P><P></FONT><FONT color=#0000c0 size=3>if</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(expr,1)&lt;=</FONT><FONT color=#0000c0 size=3>prev</FONT><FONT size=3>(expr)*(1-b), </FONT><FONT color=#0000c0 size=3>prev</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(expr,1))*(1-b),</P><P></FONT><FONT color=#0000c0 size=3>prev</FONT><FONT size=3>(expr)));</P><P>upper:= base*(1+b);</P><P>midup:= base*(1+b*0.618);</P><P>middn:= base*(1-b*0.618);</P><P>lower:= base*(1-b);</P></FONT><FONT color=#800080 size=3><P>&#091;linestyle</FONT><FONT size=3>=solid</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>color</FONT><FONT size=3>=blue</FONT><FONT color=#800080 size=3>&#093;</P><P>&#091;name</FONT><FONT size=3>=Upper</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>upper;</P></FONT><FONT color=#800080 size=3><P>&#091;name</FONT><FONT size=3>=Base</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>base;</P></FONT><FONT color=#800080 size=3><P>&#091;name</FONT><FONT size=3>=Lower</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>lower;</P></FONT><FONT color=#800080 size=3><P>&#091;linestyle</FONT><FONT size=3>=dotted</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>color</FONT><FONT size=3>=red</FONT><FONT color=#800080 size=3>&#093;</P><P>&#091;name</FONT><FONT size=3>=Midup</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>midup;</P></FONT><FONT color=#800080 size=3><P>&#091;name</FONT><FONT size=3>=Middn</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>middn;</P></FONT><FONT color=#800080 size=3><P>&#091;linestyle</FONT><FONT size=3>=fill</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>color</FONT><FONT size=3>=green</FONT><FONT color=#800080 size=3>&#093;</P><P>&#091;name</FONT><FONT size=3>=Top Fill</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>upper; base;</P></FONT><FONT color=#800080 size=3><P>&#091;color</FONT><FONT size=3>=red</FONT><FONT color=#800080 size=3>&#093;</P><P>&#091;name</FONT><FONT size=3>=Bot Fill</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>base; lower;</P></FONT><P>&nbsp;</P>]]>
   </description>
   <pubDate>Thu, 03 Apr 2008 16:30:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=1755#1755</guid>
  </item> 
  <item>
   <title>Stepped price Indicator : Rodcam,  It is very interesting...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=1753#1753</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=206" rel="nofollow">blackdog</a><br /><strong>Subject:</strong> 466<br /><strong>Posted:</strong> 03&nbsp;Apr&nbsp;2008 at 1:37pm<br /><br /><DIV>Rodcam,</DIV><DIV>&nbsp;</DIV><DIV>It is very interesting to see the "minor differences" between your code and my code produce such large differenced in the graph. Your code limits the change to the step amount while in mine the step went to the new value of C when triggered. </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;I have been looking at it on CSL daily using 10% steps. Your code is much less succeptable to zigzagging than mine.</DIV><DIV>&nbsp;</DIV><DIV>Very nicely done rodcam!</DIV>]]>
   </description>
   <pubDate>Thu, 03 Apr 2008 13:37:11 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=1753#1753</guid>
  </item> 
  <item>
   <title>Stepped price Indicator : Thanks blackdog always a help! ...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=1740#1740</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> 466<br /><strong>Posted:</strong> 28&nbsp;Mar&nbsp;2008 at 11:33pm<br /><br /><P>Thanks blackdog always a help!</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 28 Mar 2008 23:33:31 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=1740#1740</guid>
  </item> 
  <item>
   <title>Stepped price Indicator : Congratulations BD you get the...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=1738#1738</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=413" rel="nofollow">RODCAM</a><br /><strong>Subject:</strong> 466<br /><strong>Posted:</strong> 28&nbsp;Mar&nbsp;2008 at 6:11pm<br /><br /><P>Congratulations BD you get the cigar&nbsp;- at least on paper because after some other insights provided to me today I was able to code exactly what I was after before having&nbsp;read your post. (yeah..sure&nbsp; <IMG src="http://www.bullcharts.com.au/forum/smileys/smiley2.gif" border="0">)&nbsp;It is pretty much the same as your coding with a minor difference and some colors. For those interested it is:</P><P>&nbsp;<FONT color=#800080 size=3>&#091;target</FONT><FONT size=3>=price; <FONT color=#800080>author</FONT><FONT size=3>=Cameron, Rod; category=zzz</FONT></FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>expr:= </FONT><FONT color=#0000c0 size=3>Expression</FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3>"Expression"</FONT><FONT size=3>,</FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>);</P><P>a:= </FONT><FONT color=#0000c0 size=3>input</FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3>"Step %"</FONT><FONT size=3>, 21, 0, 100);</P><P>b:= a/100;</P><P>base:= </FONT><FONT color=#0000c0 size=3>if</FONT><FONT size=3>(expr&gt;=</FONT><FONT color=#0000c0 size=3>prev</FONT><FONT size=3>(expr)*(1+b), </FONT><FONT color=#0000c0 size=3>prev</FONT><FONT size=3>(expr)*(1+b),</P><P></FONT><FONT color=#0000c0 size=3>if</FONT><FONT size=3>(expr&lt;=</FONT><FONT color=#0000c0 size=3>prev</FONT><FONT size=3>(expr)*(1-b), </FONT><FONT color=#0000c0 size=3>prev</FONT><FONT size=3>(expr)*(1-b),</P><P></FONT><FONT color=#0000c0 size=3>prev</FONT><FONT size=3>(expr)));</P><P>base;</P><P>upper:= base*(1+b);</P><P>upper;</P><P>lower:= base*(1-b);</P><P>lower;</P></FONT><FONT color=#800080 size=3><P>&#091;linestyle</FONT><FONT size=3>=fill</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>color</FONT><FONT size=3>=green</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>upper; base;</P></FONT><FONT color=#800080 size=3><P>&#091;color</FONT><FONT size=3>=red</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>base; lower;</P><P>I have not yet had a chance to check out the results of Maximo's coding but I will sometime over the weekend. As he correctly concluded my indicator is just another form or support &amp; resistance, but I specifically wanted to use % since the fixed % steps allow you to visually roughly calculate profits or losses of price breakouts...everyone to their own!</P><P>Thanks BD and Maximo. <IMG src="http://www.bullcharts.com.au/forum/smileys/smiley32.gif" border="0">&nbsp;Rod</P><P>&nbsp;</P></FONT>]]>
   </description>
   <pubDate>Fri, 28 Mar 2008 18:11:47 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=1738#1738</guid>
  </item> 
  <item>
   <title>Stepped price Indicator :  Rodcam, I think the following...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=1736#1736</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=206" rel="nofollow">blackdog</a><br /><strong>Subject:</strong> 466<br /><strong>Posted:</strong> 28&nbsp;Mar&nbsp;2008 at 11:50am<br /><br /><DIV><FONT color=#800080><P><FONT color=#000000 size=2>Rodcam,</FONT></P><P><FONT color=#000000 size=2>I think the following code does what you want.</FONT></P><P><FONT size=3>&#091;description</FONT></FONT><FONT size=3>="plot the closing price in steps as it increases or decreases by a set input percentage, a bit like a Renko chart but shown as a line chart"</FONT><FONT color=#800080 size=3>&#093;</P><P>&#091;target</FONT><FONT size=3>=Price</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>author</FONT><FONT size=3>=zzz</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>category</FONT><FONT size=3>=zzz</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>steps := </FONT><FONT color=#0000c0 size=3>input</FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3>"step percentage"</FONT><FONT size=3>,10,0);</P><P>blueline:= </FONT><FONT color=#0000c0 size=3>if</FONT><FONT size=3> (</FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>*(1+steps/100)&lt;=</FONT><FONT color=#0000c0 size=3>prev</FONT><FONT size=3>,</FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>,</P><P></FONT><FONT color=#0000c0 size=3> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if </FONT><FONT size=3> (</FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>*(1-steps/100)&gt;=</FONT><FONT color=#0000c0 size=3>prev</FONT><FONT size=3>, </FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>,</FONT><FONT color=#0000c0 size=3>prev</FONT><FONT size=3>));</P></FONT><FONT color=#800080 size=3><P>&#091;name</FONT><FONT size=3>="blueline"</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>color</FONT><FONT size=3>=blue</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>width</FONT><FONT size=3>=2</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>linestyle</FONT><FONT size=3>=solid</FONT><FONT color=#800080 size=3>;&#093;</P></FONT><FONT size=3><P>blueline;</P><P><FONT size=2>regards,</FONT></P><P><FONT size=2>BD</FONT></P><P>&nbsp;</P></FONT></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 28 Mar 2008 11:50:05 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=1736#1736</guid>
  </item> 
  <item>
   <title>Stepped price Indicator : Ahhhnow i see what you might beafter..Percentagesvary...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=1732#1732</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> 466<br /><strong>Posted:</strong> 28&nbsp;Mar&nbsp;2008 at 12:42am<br /><br /><P>Ahhh&nbsp;now i see what you might be&nbsp;after..&nbsp;Percentages&nbsp;vary from &nbsp;chart&nbsp;to chart too much to&nbsp;be effective on their own.&nbsp;&nbsp;So perhaps this&nbsp;support and resistance level indicator I wrote&nbsp;last month would be useful.&nbsp;&nbsp;It uses a moving average as it's reference point&nbsp;to&nbsp;switch the&nbsp;line up or down, depending if it closes&nbsp;above or below that average.&nbsp;&nbsp; You'l see it's very effective for breakouts up or down (breakdowns).&nbsp; </P><FONT color=#008000 size=3><P>{Support &amp; Resistance }</P></FONT><FONT color=#800080 size=3><P>&#091;Target</FONT><FONT size=3>=price</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>LookBack := </FONT><FONT color=#0000c0 size=3>Input</FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3>"Look Back Periods"</FONT><FONT size=3>,20,1);</P><P>F:=</FONT><FONT color=#0000c0 size=3>input</FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3>"Labels (1=On, 0=Off)"</FONT><FONT size=3>,1,0,1);</P><P>A:=</FONT><FONT color=#0000c0 size=3>input</FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3>"Average (1=On, 0=Off)"</FONT><FONT size=3>,1,0,1);</P><P>Resistance := </FONT><FONT color=#0000c0 size=3>ValueWhen</FONT><FONT size=3>(1,</FONT><FONT color=#0000c0 size=3>Cross</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>ma</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>,LookBack,</FONT><FONT color=#0000c0 size=3>S</FONT><FONT size=3>),</FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>),</FONT><FONT color=#0000c0 size=3>HHV</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>H</FONT><FONT size=3>,LookBack+10));</P><P>Support := </FONT><FONT color=#0000c0 size=3>ValueWhen</FONT><FONT size=3>(1,</FONT><FONT color=#0000c0 size=3>Cross</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>,</FONT><FONT color=#0000c0 size=3>ma</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>,LookBack,</FONT><FONT color=#0000c0 size=3>S</FONT><FONT size=3>)),</FONT><FONT color=#0000c0 size=3>LLV</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>L</FONT><FONT size=3>,LookBack+10));</P></FONT><FONT color=#800080 size=3><P>&#091;color</FONT><FONT size=3>=blue</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>Resistance;</P></FONT><FONT color=#800080 size=3><P>&#091;color</FONT><FONT size=3>=red</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>Support;</P></FONT><FONT color=#800080 size=3><P>&#091;color</FONT><FONT size=3>=rgb(255,204,0)</FONT><FONT color=#800080 size=3>&#093;</FONT><FONT size=3> </FONT><FONT color=#008000 size=3>{Gold}</P></FONT><FONT color=#0000c0 size=3><P>if</FONT><FONT size=3>(A,</FONT><FONT color=#0000c0 size=3>ma</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>,LookBack,</FONT><FONT color=#0000c0 size=3>S</FONT><FONT size=3>),</FONT><FONT color=#0000c0 size=3>undefined</FONT><FONT size=3>);</P></FONT><FONT color=#800080 size=3><P>&#091;linestyle</FONT><FONT size=3>=marker</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>marker</FONT><FONT size=3>=type2</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>name</FONT><FONT size=3>=Breakout</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>BO:=</FONT><FONT color=#0000c0 size=3>if</FONT><FONT size=3>(F </FONT><FONT color=#0000c0 size=3>AND</FONT><FONT size=3> </FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>&gt;Resistance </FONT><FONT color=#0000c0 size=3>AND</FONT><FONT size=3> </FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>Close</FONT><FONT size=3>,1)&lt;=Resistance,1,0);</P></FONT><FONT color=#0000c0 size=3><P>if</FONT><FONT size=3>(BO </FONT><FONT color=#0000c0 size=3>and</FONT><FONT size=3> </FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>barssince</FONT><FONT size=3>(BO),1)&gt;8,1,0);</P></FONT><FONT color=#800080 size=3><P>&#091;linestyle</FONT><FONT size=3>=marker</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>marker</FONT><FONT size=3>=type1</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>name</FONT><FONT size=3>=Breakdown</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>BD:=</FONT><FONT color=#0000c0 size=3>if</FONT><FONT size=3>(F </FONT><FONT color=#0000c0 size=3>AND</FONT><FONT size=3> </FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>&lt;Support </FONT><FONT color=#0000c0 size=3>AND</FONT><FONT size=3> </FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>Close</FONT><FONT size=3>,1)&gt;=Support,1,0);</P></FONT><FONT color=#0000c0 size=3><P>if</FONT><FONT size=3>(BD </FONT><FONT color=#0000c0 size=3>and</FONT><FONT size=3> </FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>barssince</FONT><FONT size=3>(BD),1)&gt;8,1,0);</FONT></P><P><FONT size=3>&nbsp;</P></FONT>]]>
   </description>
   <pubDate>Fri, 28 Mar 2008 00:42:41 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=1732#1732</guid>
  </item> 
  <item>
   <title>Stepped price Indicator : Okay Rod,missing just one key...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=1731#1731</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> 466<br /><strong>Posted:</strong> 27&nbsp;Mar&nbsp;2008 at 9:44pm<br /><br /><P>Okay Rod,&nbsp;missing just one key ingredient,&nbsp;like a reference&nbsp;over what period?&nbsp; Is the&nbsp;requirement to use a Moving Average of this percentage over a number of bars?&nbsp; orrr Highest - Lowest&nbsp;of a period of days?&nbsp;&nbsp;&nbsp; which also determines when the line will go down instead of up.</P><P>Here's a test indicator that shows daily percent range.&nbsp; As you can see its very choppy and needs a reference over a period of time like an Average or HHV.&nbsp;&nbsp; I used hist() to factor in any gaps between bars. </P><FONT color=#008000 size=3><P>{individual bar percent change}</P></FONT><FONT color=#800080 size=3><P>&#091;color</FONT><FONT size=3>=blue</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>Bperc:=(</FONT><FONT color=#0000c0 size=3>H</FONT><FONT size=3>-</FONT><FONT color=#0000c0 size=3>L</FONT><FONT size=3>)/</FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>L</FONT><FONT size=3>,1);</P><P>Bperc;</P></FONT><FONT color=#008000 size=3><P>{highest bar percent in 8 bars}</P></FONT><FONT color=#800080 size=3><P>&#091;color</FONT><FONT size=3>=lime green</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>linestyle</FONT><FONT size=3>=dotted</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT color=#0000c0 size=3><P>HHV</FONT><FONT size=3>(Bperc,8);</P></FONT><FONT color=#008000 size=3><P>{lowest bar percent in 8 bars}</P></FONT><FONT color=#800080 size=3><P>&#091;color</FONT><FONT size=3>=red</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>linestyle</FONT><FONT size=3>=dotted</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT color=#0000c0 size=3><P>LLV</FONT><FONT size=3>(Bperc,8);</P></FONT><P>&nbsp;</P>]]>
   </description>
   <pubDate>Thu, 27 Mar 2008 21:44:05 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=1731#1731</guid>
  </item> 
  <item>
   <title>Stepped price Indicator : After trying a couple of approaches...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=1730#1730</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=413" rel="nofollow">RODCAM</a><br /><strong>Subject:</strong> 466<br /><strong>Posted:</strong> 27&nbsp;Mar&nbsp;2008 at 9:20pm<br /><br /><P>After trying a couple of approaches to the coding, most of which were much more complex,&nbsp;the example below is the simplest method that illustrates the desired end result. The shortcoming with the example is that it uses the zig zag (peak) method so the step increments are not necessarily close&nbsp;to the target input step increment&nbsp;since the peaks can be much greater than the input step increment. Also, the latest peak on the plot can change because of the way the zig zag (peak) function works. The outcome I want is to use the first close or high that breaches the input step increment in either an up or down direction.&nbsp;&nbsp;Anyone got any ideas on a better way to code?<IMG src="http://www.bullcharts.com.au/forum/smileys/smiley1.gif" border="0">&nbsp;RODCAM</P><FONT color=#800080 size=3><P></FONT><FONT color=#800080 size=3>&nbsp;</P><P>&#091;target</FONT><FONT size=3>=price</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>inc:= </FONT><FONT color=#0000c0 size=3>input</FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3>"Step increment"</FONT><FONT size=3>,5);</P><P>pds := </FONT><FONT color=#0000c0 size=3>input</FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3>"High periods"</FONT><FONT size=3>,1);</P></FONT><FONT color=#0000c0 size=3><P>hhv</FONT><FONT size=3>(peak(1,</FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>, inc),pds)</P></FONT>]]>
   </description>
   <pubDate>Thu, 27 Mar 2008 21:20:40 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=1730#1730</guid>
  </item> 
  <item>
   <title>Stepped price Indicator : Maximo I drafted a clarification...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=1729#1729</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=413" rel="nofollow">RODCAM</a><br /><strong>Subject:</strong> 466<br /><strong>Posted:</strong> 26&nbsp;Mar&nbsp;2008 at 8:32pm<br /><br /><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Maximo I drafted a clarification but somehow it did not get posted because I pushed the wrong button, so I'll try again.&nbsp;I want to create an indicator similar to the highest high (i.e. a step plot of prices showing series of plateaus with step ups and down) except that I want to set the minimum incremental step size, say to &nbsp;10% as an example, which is plotted as a step chart. The plot would not show a step up or down unless the cumulative step increment/decrement was breached by the actual high price. For simplicity, let’s just use the table below to clarify. The step chart plot stays flat at 5.00 until the actual high price breaches the cumulative 10% step level (i.e. 5.0 +10% or 5.00 – 10%) in the first instance it is at period 6 when the actual high equals 5.50. The plot then remains flat until the next point where the step level is breached. (i.e. period 8 or 8.00) the plot then falls to 4.00 at period 10. My confusion relates to how to code so the&nbsp; reference point for calculating the cumulative step (i.e. at the point of each step up or down). On reflection perhaps my dilemma and shortcomings&nbsp;are much more deep seated.&nbsp;<IMG src="http://www.bullcharts.com.au/forum/smileys/smiley2.gif" border="0"></SPAN><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p>&nbsp;Any assistance you can offer is greatly appreciated. RODCAM</o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p></o:p></SPAN>&nbsp;</P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Step level = 10%<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Period:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;;&nbsp;&nbsp;&nbsp;&nbsp; 2;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4&nbsp;;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10;<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Actual price :&nbsp;5.00; 5.10; 5.20; 5.30; 5.40; 5.50; 5.80; 8.00; 8.50; 4.00;<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"> Plot:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  5.00; 5.00; 5.00;&nbsp;5.00; 5.00; 5.50; 5.50; 8.00; 8.00; 4.00;<o:p></o:p></SPAN></P>]]>
   </description>
   <pubDate>Wed, 26 Mar 2008 20:32:47 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=1729#1729</guid>
  </item> 
  <item>
   <title>Stepped price Indicator : Hi, Not quite sure what you mean.....</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=1728#1728</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> 466<br /><strong>Posted:</strong> 26&nbsp;Mar&nbsp;2008 at 2:14pm<br /><br /><P>Hi,</P><P>Not quite sure what you mean.. like a picture says a 1000 words but unfortunately we dont have one.&nbsp;&nbsp; I&nbsp;worked on&nbsp;this percentage based indicator for visualising a % stoploss and also for confirmation of rising trends etc.&nbsp;&nbsp; It filters out the noise&nbsp;okay and you maybe able to adjust&nbsp;it to your needs.&nbsp;</P><FONT color=#800080 size=3><P>&#091;citation</FONT><FONT size=3>=Percentage Trailing Stop</FONT><FONT color=#800080 size=3>&#093;</P><P>&#091;LineStyle</FONT><FONT size=3>=Solid</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>Target</FONT><FONT size=3>=Price</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>Color</FONT><FONT size=3>=Dodger Blue</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>Period:=</FONT><FONT color=#0000c0 size=3>input</FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3>"LinearReg Average"</FONT><FONT size=3>, 15, 1);</P><P>Displace:=</FONT><FONT color=#0000c0 size=3>input</FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3>"Risk Percent %"</FONT><FONT size=3>, 2, 0);</P><P>Flag:=</FONT><FONT color=#0000c0 size=3>input</FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3>"Retreat (1=On, 0=Off)"</FONT><FONT size=3>,1,0,1);</P><P>DD:=</FONT><FONT color=#0000c0 size=3>If</FONT><FONT size=3> (Flag=0,Period,2);</P><P>calc:= </FONT><FONT color=#0000c0 size=3>If</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>LinearReg</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>,period)&lt;</FONT><FONT color=#0000c0 size=3>PREV</FONT><FONT size=3>,</FONT><FONT color=#0000c0 size=3>If</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>LinearReg</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>,period)+(ATR(period)*DD)&lt;</FONT><FONT color=#0000c0 size=3>PREV</FONT><FONT size=3>,</FONT><FONT color=#0000c0 size=3>LinearReg</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>,period)+(ATR(period)*DD),</FONT><FONT color=#0000c0 size=3>PREV</FONT><FONT size=3>),</FONT><FONT color=#0000c0 size=3>LinearReg</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>,period));</P><P>calc*(1-Displace/100);</P><P>&nbsp;</P></FONT>]]>
   </description>
   <pubDate>Wed, 26 Mar 2008 14:14:44 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=1728#1728</guid>
  </item> 
  <item>
   <title>Stepped price Indicator : Anyone able to help with an indicator...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=1727#1727</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=413" rel="nofollow">RODCAM</a><br /><strong>Subject:</strong> 466<br /><strong>Posted:</strong> 24&nbsp;Mar&nbsp;2008 at 7:02pm<br /><br /><P>Anyone able to help with an indicator I am trying to code. Conceptually all I want is to plot the closing price in steps as it increases or decreases by a set input percentage, a bit like a Renko chart but shown as a line chart. As an example, if the closing price starts a $5.00 and&nbsp;the input step amount is 10% the plot will show a $5 price until the actual close&nbsp;&nbsp;increases to $5.10 or&nbsp;it decreases to $4.90 etc.&nbsp;The plot continues but price increases or decreases are only shown as 10%&nbsp;increases or decreases.&nbsp;The intention is simply to filter out the noise in price movements until the price increases or decreases by the set amount (i.e. 10%). Therefore, the chart would appear as a series of 10% steps rather than fluctations of 1% or 2% or whatever revealed by a normal plot of closing prices. Not sure if the coding below helps but it may help explain what I am trying to achieve even though it does not work as I intended. The steps don't have to be precisely the input step increments but this is the minimum level in the step. For example, if the price increased by 12% then a step increase in the price by 6% would be shown in the plot, rather than just 10%.</P><FONT size=3><P>increase:= </FONT><FONT color=#0000c0 size=3>input</FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3>"Step Size %"</FONT><FONT size=3>,5);</P></FONT><FONT color=#0000c0 size=3><P>prev</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>if</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>&gt; </FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>c</FONT><FONT size=3>,1)*(1+increase/100) </FONT><FONT color=#0000c0 size=3>OR</P></FONT><FONT size=3><P></FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>&lt; </FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>c</FONT><FONT size=3>,1)*(1-increase/100),</P><P></FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>, </P><P></FONT><FONT color=#0000c0 size=3>if</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>&gt; </FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>c</FONT><FONT size=3>,1)*(1+increase/100),</P><P></FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>c</FONT><FONT size=3>,1)*(1+increase/100),</P><P></FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>c</FONT><FONT size=3>,1)*(1-increase/100))));</FONT></P><P><FONT size=3></FONT>&nbsp;</P><P><FONT size=3>Cheers</FONT></P><P><FONT size=3>RODCAM</P></FONT><span style="font-size:10px"><br /><br />Edited by RODCAM</span>]]>
   </description>
   <pubDate>Mon, 24 Mar 2008 19:02:42 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=466&amp;PID=1727#1727</guid>
  </item> 
 </channel>
</rss>