<?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 : macd histogram scan</title>
  <link>http://www.bullcharts.com.au/forum/</link>
  <description>This is an XML content feed of; BullCharts : BullScan : macd histogram scan</description>
  <copyright>Copyright (c) 2006-2009 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 05:54:18 +0000</pubDate>
  <lastBuildDate>Tue, 02 Sep 2008 17:45:15 +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=499</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>macd histogram scan : Yes I could see exactly from your...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=499&amp;PID=1820#1820</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> 499<br /><strong>Posted:</strong> 02&nbsp;Sep&nbsp;2008 at 5:45pm<br /><br /><P>Yes I could see exactly from your example, thanks that helps.</P><DIV></DIV>I replaced the code with&nbsp;original MACD formula and made the histogram detection&nbsp;a fraction&nbsp;flexible. ie. 99.9% is close enough to allow a signal.&nbsp;&nbsp; IPL was missed from the weekly scan because&nbsp;the&nbsp;ascent bar of the histogram was&nbsp;within 1%&nbsp;higher of the previous&nbsp;bar.&nbsp; It's now close enough to pass the scan.&nbsp;&nbsp; I really like this entry signal and speaking of&nbsp;financial strength (TA wise) &nbsp;it would go well with those closing above&nbsp;the 41 MA weekly &amp; 200 MA daily.&nbsp;&nbsp;&nbsp;Can see&nbsp;by looking at&nbsp;a few charts&nbsp;that&nbsp;at least 2 out of 3&nbsp;signals&nbsp;result in a&nbsp;price&nbsp;swing.&nbsp;&nbsp; &nbsp;&nbsp; <DIV><FONT size=3><FONT size=3></FONT></FONT>&nbsp;<FONT color=#008000 size=3> <P>{ MACD+ }</P></FONT><FONT color=#800080 size=3><P>&#091;Description:="MACD+ Momentum&nbsp;Swing Signal"&#093;</P></FONT><FONT size=3><P>a1 := </FONT><FONT color=#0000c0 size=3>input</FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3>"Short MA"</FONT><FONT size=3>,12,1);</P><P>a2 := </FONT><FONT color=#0000c0 size=3>input</FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3>"Long MA"</FONT><FONT size=3>,26,1);</P><P>a3 := </FONT><FONT color=#0000c0 size=3>input</FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3>"Signal period"</FONT><FONT size=3>,9,1);</P><P>r1 := 2/(a1+1);</P><P>r2 := 2/(a2+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,a3,</FONT><FONT color=#0000c0 size=3>E</FONT><FONT size=3>);</P></FONT><FONT color=#800080 size=3><P>&#091;Name</FONT><FONT size=3>=MACD</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>res;</P></FONT><FONT color=#800080 size=3><P>&#091;name</FONT><FONT size=3>=Signal</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>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>color</FONT><FONT size=3>=red</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>signal;</P></FONT><FONT color=#800080 size=3><P>&#091;color</FONT><FONT size=3>=navy</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>0;</P></FONT><FONT color=#800080 size=3><P>&#091;Name</FONT><FONT size=3>=Histogram</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>linestyle</FONT><FONT size=3>=Histogram</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>color</FONT><FONT size=3>=black</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>histogram:=res - signal;</P><P>histogram;</P></FONT><FONT color=#800080 size=3><P>&#091;Name</FONT><FONT size=3>=" "</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>=Long</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>descent3:=</FONT><FONT color=#0000c0 size=3>if</FONT><FONT size=3>(histogram &lt; 0 </FONT><FONT color=#0000c0 size=3>and</FONT><FONT size=3> histogram*0.999 &gt; </FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(histogram,1) </FONT><FONT color=#0000c0 size=3>and</FONT><FONT size=3> </FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(histogram*0.999,1) &lt; </FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(histogram,2) </FONT><FONT color=#0000c0 size=3>and</FONT><FONT size=3> </FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(histogram*0.999,2) &lt; </FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(histogram,3) </FONT><FONT color=#0000c0 size=3>and</FONT><FONT size=3> </FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(histogram,3) &lt; </FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(histogram,4),1,</FONT><FONT color=#0000c0 size=3>undefined</FONT><FONT size=3>);</P><P>descent3;</P></FONT><FONT size=3><FONT size=3><FONT size=3></DIV></FONT></FONT></FONT><span style="font-size:10px"><br /><br />Edited by maximo - 03&nbsp;Sep&nbsp;2008 at 3:07am</span>]]>
   </description>
   <pubDate>Tue, 02 Sep 2008 17:45:15 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=499&amp;PID=1820#1820</guid>
  </item> 
  <item>
   <title>macd histogram scan : Hi Maximo,thanks for that.I have...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=499&amp;PID=1819#1819</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=644" rel="nofollow">pinto</a><br /><strong>Subject:</strong> 499<br /><strong>Posted:</strong> 02&nbsp;Sep&nbsp;2008 at 8:02am<br /><br />Hi Maximo,<br>thanks for that.<br><br>I have built the indicator and scan and it certainly shows up interesting things, however, it misses some of the things I want. <br>It is probably my lack of knowledge I suspect -------- here is an example of what I want it to find.<br><br>If you look at a weekly chart of ipl ---- you will see that the weekly macd jumped on the week ending 22/8/08 ------------- the scan misses that signal.<br>Is it because there are not enough (consistent) weeks in decline before that?<br>It does, however, give a signal on the week ending 1/8/08.<br><br>The scan I want would not be the only criteria for a long entry as many times the weekly macd will begin an upward movement whilst the price is still in decline. I have noticed that when this happens a lot of the time the price will begin an upward movement when the macd gets somewhat closer to the line. This is often the start of a solid up trend.<br><br>Along with macd I look at momentum indicators on a shorter time frame as well as financial strength ---- it doesn't often happen but when the 3 are in alignment it really can be party time.<br><br>Pinto<br>]]>
   </description>
   <pubDate>Tue, 02 Sep 2008 08:02:09 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=499&amp;PID=1819#1819</guid>
  </item> 
  <item>
   <title>macd histogram scan : Hi Pinto,   What a great idea...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=499&amp;PID=1817#1817</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> 499<br /><strong>Posted:</strong> 31&nbsp;Aug&nbsp;2008 at 8:40pm<br /><br />Hi Pinto, <DIV>&nbsp;</DIV><DIV>What a great idea for&nbsp; a scan!&nbsp;&nbsp;This&nbsp;finds the start of all new uptrends and</DIV><DIV>often well before the MACD crosses over.</DIV><DIV>&nbsp;</DIV><DIV>I created a simplified MACD indicator which is 99.5% the same and it checks for </DIV><DIV>this signal:&nbsp;&nbsp; 3&nbsp;descents &nbsp;before&nbsp;1&nbsp;ascent of the histogram and&nbsp;this must be</DIV><DIV>below the zero line.&nbsp;&nbsp; Add the&nbsp;following new indicator and&nbsp;create a new scan,</DIV><DIV>select 'is an indicator signal' and weekly or daily whichever you choose.</DIV><DIV>&nbsp;</DIV><DIV><FONT color=#008000 size=3><P>{ Trend MAC }</P></FONT><FONT color=#800080 size=3><P>&#091;Description:="Simplified MACD"&#093;</P></FONT><FONT size=3><P>a1 := </FONT><FONT color=#0000c0 size=3>input</FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3>"Short MA"</FONT><FONT size=3>,12,1);</P><P>a2 := </FONT><FONT color=#0000c0 size=3>input</FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3>"Long MA"</FONT><FONT size=3>,26,1);</P><P>a3 := </FONT><FONT color=#0000c0 size=3>input</FONT><FONT size=3>(</FONT><FONT color=#008b8b size=3>"Signal period"</FONT><FONT size=3>,9,1);</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>mac:=(</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>,a1,</FONT><FONT color=#0000c0 size=3>E</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>,a2,</FONT><FONT color=#0000c0 size=3>E</FONT><FONT size=3>))*.20;</P><P>mac;</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 color=#0000c0 size=3><P>ma</FONT><FONT size=3>(mac,a3,</FONT><FONT color=#0000c0 size=3>E</FONT><FONT size=3>)</P></FONT><FONT color=#800080 size=3><P>&#091;Name</FONT><FONT size=3>=Histogram</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>linestyle</FONT><FONT size=3>=Histogram</FONT><FONT color=#800080 size=3>;</FONT><FONT size=3> </FONT><FONT color=#800080 size=3>color</FONT><FONT size=3>=black</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>histogram:=mac-</FONT><FONT color=#0000c0 size=3>ma</FONT><FONT size=3>(mac,a3,</FONT><FONT color=#0000c0 size=3>E</FONT><FONT size=3>);</P><P>histogram;</P></FONT><FONT color=#800080 size=3><P>&#091;Name</FONT><FONT size=3>=" "</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>=Long</FONT><FONT color=#800080 size=3>&#093;</P></FONT><FONT size=3><P>descent3:=</FONT><FONT color=#0000c0 size=3>if</FONT><FONT size=3>(histogram &lt; 0 </FONT><FONT color=#0000c0 size=3>and</FONT><FONT size=3> histogram &gt; </FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(histogram,1) </FONT><FONT color=#0000c0 size=3>and</FONT><FONT size=3> </FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(histogram,1)&lt;=</FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(histogram,2) </FONT><FONT color=#0000c0 size=3>and</FONT><FONT size=3> </FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(histogram,2)&lt;=</FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(histogram,3) </FONT><FONT color=#0000c0 size=3>and</FONT><FONT size=3> </FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(histogram,3)&lt;=</FONT><FONT color=#0000c0 size=3>hist</FONT><FONT size=3>(histogram,4),1,</FONT><FONT color=#0000c0 size=3>undefined</FONT><FONT size=3>);</P><P>descent3;</P><DIV></FONT></DIV></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><span style="font-size:10px"><br /><br />Edited by maximo - 01&nbsp;Sep&nbsp;2008 at 3:54pm</span>]]>
   </description>
   <pubDate>Sun, 31 Aug 2008 20:40:21 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=499&amp;PID=1817#1817</guid>
  </item> 
  <item>
   <title>macd histogram scan : Hi,  I would like to run a scan...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=499&amp;PID=1815#1815</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=644" rel="nofollow">pinto</a><br /><strong>Subject:</strong> 499<br /><strong>Posted:</strong> 29&nbsp;Aug&nbsp;2008 at 10:43am<br /><br /><p ="Ms&#111;normal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Hi,<o:p></o:p></span></font></p><p ="Ms&#111;normal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I would like to run a scan that tells me when a weekly macd histogram first ticks upward after several weeks decent.</span></font></p><br><p ="Ms&#111;normal"></p>Can anyone help please?<br><br>tia&nbsp;&nbsp;<img src="http://www.bullcharts.com.au/forum/smileys/smiley1.gif" border="0" alt="Smile" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Pinto<br>]]>
   </description>
   <pubDate>Fri, 29 Aug 2008 10:43:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=499&amp;PID=1815#1815</guid>
  </item> 
 </channel>
</rss>