Forums ProRealTime English forum General trading discussions Indicator to show unclosed gaps Reply To: Indicator to show unclosed gaps

#20804

Thanks for the feedback 😉

Indicator to find open gaps:

dx = 0.0001gap = 0
IF Low > High[1] +dx Then
gap = 1
IF High <Low[1]+dx then
gap = -1
return gap AS “opengaps”

 

I searched the screener library but I only found screeners that search open gaps, but no tests were made to see if the gap was closed.

What is the condition for a closed upgap? UPgab between candle A und B. Check if a future candle has a low <high[A]?