ZigoParticipant
Master
I want to know more about “GAPS”.
Today I have used a 11 tics graph on the DJ, to evaluate one of my own indicators. Instead of evaluating the Indicator I saw a gap(down) at 15u54:54 (price 28590.59). At about 16u00, there were several tries to close the gap, but gapclosing failed.
About 2 hours later, the gap has been closed at 17u37:17 . The lowest low in between (opening the gap and closing the gap) was 28484, more than 100 pips.
There was a gap in the opposite direction (gap up) at 28520 points at 17u04:42, the gap is stil open. If the gap will be close, it would be at this moment about 90 pips.
ZigoParticipant
Master
There was a gap into between. (see attachement)
I can’t understand where you are getting, to use one example … the gap up at 28520 points at 17u04:42 being 90 points?
Wouldn’t 28520 + 90 = 28610? Whereas the gap looks more like 28520 + 0.9 ish??
It’s probably me not thinking straight as I am suddenly feeling very tired!? 🙂
ZigoParticipant
Master
Its only my opinion, but I think that everyone knows what a gap is? What I want to say, with the examples, is that the distance between the gap and the Highest high or the lowest low, can be as much as 100 points, before closing the gap. Only on this small TF.
Long running gaps is not meaning long in time, but long in number of candles in the same TF. Most of the gaps are closed whitin a few minutes. The ambition is, to recognize gaps depending on a particular timeframe for only one instrument at your choise. A kind of screening on time.
I know for example that runaway gaps need more candles than small gaps, to close the gap. I know also that there is a correlation between TF and frequency of gaps. A TF of 11 tics can give up to 50gaps a day, wheras a TF of 30min give rarely a gap a day. Therfore all expierces. Depending on the TF one can scalp or trade longtime frames.
ZigoParticipant
Master
Therefore all experiences are welcome.
the distance between the gap and the Highest high or the lowest low, can be as much as 100 points
Ah gotcha … I understand now … my long sleep did me good and also your explanation above! 🙂
ZigoParticipant
Master
//Gaps
c1= low[1]> high[2]
c2= high[1] < low[2]
if c1 then
DRAWTEXT("Gapup", barindex[2], high +AverageTrueRange[14](close))coloured(255,255,255,255)
elsif c2 then
DRAWTEXT("GapDn", barindex[2], low-AverageTrueRange[14](close))coloured(255,255,0,255)
endif
return gapup, gapdn
The code for gapsearching is perhaps not ideal, and is shown as an indicator,but could be the beginning of a screener for gapSearching at a particular timeframe, but I don’t know how to begin.Maybe it should be in another forum?
ZigoParticipant
Master
Except one gap down (7u07:12), they are all closed.
I ‘l triing to have a code(alert), at the moment the gaps will be closed.
ZigoParticipant
Master
//Gaps
c1= low[1]> high[2]
c2= high[1] < low[2]
if c1 then
DRAWTEXT("Gapup", barindex[1], high +AverageTrueRange[14](close))coloured(255,255,255,255)
elsif c2 then
DRAWTEXT("GapDn", barindex[1], low-AverageTrueRange[14](close))coloured(255,255,0,255)
endif
return c1 as"Gapup",c2 as"gapDown"
ZigoParticipant
Master
//Gaps
c1= low[1]> high[2]
c2= high[1] < low[2]
if c1 then
DRAWTEXT("Gapup", barindex[1], high +AverageTrueRange[14](close),dialog,standard, 12)coloured(255,255,255,255)
elsif c2 then
DRAWTEXT("GapDn", barindex[1], low-AverageTrueRange[14](close),dialog,standard, 12)coloured(255,255,0,255)
endif
return
In fact, Line 10, need only the text at line 5 and at line7
ZigoParticipant
Master
I have wrote a code for “GapSerching” see at my topics and maybe later in the library. So far so good. In the attachement you can see an example of a gapup (green text and green lines) and a gapdn(yellow text and lines).
Will it be possible to code only the lines from gaps, who are not jet closed after, let say 10 candles or more.(most of the gaps are closed whitin a few candles).
An open gap, has to be closed in the same TF (also TickF and VolumeF).
ZigoParticipant
Master
In the attachements, a very fast TF (8 ticks), that take more than 5 minutes to close.
There are several gaps up, but closed whitin a few candles, except the one in the green cirkel is open. The gap, close about 6 minutes later as you can see in the attachements.
ZigoParticipant
Master
Last GapDn TF(week) closed last week.