<?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 : Instantaneous Trendline and Sinewave Indicator</title>
  <link>http://www.bullcharts.com.au/forum/</link>
  <description>This is an XML content feed of; BullCharts : BullScript : Instantaneous Trendline and Sinewave Indicator</description>
  <copyright>Copyright (c) 2006-2009 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 12:11:29 +0000</pubDate>
  <lastBuildDate>Sun, 16 Sep 2012 08:27:12 +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=719</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>Instantaneous Trendline and Sinewave Indicator :   Just re reading the abovelet...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=719&amp;PID=3026#3026</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> 719<br /><strong>Posted:</strong> 16&nbsp;Sep&nbsp;2012 at 8:27am<br /><br />Just re reading the above&nbsp;let me clarify and be a bit more specific- I have most of the John Ehlers indicators I want working.&nbsp; There are 83 in all in either my current Bullchart indicator file or my archived Bullchart indicator file.<div></div><div>&nbsp;</div><div>The Ehler related&nbsp;indicators &nbsp;I have used/tested on Bullcharts include:<div>Butterworth Filters,Cybernetic Hilbert Oscillator, Homodyne Cycle, Laguerre Filters, Laguerre Stochastics, Laguerre RSI, Adaptive Centre of Gravity, Adfaptive RSI, Hilbert Oscillator, Hilbert Trandform, Optimum Predictor, Sinewae(cybernetics), Stochastic Fisher, Stochastic Hotelling and about&nbsp;6 other&nbsp;stochastic variations. </div><div>&nbsp;</div><div>Some of the codes for the above were also provided in Metastock format in various Ehlers articles in Technical Analysis of Stocks and Commodities (Tasc) over the last decade.</div><div>&nbsp;</div></div>There are many other non-Ehlers&nbsp;indicators that are on the two packages contained in the Toolkit that I ignore&nbsp;or have not tried to get running on Bullcharts as&nbsp;they or equivalent indicators are on&nbsp;Bullcharts.&nbsp; Also I recall there were two ot three indicators referencing external Dlls I tried to get working on Bullcharts but they did not work for some reason when referenced by Bullscript.&nbsp;<div>&nbsp;</div><div>&nbsp;</div> ]]>
   </description>
   <pubDate>Sun, 16 Sep 2012 08:27:12 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=719&amp;PID=3026#3026</guid>
  </item> 
  <item>
   <title>Instantaneous Trendline and Sinewave Indicator :   TanakaThis may help if no...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=719&amp;PID=3025#3025</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> 719<br /><strong>Posted:</strong> 16&nbsp;Sep&nbsp;2012 at 7:33am<br /><br /><div>Tanaka</div><div>&nbsp;</div><div>This may help if no one has reqritten the above code in Bullscript.</div><div>&nbsp;</div><div>I can run most of john Ehlers indicators including the Instantaneous Trendline and Sinewave in&nbsp;Bullcharts as explained below.</div><div>&nbsp;</div>In 2008 I bought Adaptive Cycle Toolkit, a Metastock add in from the Dynamic Market Lab&nbsp; (DML) which contains 72 external&nbsp; DLLs and well over 150 indicators mostly based on John Ehlers Rocket Science and Cybernetics books with multiple adaptations.&nbsp; The manuals give the Metastock code for indicators to reference the external DLLs provided.&nbsp; The DLLS from my understanding were based on Metastock Formula Primer so it was fairly open code among Metastock users as i understand the primer was de3veloped by users.&nbsp;&nbsp; <div></div>I&nbsp;put the DLL file in the Bullcharts External DLL Folder and have set up most of the indicators in my Bullcharts so they that refererence the External DLL based on the manual instructions which are usuallly only one or 2 lines per indicator..]]>
   </description>
   <pubDate>Sun, 16 Sep 2012 07:33:29 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=719&amp;PID=3025#3025</guid>
  </item> 
  <item>
   <title>Instantaneous Trendline and Sinewave Indicator : Way beyond my capabilities, but...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=719&amp;PID=2777#2777</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=196" rel="nofollow">cudderbean</a><br /><strong>Subject:</strong> 719<br /><strong>Posted:</strong> 02&nbsp;Aug&nbsp;2011 at 11:37pm<br /><br />Way beyond my capabilities, but it&nbsp;certainly looks very interesting.<DIV>&nbsp;</DIV><DIV>I hope someone on the forum is capable of coding this for BullCharts.</DIV>]]>
   </description>
   <pubDate>Tue, 02 Aug 2011 23:37:03 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=719&amp;PID=2777#2777</guid>
  </item> 
  <item>
   <title>Instantaneous Trendline and Sinewave Indicator : I also found this code for Tradestation,...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=719&amp;PID=2765#2765</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=762" rel="nofollow">Tanaka</a><br /><strong>Subject:</strong> 719<br /><strong>Posted:</strong> 15&nbsp;Jul&nbsp;2011 at 12:33pm<br /><br />I also found this code for Tradestation, this is the sine wave which is what will give you an edge especially in choppy markets:<div><br></div><div><span ="Apple-style-span" style="color: rgb51, 51, 51; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px; line-height: normal; "><div ="" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><div id="post_message_46387" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><blockquote ="post restore" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; ">Typ : Indicator, Name : Sine Wave Indicator<br><br>Inputs:<br>Price((H+L)/2);&nbsp;<br><br>Vars:<br>InPhase(0),<br>Quadrature(0),<br>Phase(0),<br>DeltaPhase(0),<br>count(0),<br>InstPeriod(0),<br>Period(0),<br>DCPhase(0),<br>RealPart(0),<br>ImagPart(0);<br><br>If CurrentBar &gt; 5 then begin<br><br>{Compute InPhase and Quadrature components}<br>Value1 = Price - Price&#091;6&#093;;<br>Value2 =Value1&#091;3&#093;;<br>Value3 =.75*(Value1 - Value1&#091;6&#093;) + .25*(Value1&#091;2&#093; - Value1&#091;4&#093;);<br>InPhase = .33*Value2 + .67*InPhase&#091;1&#093;;<br>Quadrature = .2*Value3 + .8*Quadrature&#091;1&#093;;<br><br>{Use ArcTangent to compute the current phase}<br>If AbsValue(InPhase +InPhase&#091;1&#093;) &gt; 0 then Phase =<br>ArcTangent(AbsValue((Quadrature+Quadrature&#091;1&#093;) / (InPhase+InPhase&#091;1&#093;)));<br><br>{Resolve the ArcTangent ambiguity}<br>If InPhase &lt; 0 and Quadrature &gt; 0 then Phase = 180 - Phase;<br>If InPhase &lt; 0 and Quadrature &lt; 0 then Phase = 180 + Phase;<br>If InPhase &gt; 0 and Quadrature &lt; 0 then Phase = 360 - Phase;<br><br>{Compute a differential phase, resolve phase wraparound, and limit delta phase errors}<br>DeltaPhase = Phase&#091;1&#093; - Phase;<br>If Phase&#091;1&#093; &lt; 90 and Phase &gt; 270 then DeltaPhase = 360 + Phase&#091;1&#093; - Phase;<br>If DeltaPhase &lt; 1 then DeltaPhase = 1;<br>If DeltaPhase &gt; 60 then Deltaphase = 60;<br><br>{Sum DeltaPhases to reach 360 degrees. The sum is the instantaneous period.}<br>InstPeriod = 0;<br>Value4 = 0;<br>For count = 0 to 40 begin<br>Value4 = Value4 + DeltaPhase&#091;count&#093;;<br>If Value4 &gt; 360 and InstPeriod = 0 then begin<br>InstPeriod = count;<br>end;<br>end;<br><br>{Resolve Instantaneous Period errors and smooth}<br>If InstPeriod = 0 then InstPeriod = InstPeriod&#091;1&#093;;<br>Value5 = .25*InstPeriod + .75*Value5&#091;1&#093;;<br><br>{Compute Dominant Cycle Phase, Sine of the Phase Angle, and Leadsine}<br>Period = IntPortion(Value5);<br>RealPart = 0;<br>ImagPart = 0;<br>For count = 0 To Period - 1 begin<br>RealPart = RealPart + Sine(360 * count / Period) * (Price&#091;count&#093;);<br>ImagPart = ImagPart + Cosine(360 * count / Period) * (Price&#091;count&#093;);<br>end;<br>If AbsValue(ImagPart) &gt; 0.001 then DCPhase = Arctangent(RealPart / ImagPart);<br>If AbsValue(ImagPart) &lt;= 0.001 then DCPhase = 90 * Sign(RealPart);<br><br>DCPhase = DCPhase + 90;<br>If ImagPart &lt; 0 then DCPhase = DCPhase + 180;<br>If DCPhase &gt; 315 then DCPhase = DCPhase - 360;<br><br>Plot1(Sine(DCPhase), "Sine");<br>Plot2(Sine(DCPhase + 45), "LeadSine");<br><br>end;</blockquote></div></div><div ="vbseo_s" id="lkbtn_1.3479.46387" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 11px; : relative; "><ul ="vbseo_s" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; visibility: ; width: auto; "></ul></div></span></div>]]>
   </description>
   <pubDate>Fri, 15 Jul 2011 12:33:27 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=719&amp;PID=2765#2765</guid>
  </item> 
  <item>
   <title>Instantaneous Trendline and Sinewave Indicator : Hi guys,I have a great indicator...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=719&amp;PID=2764#2764</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=762" rel="nofollow">Tanaka</a><br /><strong>Subject:</strong> 719<br /><strong>Posted:</strong> 12&nbsp;Jul&nbsp;2011 at 10:49pm<br /><br />Hi guys,<div><br></div><div>I have a great indicator that I use with another charting package (dare I say&nbsp;<img src="http://www.bullcharts.com.au/forum/smileys/smiley9.gif" border="0" alt="Embarrassed" title="Embarrassed" />), which is the Hilbert Sine Wave, it's very good at finding changes in direction. I found the metastock code here&nbsp;<a href="http://forum.equis.com/forums/thread/28213.aspx" target="_blank">http://forum.equis.com/forums/thread/28213.aspx</a>&nbsp; &nbsp; ...I can't code, but by the looks of it, it could be a lot of work, but well worth the time. If someone has this or could develop it for Bullcharts I would be much appreciative!&nbsp;<img src="http://www.bullcharts.com.au/forum/smileys/smiley1.gif" border="0" alt="Smile" title="Smile" /></div>]]>
   </description>
   <pubDate>Tue, 12 Jul 2011 22:49:52 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=719&amp;PID=2764#2764</guid>
  </item> 
 </channel>
</rss>