- 2.6K All Categories
- 2.1K StockCharts
- 371 SharpCharts
- 115 Other Charting Tools
- 53 Saved Charts and ChartLists
- 1.4K Scanning
- 65 Data Issues
- 152 Other StockCharts Questions
- 194 Technical Analysis
- 142 Using Technical Analysis
- 1 InterMarket and International
- 19 Market and Breadth Indicators
- 32 Market Analysis
- 95 Trading
- 95 Trading Strategies
- 158 S.C.A.N the StockCharts Answer Network forum
- 63 Using this StockCharts Answer Network forum
- 95 s.c.a.n. archives
- 13 Off-Topic
- 9 The Cogitation & Rumination Emporium
- 4 Forum Test Area

New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.

Also, what exactly is the Difference between MACD Line and MACD Signal?

## Comments

and DI- > ADX * 0.95 // DI minus is greater than 5% below the ADX

in other words, DI- is within +/- 5% of ADX

Link below discusses scan clauses for proximity to and for near crosses. The examples and sample clauses are using price, you would just change the price to be the terms you want.

https://support.stockcharts.com/doku.php?id=scans:advanced_scan_syntax:near_crosses

macd 12,26,9. The 12,26 are the moving averages used to form the LINE, 12ema minus 26ema = line value.

The 9 is the moving average of the Line and is known as the SIGNAL. So the Line will lead the signal in both directions. The Histogram is the 12-26 value. If the 12-26 > 0 histogram is positive. If 12-26 is < 0 histogram is negative. macd deals with points or dollar value. So a high priced stock will have a different scale on the macd compared to a low priced stock. So if you scan for macd line > 10 you will get a certain price segment of stocks that can have $10 size of macd. Using PPO instead and PPO line > 10 wil show you securities that are 10% above the zero line so it's more universally able to be applied.

On the stocks page, it only has Hist (Which i know), and MACD (generically). i am assuming that the BLACK line must then be the Line and the RED must be the SIGNAL, based on what you said. It combines the two together to just "MACD."

Have always used Macd, even tho I know the PPO is a bit of an improvement- only because I am looking for specific Patterns that I know happen on Macd, it now appears that the patterns may be Identical, or very similar between the two (I think I had different numbers I was using for each, before) So, maybe I'll start using the PPO, instead, now that I am using matching numbers

i.e. macd or ppo "is between 5 and 10" ... I think you just have to Write it out, with two steps, as in your Above example. Is that true?

Is there a 'Suggestion box" anywhere

X is a cross above. There is no cross below. For cross below you reverse the statement.

close x sma20 for close crossing above sma20.

sma20 x close for sma20 crossing above close

You could also use and close > sma20 and 1 day ago close < 1 day ago sma20 for a cross above. Reverse the > and < for the cross below

Is and Is Not for text type of filter. Group is Industrials. Group is not industrials

max(10,ppo line(?,?,?)) > 0 // the max is the highest the ppo has been in the last 10 days is greater than 0

So the line has been above 0 and below 0 in the last 10 days.

If you want a line that was above before and has moved down in the last day to two or three or.... move the max back a few days and shorten the min period as well.

min(3,ppo line(?,?,?)) < 0 // min is the lowest the ppo has been in the last 3 days is less than 0

2 days ago max(10,ppo line(?,?,?)) > 0 // the max is the highest the ppo has been starting 2 days ago in the last 10 days is greater than 0

The above will allow the PPO to have been above 0 in 10 days starting two days ago. Today is the 25th so it would be looking at the 10 day period ending on the 23rd. And the ppo has been below 0 some point in the last 3 days.

if you need today's ppo to be less than 0 add

and ppo < 0

To answer a prior comment on this thread

"Is there a 'Suggestion box" anywhere"Yes, you can submit a request to StockCharts.com Support. If they can do it they often will. If they can't they won't. There is a thread on this forum about making requests to Support. I'd have to find it to see if "we" got anything out of those.

https://scan.stockcharts.com/discussion/1721/suggestions-to-stockcharts/p1

Yes, it does look like we got some suggestions implemented. So make your suggestions to StockCharts support and copy the request before you submit it, and paste it to the forum thread for others to see and possibly also suggest to StockCharts.com support. The more making similar suggestions, the better the opportunity to see it happen.

[type is stock] and [country is US] and [max(5,CCI(20)) < 0] AND [CCI(20) > 0]

I find it very hard to believe that there are *NO* stocks Where cci has gone positive For the First time in 5 days?? Out of the Whole universe of 5,000+ stocks... i am thinking this Can't possibly be right. What am i doing Wrong here??

and [0 x CCI(20)]

or, instead of looking for the specific day of a crossover, you could specify a range

and [min(10,CCI(20)) < 0] AND [max(5,CCI(20)) > 0]

or something along those lines.

With either approach, set the date back, say, 60 days and come forward, either a day at a time, or five days at time, etc.

But, if you look at a chart of say the SPY, crosses above zero occur only once or twice a month at most. Since most stocks move more or less in tandem with their index, you might cluster your searches around a date when a relevant index or ETF based on an index (XLE, XLB, etc.) crosses over.

and [max(5,CCI(20)) < 0]AND [CCI(20) > 0]and [max(5,CCI(20)) < 0]

You are asking for the Maximum or Highest value of the CCI20, in the last 5 days to be LESS than 0

AND [CCI(20) > 0]

This is the current CCI20, which is also included in the Max5 period to be GREATER than 0.

Asking for CCI20 in the last 5 periods to be less than 0 and the most recent value of the last 5 days to be greater than 0. You will get 0 results.

You'd have to push the Max period back a day or so to get the current period out of that max period.

1 days ago max < 0 and current period >0