CazaGaps a tool to identify the number and strength of the GAPS OPENING that have occurred in an index or value.
Basically intended as an analysis tool, applied on an index helps to identify:
Marcagap: in which sessions have produced gaps opening upward or downward,
Gapforce: its amplitude points
Close to Open Dif. The difference in points between closing and opening, regardless of whether there has been no gap or opening.
Balance DC / VA: accumulated balance would get if we bought at the end and we sold on opening of the next session for “s” sessions (default is 20)
(explanation translated from spanish).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
REM CazaGaps por Blai5 REM Julio 2006 //parameters : // s = 20 cero = 0 marcagap = 0 gapforce = 0 if open > close[1] and open > high[1] then marcagap = 1 gapforce = open - close[1] elsif open < close[1] and open < low[1] then marcagap = -1 gapforce = open - close[1] endif ctopen = open - close[1] bal = summation [s](ctopen) rem tamaño factor1 = highest [90] (bal) factor2 = ABS (lowest [90] (bal)) factor = MAX (factor1, factor2)/2 marcagap = marcagap * factor return cero as "cero", marcagap as "MarcaGap", gapforce as "GapForce", ctopen as "Close to Open Dif.", bal as "Balance de CC/VA" |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials