<?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 : Just a step to the right</title>
  <link>http://www.bullcharts.com.au/forum/</link>
  <description>This is an XML content feed of; BullCharts : BullScript : Just a step to the right</description>
  <copyright>Copyright (c) 2006-2009 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 08:50:15 +0000</pubDate>
  <lastBuildDate>Wed, 21 Nov 2007 18:52:27 +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=394</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>Just a step to the right : Thanks for this piece of code....</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=394&amp;PID=1670#1670</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=213" rel="nofollow">lmbull</a><br /><strong>Subject:</strong> 394<br /><strong>Posted:</strong> 21&nbsp;Nov&nbsp;2007 at 6:52pm<br /><br />Thanks for this piece of code. What I was wondering is if it is possible to do an intra day scan of stock that have met this criteria, or on the snapshot data.<br>&nbsp;<br>]]>
   </description>
   <pubDate>Wed, 21 Nov 2007 18:52:27 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=394&amp;PID=1670#1670</guid>
  </item> 
  <item>
   <title>Just a step to the right : I have written an indicator that...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=394&amp;PID=1452#1452</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> 394<br /><strong>Posted:</strong> 15&nbsp;Nov&nbsp;2006 at 9:43am<br /><br /><DIV>I have written an indicator that shows what tomorrows price must be for MACD crossover to occur. To do this I displace the indicator plot one bar to the right using Next&gt;Advanced&gt;Horizontal Shift 1 so that it plots&nbsp;the last price&nbsp;on tomorrows bar. I would prefer to do it within the formula but so far all attempts result in a plot which is truncated at todays bar. Any suggestions?</DIV><DIV>&nbsp;</DIV><DIV>Here is the code sofar:-</DIV><DIV>&nbsp;</DIV><DIV><FONT size=3><P>n1 := </FONT><FONT color=#0000c0 size=3>input</FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3>"Short moving average"</FONT><FONT size=3>,12,1);</P><P>n2 := </FONT><FONT color=#0000c0 size=3>input</FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3>"Long moving average"</FONT><FONT size=3>,26,1);</P><P>ns := </FONT><FONT color=#0000c0 size=3>input</FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3>"Signal periods"</FONT><FONT size=3>,9,1);</P><P>&nbsp;</P></FONT><P><FONT size=3>r1 := 2/(n1+1);</P><P>r2 := 2/(n2+1);</P><P>ma12 := </FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>*r1 + </FONT><FONT color=#0000c0 size=3>previous</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>)*(1-r1);</P><P>ma26 := </FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>*r2 + </FONT><FONT color=#0000c0 size=3>previous</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>)*(1-r2);</P><P>res := </FONT><FONT color=#0000c0 size=3>wait</FONT><FONT size=3>(ma12 - ma26,25);</P><P>signal := </FONT><FONT color=#0000c0 size=3>ma</FONT><FONT size=3>(res,ns,</FONT><FONT color=#0000c0 size=3>E</FONT><FONT size=3>);</P><P>predictor := (signal+ma26*(1-r2)-ma12*(1-r1))/(r1-r2);</P></FONT><FONT color=#800080 size=3><P>&#091;Name</FONT><FONT size=3>=MACDP</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>predictor;</P><P>&nbsp;</P></FONT><FONT color=#008000 size=3><P>{ Fill }</P><P>{shows green for Predictor below price line = MACDH positive}</P><P>{shows red for Predictor above price line = MACDH negative}</P></FONT><FONT size=3></FONT><FONT color=#800080 size=3><P>&#091;name</FONT><FONT size=3>=Fill</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>linestyle</FONT><FONT size=3>=fill</FONT><FONT color=#800080 size=3>&#093;</P><P>&#091;color</FONT><FONT size=3>=green</FONT><FONT color=#800080 size=3>&#093;</FONT><FONT size=3> </FONT><FONT color=#0000c0 size=3>c</FONT><FONT size=3>;</P></FONT><FONT color=#800080 size=3><P>&#091;color</FONT><FONT size=3>=red</FONT><FONT color=#800080 size=3>&#093;</FONT><FONT size=3> predictor;</P></FONT><FONT color=#800080 size=3><P>&#091;visible</FONT><FONT size=3>=true</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>&nbsp;</P></FONT><FONT color=#008000 size=3><P>{ Markers }</P></FONT><FONT color=#800080 size=3><P>&#091;visible</FONT><FONT size=3>=false</FONT><FONT color=#800080 size=3>&#093;</P><P>&#091;name</FONT><FONT size=3>=BUY</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>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>tooltip</FONT><FONT size=3>="Price passed above MACD Predictor"</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT color=#0000c0 size=3><P>cross</FONT><FONT size=3>(</FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>,predictor);</P></FONT><FONT color=#800080 size=3><P>&#091;name</FONT><FONT size=3>=SELL</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>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>tooltip</FONT><FONT size=3>="Price passed below MACD Predictor"</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT color=#0000c0 size=3><P>cross</FONT><FONT size=3>(predictor,</FONT><FONT color=#0000c0 size=3>C</FONT><FONT size=3>);</P></FONT></DIV>]]>
   </description>
   <pubDate>Wed, 15 Nov 2006 09:43:01 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=394&amp;PID=1452#1452</guid>
  </item> 
 </channel>
</rss>