Scan - ADX index and and DI+ > DI-
Comments
-
Seems pretty straightforward. If you like, you could post what you have and we can tweak it if necessary.0
-
// EXCHANGE
[[exchange is NYSE] or [exchange is LSE] or [group is ETF]]
// GROUP
AND [group is not Sp600]
AND [group is not Sp400]
AND [country is not canada]
AND [group is NOT TSE300]
// COUNTRY
and [country is not Canada]
// STARTS/ENDS/CONTAINS
and [market cap > 1000]
AND [Daily SMA(20,Daily Volume) > 40000]
AND [close > 3]
and [today's adx line(14) < 20]
and [5 days ago adx line(14) < 20]
and [1 days ago adx line(14) > 5 days ago adx line(14)]
I then got stuck !0 -
//The Scan is triggered when
//DI+ > DI-
// you can select this from the "Technical Indicators" drop down - Plus DI under ADX Line
and [Plus DI(14) > Minus DI(14)]
// the (14 period) ADX is (i) below the "20" line
and [today's adx line(14) < 20] // correct as you wrote it
//(ii) the ADX moves 4 points above its 22 day low
// these lines are ok, but don't get the 22 day low or the 4 points so I commented them out
//and [5 days ago adx line(14) < 20]
//and [1 days ago adx line(14) > 5 days ago adx line(14)]
and [ADX Line(14) x min(22, ADX Line(14)) + 4]
// end scan
The "x" operator means "cross above". Use the min(x, ...) function to get the lowest value in some period. Max(x, ... ) gets the highest value. The x is any number, the ... is usually some indicator or it could be a price.0 -
Thank you.
Much appreciated
0 -
Hi Markd
thank you for the above,
I have tweaked it for the bear case ... I think the below is correct but welcome your take.
Thank you
[[exchange is NYSE] or [exchange is LSE] or [group is ETF]]
// GROUP
AND [group is not Sp600]
AND [group is not Sp400]
AND [country is not canada]
AND [group is NOT TSE300]
// COUNTRY
and [country is not Canada]
// STARTS/ENDS/CONTAINS
and [market cap > 1000]
AND [Daily SMA(20,Daily Volume) > 40000]
AND [close > 3]
and [Plus DI(14) < Minus DI(14)]
and [ADX Line(14) > 20.0]
and [ADX Line(14) x max(22, ADX Line(14)) + 4]0 -
Sorry - an edit to the above
[[exchange is NYSE] or [exchange is LSE] or [group is ETF]]
// GROUP
AND [group is not Sp600]
AND [group is not Sp400]
AND [country is not canada]
AND [group is NOT TSE300]
// COUNTRY
and [country is not Canada]
// STARTS/ENDS/CONTAINS
and [market cap > 1000]
AND [Daily SMA(20,Daily Volume) > 40000]
AND [close > 3]
and [Plus DI(14) < Minus DI(14)]
and [ADX Line(14) < 20.0]
and [ADX Line(14) x min(22, ADX Line(14)) + 4]
0 -
So the only change is from Plus > Minus to Plus < Minus.
I think that's right. I don't know if you've found the optimal settings, but the scan is correct.
I ran it and it picks up mostly situations where price is in a down leg.
0 -
Thank you markd
0
Categories
- All Categories
- 2.4K StockCharts
- 397 SharpCharts
- 146 Other Charting Tools
- 69 Saved Charts and ChartLists
- 1.5K Scanning
- 74 Data Issues
- 177 Other StockCharts Questions
- 224 Technical Analysis
- 155 Using Technical Analysis
- 6 InterMarket and International
- 19 Market and Breadth Indicators
- 44 Market Analysis
- 109 Trading
- 109 Trading Strategies
- 162 S.C.A.N the StockCharts Answer Network forum
- 64 Using this StockCharts Answer Network forum
- 98 s.c.a.n. archives
- 7 Off-Topic
- 7 The Cogitation & Rumination Emporium
- Forum Test Area
