This script plots gaps between candles.
It uses the "round_to_mintick" feature in the Pinescript code, so it works on any instrument out to 3 decimal places.
If there is a Gap Up (open of current candle is greater than the close of previous candle) it will plot a green arrow under the current candle and plot a label above the current candle to show the Gap Amount.
If there is a Gap Down (open of current candle is less than the close of previous candle) it will plot a red arrow over the current candle and plot a label below the current candle to show the Gap Amount.
You can turn the label and/or the arrow on and off.

I created this indicator to more easily identify gaps in the market. The probability of a gap being filled is extremely high. Some are right away (intraday candle to candle), some take a while (gap from previous day close to current day open), and some make take a long time (close at end of previous week to open at beginning of current week).

This is published free to use and open source code.

Please see my other similar Gap Indicators.

Daily Gap Range



USA Session - Previous Day Close Gap to Current Day Open



ALL indicators, strategies and bots are included with Discord access.
www.NorthStarDayTrading.com/discord
www.youtube.com/shorts/fWFQE7uEHvU
Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?