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.
strength, consolodation, new leg higher
looking for the correct scan that can identify a stock that has risen x percentage, for x amt of days, and then has a pullback (w lower volitility, if possible) for x amt of days. Basically, a stock that is showing recent strength, pulling back (consolodating) for a possible leg higher.
Thanks
0
Comments
Before you can write the scan, you have to determine which indicator, or combination of indicators capture the pattern. That involves looking at a lot of charts. So you have to decide what per cent advance, what time time period, and what per cent drawback works for you.
Stochastics show where prices are /have been as a per cent of the range over a period of time you select. So that might be a good start.
[group is sp600]
// get first close or low into the bottom 20 per cent of the last 20 days' range
// avoid second or third crosses
// K21 has been above 80 in the last 20 days
and [1 day ago max(20, Fast Stoch %K(21,1)) > 80]
// K21 has not been below 20 in the last 5 days
and [1 day ago min(5, Fast Stoch %K(21,1)) > 20]
and
[
// check for K21 xb 20
[20 x Fast Stoch %K(21,1) ]
or
// or low xb 20 instead of K21 xb 20- strong stocks may not close xb 20
[ 1 day ago min(21, low) + [ [1 day ago max(21, high) - 1 day ago min(21,low)] *.2] x low ]
]
You could add a test for rising longer term MA - today's MA > 20 days ago MA, and maybe test for close above the MA. That would get things already in an up trend.
“that has risen x percentage, for x amt of days,”
Possibly, price is over a [10] day moving average Maybe the Countup countdown feature, for several days in a row…
volatility?
You could perhaps use the Chaikin Oscillator, perhaps, as an example
The Width, of the Donchian Channel, will display the volatility of Individual stocks..