Gold Customer
Joined: 3/6/2005 Posts: 110
|
I'd like to run a scan for stocks that are stuck in a trading range with the high 2 points above it's average price and 2 points below it over a 180 day period. So, the total width of the box would be 4 points.
I'm trying to find stocks that I can use for calendar spreads.
Thanks very much. Bb
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
Try creating a custom condition using the following formula:
MAXH180 - AVGC180 <= 2 AND AVGC180 - MINL180 <= 2
|
Gold Customer
Joined: 5/16/2014 Posts: 57
|
The scan below is for an inside bar thats within another inside bar. It's a three bar pattern, so you need to set your time frame to quater. it's a visuall scan nothing fancy just demonstrates longer consolidations
inside inside bar
(l2<L1 and H1<h2) and (L1 <L and H<H1)
or try this:
L1<=L and H<=H1
inside bar on any time frame
|