Quote from vertigo3:
I've always been curious about the conditions that precede a gap fill.
I took the time to go back over the past 10 years (until 1st quarter of 1998)
Here's what I scanned for :
2 consecutive gap openings. This was simply a comparison of the open of the regular futures session (9:30ET)to the close (4:00pm) of the prvious session.
I took the time to write code for Gap Ups and Gap downs. Separately.
Gap had to be at least 1.25pts(>1.00)
Here's the code I used for the Gap Downs. (remember, this is 2 (two) gaps down, one day after the other. I only looked at the SECOND consecutive gap down.
----------
[LegacyColorValue = true];
{file:strategy: gap001Dn}
vars:gapfill(0),gapone(0),gaptwo(0);
gaptwo=O-c[1];
if currentbar>2 then begin
if c[1]-o>1 and c[2]>o[1] and c[2]>H[1] then value1=1;
gapone= o[1]-c[2];
end;
if value1=1 then begin
If h>=(c[1]-.75) then gapfill=1 else gapfill=0;
value1=0;
value2=1;
end;
If value2=1 then begin
Print(file("c:\101\gap001dn.txt"), date:0:0,",",open:0:2,",",c[1]:0:2,","
,gapone:0:2,",",gaptwo:0:2,",",gapfill:0:0);
value1=0;
value2=0;
end;
----------
I've attached an excel spreadsheet for this shit. Column titles should be sufficient to understand what's going on in the sheet.
Here's the summary of two consecutive gaps down over the past 10 years using S&P e-mini 4:00pm close and 9:30am open.
Also, I should point out that I took the liberty (do to personal experience) to give the ES 3 tics leaway. That means that I consider a gap to be filled if price comes within 3 tics (0.75 points) of the previous day's close.
Overall (just talking about gaps down in this post)
over the past 10 years there have been 36 times that the ES has experienced 2 consecutive gaps down. 25 of those times, the gap on the second day was filled (or within .75 of a fill). 25 out of 36 is 69% of the time. Pretty strong.
In the attached excel sheet I included some of my own studies, for instance , I was curious about the size of the gaps. In other words if you added the two consecutive gaps together (the points lost from the close of yesterday (c[1]) to the open of today, was there a certain size that increased the likelihood of a fill.
This is not something I though about until after I had run the data, but to get a % based level, I added both gaps together and divided byu the previous day's close. WHen the total of two days of down gaps was greater than (well, actually <-2%), the chances for a gap fill (OVERSOLD!!!) WAS GREAT.
There were 11 times in the past 10 years that the 2 day's worth of gaps represented a loss of 2%, and 10 of those 11 saw the gap fill. 10/11 is 91% of the time.
It's all in the spreadsheet.
If I feel like it, I might analyze the Gaps Up tomorrow (This is a holiday afterall)
DATE2nd in the first column of the spreadsheet is the date of the 2nd gap down. format is a little funky because it is TradeStation, 1070305 is 107-03-05 where: 107=2007, 03=March,05=5th day (of March)