Is there an example of a Dow Jones Industrials percent advancing indicator for StrategyDesk? - Investery most recent 30 from http://www.investery.com 2010-03-20T10:19:31Z http://www.investery.com/feeds/question/59 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://www.investery.com/questions/59/is-there-an-example-of-a-dow-jones-industrials-percent-advancing-indicator-for-st Is there an example of a Dow Jones Industrials percent advancing indicator for StrategyDesk? David Smith 2009-10-29T17:16:00Z 2010-03-06T20:23:42Z <p>I'd like to look at the percentage of advancing stocks in the Dow Jones Industrials using TD Ameritrade's StrategyDesk.</p> http://www.investery.com/questions/59/is-there-an-example-of-a-dow-jones-industrials-percent-advancing-indicator-for-st/60#60 Answer by David Smith for Is there an example of a Dow Jones Industrials percent advancing indicator for StrategyDesk? David Smith 2009-10-29T17:33:32Z 2009-10-29T17:33:32Z <p>This is using the DOW 30 stocks as of 10/29/2009. I started out trying to do a percent advancing indicator for all of the stocks in the S&amp;P500 but it was just too much information for StrategyDesk. It was pulling data for all 500 stocks for each bar so it would never update the chart. There may be a symbol that'll do this that StrategyDesk recognizes but I couldn't find it. </p> <p>This StrategyDesk custom study is nice because it'll work over any time frame. Be sure to select "Histogram" when you add the indicator to a chart. </p> <pre><code>{ DOW Percent Advancing Stocks v2 - Investery.com } (( (Bar[Close,D,0,MMM] &gt; Bar[Open,D,0,MMM]) + (Bar[Close,D,0,AA] &gt; Bar[Open,D,0,AA]) + (Bar[Close,D,0,AXP] &gt; Bar[Open,D,0,AXP]) + (Bar[Close,D,0,T] &gt; Bar[Open,D,0,T]) + (Bar[Close,D,0,BAC] &gt; Bar[Open,D,0,BAC]) + (Bar[Close,D,0,BA] &gt; Bar[Open,D,0,BA]) + (Bar[Close,D,0,CAT] &gt; Bar[Open,D,0,CAT]) + (Bar[Close,D,0,CVX] &gt; Bar[Open,D,0,CVX]) + (Bar[Close,D,0,CSCO] &gt; Bar[Open,D,0,CSCO]) + (Bar[Close,D,0,DD] &gt; Bar[Open,D,0,DD]) + (Bar[Close,D,0,XOM] &gt; Bar[Open,D,0,XOM]) + (Bar[Close,D,0,GE] &gt; Bar[Open,D,0,GE]) + (Bar[Close,D,0,HPQ] &gt; Bar[Open,D,0,HPQ]) + (Bar[Close,D,0,INTC] &gt; Bar[Open,D,0,INTC]) + (Bar[Close,D,0,IBM] &gt; Bar[Open,D,0,IBM]) + (Bar[Close,D,0,JNJ] &gt; Bar[Open,D,0,JNJ]) + (Bar[Close,D,0,JPM] &gt; Bar[Open,D,0,JPM]) + (Bar[Close,D,0,KFT] &gt; Bar[Open,D,0,KFT]) + (Bar[Close,D,0,MCD] &gt; Bar[Open,D,0,MCD]) + (Bar[Close,D,0,MRK] &gt; Bar[Open,D,0,MRK]) + (Bar[Close,D,0,MSFT] &gt; Bar[Open,D,0,MSFT]) + (Bar[Close,D,0,PFE] &gt; Bar[Open,D,0,PFE]) + (Bar[Close,D,0,KO] &gt; Bar[Open,D,0,KO]) + (Bar[Close,D,0,HD] &gt; Bar[Open,D,0,HD]) + (Bar[Close,D,0,PG] &gt; Bar[Open,D,0,PG]) + (Bar[Close,D,0,TRV] &gt; Bar[Open,D,0,TRV]) + (Bar[Close,D,0,UTX] &gt; Bar[Open,D,0,UTX]) + (Bar[Close,D,0,VZ] &gt; Bar[Open,D,0,VZ]) + (Bar[Close,D,0,WMT] &gt; Bar[Open,D,0,WMT]) + (Bar[Close,D,0,DIS] &gt; Bar[Open,D,0,DIS]) ) / 30) * 100 </code></pre>