Short strategy
Hello,
I had a good success with my Swing long strategy and was tinkering with short setup. The requirements are as below:
Short
Close < 24 day Ema.
Close crosses down MA(high, 10) from up.
RSI 4 < 50.
Macd 3,12 histogram current period less than previous period .
Adx 5 > 35
What I am struggling with is the MACD Histogram settings. What I have written so far is below
// set stock universe
[Country is US]
and
[type = stock] AND [group is not ETF] and [name not contains "Trust"] and [name not contains "Notes Due"] and [name not contains "Shares"] and [name not contains "Fund"]
and
[ TODAY CLOSE < EMA (24, CLOSE)] AND
[ TODAY CLOSE x SMA(10, HIGH)] AND
[RSI(4) < 50] AND
[MACD Hist(12,3) < 1 day ago MACD Hist(12,3)] AND
[ADX Line(5) > 35.0]
AND [SCTR > 70]
RANK BY SCTR
Is this correct? specifically for the MACD HISTOGRAM piece?
I had a good success with my Swing long strategy and was tinkering with short setup. The requirements are as below:
Short
Close < 24 day Ema.
Close crosses down MA(high, 10) from up.
RSI 4 < 50.
Macd 3,12 histogram current period less than previous period .
Adx 5 > 35
What I am struggling with is the MACD Histogram settings. What I have written so far is below
// set stock universe
[Country is US]
and
[type = stock] AND [group is not ETF] and [name not contains "Trust"] and [name not contains "Notes Due"] and [name not contains "Shares"] and [name not contains "Fund"]
and
[ TODAY CLOSE < EMA (24, CLOSE)] AND
[ TODAY CLOSE x SMA(10, HIGH)] AND
[RSI(4) < 50] AND
[MACD Hist(12,3) < 1 day ago MACD Hist(12,3)] AND
[ADX Line(5) > 35.0]
AND [SCTR > 70]
RANK BY SCTR
Is this correct? specifically for the MACD HISTOGRAM piece?
0
Comments
-
Also the crossover of TODAY CLOSE x SMA(10, HIGH is slightly confusing since I want to scan for stocks whose price is falling from SMA (10, HIGH) and not the other way around where it is catching rising price crossover. I hope I am able to explain.0
-
ok, I reversed this part and now indicates the falling price instead or rising, but still not getting any results with all the conditions in place.
[ SMA(10, HIGH) x TODAY CLOSE ] AND0 -
Although the scan passes syntax, MACD Hist usually takes 3 parameters. The default is 12,26,9. So for instance
and [MACD Hist(12,26,9) < 1 day ago MACD Hist(12,26,9)]
Apparently, you are using different parameters, which is OK. But if you use only 2, the scan engine probably assumes 12 is the first EMA, 3 is the second EMA, and the third parameter is 0 for the Signal line (the ema of the difference of the first two emas), so there wouldn't be a Signal line. If there is no Signal line, there is no difference between Line and Signal, so no Hist, so Hist would never be less than 1 day ago Hist.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
