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
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?