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.
price channel scans - 21 days
See "price channel scans - 10 days" for an explanation of the code below.
Channel length is 21 days (about one month)
The low or close crosses into the lower 20 % of the 21 day range ("xb" means crosses below):
In a strongly trending stock, a one month low often closely precedes a good entry
// K21 has been above 80 in the last 20 days
and [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]
// check for low xb 20 AND K21 xb 20- strong stocks may not close below 20
and
[
[ 1 day ago min(21, low) + [ [1 day ago max(21, high) - 1 day ago min(21,low)] *.2] x low ]
or
[20 x Fast Stoch %K(21,1) ]
]
***
The close or high crosses into the upper 20 % of the 21 day channel (above Fast K 80)
In a strongly down trending stock this could closely precede a sell or sell short.
// K21 has been below 20 in the last 20 days
and [min(20, Fast Stoch %K(21,1)) < 20]
// K21 has not been above 80 in the last 5 days
and [1 day ago max(5, Fast Stoch %K(21,1)) < 80]
and
[
// high crosses into top 20 % of one month range
[ high x 1 day ago min(21, low) + [ [1 day ago max(21, high) - 1 day ago min(21,low)] *.8] ]
or
// close crosses into top 20 % of one month range
[ Fast Stoch %K(21,1) x 80 ]
]
0