<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Average Directional Movement Index ADX Formula in C#</title>
	<atom:link href="http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/</link>
	<description>The online ramblings of a young dinosaur</description>
	<lastBuildDate>Wed, 25 Jan 2012 19:30:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: ben</title>
		<link>http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/comment-page-1/#comment-814</link>
		<dc:creator>ben</dc:creator>
		<pubDate>Tue, 02 Aug 2011 22:24:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/#comment-814</guid>
		<description>what values do you take for t-1 when considering calculations for the first day? Do caclulations really only start on Day 2 since that is only when one has previouos days&#039; data to use in calc?</description>
		<content:encoded><![CDATA[<p>what values do you take for t-1 when considering calculations for the first day? Do caclulations really only start on Day 2 since that is only when one has previouos days&#8217; data to use in calc?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Viny</title>
		<link>http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/comment-page-1/#comment-810</link>
		<dc:creator>Viny</dc:creator>
		<pubDate>Sat, 25 Jun 2011 23:03:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/#comment-810</guid>
		<description>Can you send me all source code of you class please. It&#039;ll be very helpful.
Thanks.</description>
		<content:encoded><![CDATA[<p>Can you send me all source code of you class please. It&#8217;ll be very helpful.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jake</title>
		<link>http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/comment-page-1/#comment-748</link>
		<dc:creator>Jake</dc:creator>
		<pubDate>Sat, 08 Jan 2011 05:18:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/#comment-748</guid>
		<description>Hello everyone... how exactly should i get the Previous parameters (t-1)? e.g. when the formula says: PlusADM(t) = PlusADM(t-1)*(1-n/n)+(PlusDM(t))*(1/n) ; when the PlusADM(t-1) should come from? if i starts by the order from the begining, and i have only current and historical data for open, close, high, and low parameters so when High(t) means the high for November 5 then high(t-1) means high of november 4, it&#039;s makes sense for PlusDM and MinusDM since they depend only on the parameters of open and close data and we can get them, but the PlusADM(t=Nov5 for example) defined with the previous PlusADM in it [PlusADM(Nov4)] so where it&#039;s should starts from (and if you can get the historical PlusADM (for Nov4) then what&#039;s the point in all that formula?), i don&#039;t have the Nov4 PlusADM so assuming i start the application on Nov5 the current PlusADM cannot be defined right? what i miss here?
   
thanx alot.</description>
		<content:encoded><![CDATA[<p>Hello everyone&#8230; how exactly should i get the Previous parameters (t-1)? e.g. when the formula says: PlusADM(t) = PlusADM(t-1)*(1-n/n)+(PlusDM(t))*(1/n) ; when the PlusADM(t-1) should come from? if i starts by the order from the begining, and i have only current and historical data for open, close, high, and low parameters so when High(t) means the high for November 5 then high(t-1) means high of november 4, it&#8217;s makes sense for PlusDM and MinusDM since they depend only on the parameters of open and close data and we can get them, but the PlusADM(t=Nov5 for example) defined with the previous PlusADM in it [PlusADM(Nov4)] so where it&#8217;s should starts from (and if you can get the historical PlusADM (for Nov4) then what&#8217;s the point in all that formula?), i don&#8217;t have the Nov4 PlusADM so assuming i start the application on Nov5 the current PlusADM cannot be defined right? what i miss here?</p>
<p>thanx alot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ADX Indicator Stock Scanner In Perl</title>
		<link>http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/comment-page-1/#comment-559</link>
		<dc:creator>ADX Indicator Stock Scanner In Perl</dc:creator>
		<pubDate>Sun, 16 May 2010 14:32:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/#comment-559</guid>
		<description>[...] http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/" rel="nofollow">http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arsalan</title>
		<link>http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/comment-page-1/#comment-553</link>
		<dc:creator>Arsalan</dc:creator>
		<pubDate>Wed, 24 Feb 2010 14:46:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/#comment-553</guid>
		<description>Great Work, I implemented the same but in a much more gruesome brute force kinda manner. Knowing the formula helps and simplifies it a lot. 
Do you have the src for this available? if not then its fine.
Thanks anyways</description>
		<content:encoded><![CDATA[<p>Great Work, I implemented the same but in a much more gruesome brute force kinda manner. Knowing the formula helps and simplifies it a lot.<br />
Do you have the src for this available? if not then its fine.<br />
Thanks anyways</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: S</title>
		<link>http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/comment-page-1/#comment-544</link>
		<dc:creator>S</dc:creator>
		<pubDate>Wed, 20 Jan 2010 14:23:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/#comment-544</guid>
		<description>Thanks for a detailed explanation on ADX, it was quite informative. Thanks again for the good work :)</description>
		<content:encoded><![CDATA[<p>Thanks for a detailed explanation on ADX, it was quite informative. Thanks again for the good work <img src='http://www.dinosaurtech.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: quinton</title>
		<link>http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/comment-page-1/#comment-539</link>
		<dc:creator>quinton</dc:creator>
		<pubDate>Tue, 08 Dec 2009 11:08:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/#comment-539</guid>
		<description>Thanks a bunch! This formula was just what I needed for my school report.

ciao,

q.</description>
		<content:encoded><![CDATA[<p>Thanks a bunch! This formula was just what I needed for my school report.</p>
<p>ciao,</p>
<p>q.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/comment-page-1/#comment-493</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Mon, 31 Aug 2009 15:10:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/#comment-493</guid>
		<description>@cdm: yes, the length &#039;n&#039; wilder average is just a length &#039;2n-1&#039; EMA.</description>
		<content:encoded><![CDATA[<p>@cdm: yes, the length &#8216;n&#8217; wilder average is just a length &#8217;2n-1&#8242; EMA.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cdm</title>
		<link>http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/comment-page-1/#comment-438</link>
		<dc:creator>cdm</dc:creator>
		<pubDate>Mon, 22 Jun 2009 09:08:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/#comment-438</guid>
		<description>Hi,
ultimately which indicator do you recomend between the exponential MA and the Welles Wilder Avergae ? It seems to me that the 14 days Wilder average is like a 27 exponential moving average ... but i&#039;d like to get a confirmation on what to use ...
TKs a lot for all the formula though !</description>
		<content:encoded><![CDATA[<p>Hi,<br />
ultimately which indicator do you recomend between the exponential MA and the Welles Wilder Avergae ? It seems to me that the 14 days Wilder average is like a 27 exponential moving average &#8230; but i&#8217;d like to get a confirmation on what to use &#8230;<br />
TKs a lot for all the formula though !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Menno H.</title>
		<link>http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/comment-page-1/#comment-333</link>
		<dc:creator>Menno H.</dc:creator>
		<pubDate>Thu, 23 Apr 2009 19:26:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/#comment-333</guid>
		<description>hmm my reply is all f*cked up =( guess i cant post that many chars, nvermind than xD. srry!</description>
		<content:encoded><![CDATA[<p>hmm my reply is all f*cked up =( guess i cant post that many chars, nvermind than xD. srry!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Menno H.</title>
		<link>http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/comment-page-1/#comment-332</link>
		<dc:creator>Menno H.</dc:creator>
		<pubDate>Thu, 23 Apr 2009 19:24:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/#comment-332</guid>
		<description>I did it this way (for  DMI and -DMI only). I didn&#039;t really get ur method (iam not that good at math lol)

Used a array for the Low,High,Close data&#039;s named Quotes. Any feedback is welcome =)

        private void CalcDMI()
        {
                decimal TR = 0;
                decimal DMP = 0;
                decimal DMM = 0;


                for (int x = 0; x  0 &amp;&amp; HD &gt; LD) ? HD : 0;
                    DMM  = (LD &gt; 0 &amp;&amp; LD &gt; HD) ? LD : 0;
                }

                PDI = (DMP * 100) / TR;
                MDI = (DMM * 100) / TR;
        }</description>
		<content:encoded><![CDATA[<p>I did it this way (for  DMI and -DMI only). I didn&#8217;t really get ur method (iam not that good at math lol)</p>
<p>Used a array for the Low,High,Close data&#8217;s named Quotes. Any feedback is welcome =)</p>
<p>        private void CalcDMI()<br />
        {<br />
                decimal TR = 0;<br />
                decimal DMP = 0;<br />
                decimal DMM = 0;</p>
<p>                for (int x = 0; x  0 &amp;&amp; HD &gt; LD) ? HD : 0;<br />
                    DMM  = (LD &gt; 0 &amp;&amp; LD &gt; HD) ? LD : 0;<br />
                }</p>
<p>                PDI = (DMP * 100) / TR;<br />
                MDI = (DMM * 100) / TR;<br />
        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim N.</title>
		<link>http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/comment-page-1/#comment-257</link>
		<dc:creator>Jim N.</dc:creator>
		<pubDate>Wed, 11 Feb 2009 03:40:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/#comment-257</guid>
		<description>Great work - I&#039;ve been struggling to build this myself due to the complexity of the indicator.  This helped me a lot and is the best explanation I&#039;ve seen on the web.  Thanks!</description>
		<content:encoded><![CDATA[<p>Great work &#8211; I&#8217;ve been struggling to build this myself due to the complexity of the indicator.  This helped me a lot and is the best explanation I&#8217;ve seen on the web.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vidar</title>
		<link>http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/comment-page-1/#comment-160</link>
		<dc:creator>Vidar</dc:creator>
		<pubDate>Mon, 05 Jan 2009 19:16:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/#comment-160</guid>
		<description>The ADX formula is wrong. Replace the TR with DX and it works fine for me. Besides that, GREAT work :-)</description>
		<content:encoded><![CDATA[<p>The ADX formula is wrong. Replace the TR with DX and it works fine for me. Besides that, GREAT work <img src='http://www.dinosaurtech.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John B</title>
		<link>http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/comment-page-1/#comment-132</link>
		<dc:creator>John B</dc:creator>
		<pubDate>Fri, 07 Nov 2008 03:54:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/#comment-132</guid>
		<description>I have not been able to get this formulas equal to the Marketscope ADX values.  For some reason the first adx calculated is equal, but from the 2nd Adx it is not getting equal.  Did you check the values that your formulas calculate against any other tool?  It seems that it&#039;s something about the Average Directional Movement Indicator, because the ATR i&#039;m getting through your formulas is accurate against de Marketscope ATR.

Anyway your post has been so helpfull, but I want to get values that match exactly compared to the marketscope tool so I can verify more clearly my strategy.</description>
		<content:encoded><![CDATA[<p>I have not been able to get this formulas equal to the Marketscope ADX values.  For some reason the first adx calculated is equal, but from the 2nd Adx it is not getting equal.  Did you check the values that your formulas calculate against any other tool?  It seems that it&#8217;s something about the Average Directional Movement Indicator, because the ATR i&#8217;m getting through your formulas is accurate against de Marketscope ATR.</p>
<p>Anyway your post has been so helpfull, but I want to get values that match exactly compared to the marketscope tool so I can verify more clearly my strategy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: srb</title>
		<link>http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/comment-page-1/#comment-116</link>
		<dc:creator>srb</dc:creator>
		<pubDate>Mon, 07 Jul 2008 12:47:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/#comment-116</guid>
		<description>Ah, I see now that you are comparing it w/ the NYSE A/D 1-min bar data.</description>
		<content:encoded><![CDATA[<p>Ah, I see now that you are comparing it w/ the NYSE A/D 1-min bar data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: srb</title>
		<link>http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/comment-page-1/#comment-115</link>
		<dc:creator>srb</dc:creator>
		<pubDate>Mon, 07 Jul 2008 12:23:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/#comment-115</guid>
		<description>At 14:24, the ADX takes off and climbs to .35 while the price barely moves. Shouldn&#039;t the ADX be falling during this period?</description>
		<content:encoded><![CDATA[<p>At 14:24, the ADX takes off and climbs to .35 while the price barely moves. Shouldn&#8217;t the ADX be falling during this period?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nabusman</title>
		<link>http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/comment-page-1/#comment-109</link>
		<dc:creator>Nabusman</dc:creator>
		<pubDate>Fri, 02 May 2008 10:53:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/#comment-109</guid>
		<description>Wow, this is awesome, exactly what I was looking for. Thank you.</description>
		<content:encoded><![CDATA[<p>Wow, this is awesome, exactly what I was looking for. Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Magdiel Herrera Franqui</title>
		<link>http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/comment-page-1/#comment-91</link>
		<dc:creator>Magdiel Herrera Franqui</dc:creator>
		<pubDate>Mon, 07 Jan 2008 23:12:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinosaurtech.com/2007/average-directional-movement-index-adx-formula-in-c-2/#comment-91</guid>
		<description>Hola, muy buena argumentacion respaldada por su respectiva implementacion en C#, solo me queda una duda, 

puede que en esta parte:

Average Directional Movement Index

          is the average directional movement calculated over N periods.

Staying true to form again, the Welles Wilder Average is used below.

se te halla pasado y colocaste el calculo del indicador True Range en Lugar de DX ? 

Saludos.</description>
		<content:encoded><![CDATA[<p>Hola, muy buena argumentacion respaldada por su respectiva implementacion en C#, solo me queda una duda, </p>
<p>puede que en esta parte:</p>
<p>Average Directional Movement Index</p>
<p>          is the average directional movement calculated over N periods.</p>
<p>Staying true to form again, the Welles Wilder Average is used below.</p>
<p>se te halla pasado y colocaste el calculo del indicador True Range en Lugar de DX ? </p>
<p>Saludos.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

