DojiEmoji

Indicator: Gap Finder [KL]

DojiEmoji 已更新   

About gaps:
A gap is a “jump” in a security’s price between the Open and the Prior Close. Gaps are very common in stocks during opening hours, especially when accompanied by catalysts.

What this indicator does:
This script will identify gaps that remained unfilled for at least one candle.

It is very common for gaps to be filled on the first candle, these gaps are arguably less meaningful, so they are ignored by the indicator to reduce the number of lines drawn.

Applications:
Since most gaps eventually get filled, the question is a matter of when. If going with the trend, a trader will open a long/short position when seeing an up/down gap. When going against the trend, then short/long the stock on up/down gaps and consider taking profits when price returns to where the gap originally occurred.

Originally intended for 1D timeframes, but gaps can occur in all timeframes. Applications are limitless.
版本注释:
Set overlay=true
版本注释:
UpdateS:
  • Added adjustable threshold (%) in settings. Gaps with distances below this benchmark will not be plotted.
版本注释:
Refactored, and added alerts.
版本注释:
Removing lines associated with filled gaps, only showing unfilled gaps.
版本注释:
Updated UI for settings.
开源脚本

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

免责声明

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

想在图表上使用此脚本?