Is there an example of a Dow Jones Industrials percent advancing indicator for StrategyDesk? - Investery most recent 30 from http://www.investery.com2010-03-20T10:19:31Zhttp://www.investery.com/feeds/question/59http://www.creativecommons.org/licenses/by-nc/2.5/rdfhttp://www.investery.com/questions/59/is-there-an-example-of-a-dow-jones-industrials-percent-advancing-indicator-for-stIs there an example of a Dow Jones Industrials percent advancing indicator for StrategyDesk?David Smith2009-10-29T17:16:00Z2010-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#60Answer by David Smith for Is there an example of a Dow Jones Industrials percent advancing indicator for StrategyDesk?David Smith2009-10-29T17:33:32Z2009-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&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] > Bar[Open,D,0,MMM]) +
(Bar[Close,D,0,AA] > Bar[Open,D,0,AA]) +
(Bar[Close,D,0,AXP] > Bar[Open,D,0,AXP]) +
(Bar[Close,D,0,T] > Bar[Open,D,0,T]) +
(Bar[Close,D,0,BAC] > Bar[Open,D,0,BAC]) +
(Bar[Close,D,0,BA] > Bar[Open,D,0,BA]) +
(Bar[Close,D,0,CAT] > Bar[Open,D,0,CAT]) +
(Bar[Close,D,0,CVX] > Bar[Open,D,0,CVX]) +
(Bar[Close,D,0,CSCO] > Bar[Open,D,0,CSCO]) +
(Bar[Close,D,0,DD] > Bar[Open,D,0,DD]) +
(Bar[Close,D,0,XOM] > Bar[Open,D,0,XOM]) +
(Bar[Close,D,0,GE] > Bar[Open,D,0,GE]) +
(Bar[Close,D,0,HPQ] > Bar[Open,D,0,HPQ]) +
(Bar[Close,D,0,INTC] > Bar[Open,D,0,INTC]) +
(Bar[Close,D,0,IBM] > Bar[Open,D,0,IBM]) +
(Bar[Close,D,0,JNJ] > Bar[Open,D,0,JNJ]) +
(Bar[Close,D,0,JPM] > Bar[Open,D,0,JPM]) +
(Bar[Close,D,0,KFT] > Bar[Open,D,0,KFT]) +
(Bar[Close,D,0,MCD] > Bar[Open,D,0,MCD]) +
(Bar[Close,D,0,MRK] > Bar[Open,D,0,MRK]) +
(Bar[Close,D,0,MSFT] > Bar[Open,D,0,MSFT]) +
(Bar[Close,D,0,PFE] > Bar[Open,D,0,PFE]) +
(Bar[Close,D,0,KO] > Bar[Open,D,0,KO]) +
(Bar[Close,D,0,HD] > Bar[Open,D,0,HD]) +
(Bar[Close,D,0,PG] > Bar[Open,D,0,PG]) +
(Bar[Close,D,0,TRV] > Bar[Open,D,0,TRV]) +
(Bar[Close,D,0,UTX] > Bar[Open,D,0,UTX]) +
(Bar[Close,D,0,VZ] > Bar[Open,D,0,VZ]) +
(Bar[Close,D,0,WMT] > Bar[Open,D,0,WMT]) +
(Bar[Close,D,0,DIS] > Bar[Open,D,0,DIS])
)
/ 30) * 100
</code></pre>