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.
Trying to figure-out how to Search for Minus DI Within +/- of the Adx Sig. Is this possible? Not Sure.
Also, what exactly is the Difference between MACD Line and MACD Signal?
0
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]
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
Thanks @markd and @lmkwin
Okay, so I'm trying to make a Scan that most approximates this pattern: 200 day descending by a certain percent/gradient, macd Was above 0.50 recently, but now is Just under zero within a few days, not necessarily today though. The price And/Or the short term moving average was parallel to the 200 day for a short period of time. Trying whenever possible to not using exact price so as to capture more stock hits. So essentially the price/m.a. pattern and the macd (or ppo). It's only two things, but my scans are not getting any hits; maybe i'm using too many variables? Is this do-able?
What chart is that one? My BWEN chart looks nothing like that.
Parrallel is going to be an issue, if you consider that the different length MA's, or Price vs MA move at different pace or stride. You could look at the PctDiff between the two at different points along your "short period of time" interval. The X days ago PctDiff is +/- Y% at the beginning of the short period of time X days ago. It is the same +/- at the middle of the short period of time Z days ago. Z is less than X. It is also +/- the same at the end of the short period of time.
The MACD should be 'simple' but you would need to pick your levels
//MACD line was above 0.5 recently and just under 0 within a few days.
and [max(10,MACD Line(14,17,9)) > 0.50]
and [min(3,MACD Line(14,17,9)) < 0]
// MACD Line is greater or equal to the below zero value.
//If it needs to be lower than the min then reverse > to <
and [MACD Line(14,19,9) >= min(3,MACD Line(14,17,9))]
Keep the Party Going...!
If we have a government that has zero dollars that Overspends 10 trillion dollars every four years somebody explain this to me what is the utility of this