OPEN-SOURCE SCRIPT
已更新 Gap Detector RST

This script detects and visualizes price gaps in the market using customizable settings. It identifies bullish and bearish gaps over a specified lookback period and marks them with clearly defined boxes. Users can adjust the minimum gap percentage threshold and customize colors for better visibility.
版本注释
Added Text Positioning OptionIntroduced input settings to allow users to position text labels within the box.
Users can select horizontal placement: Left, Center, Right.
Users can select vertical placement: Bottom, Center, Top.
Added Text Color Option
Introduced an input setting to allow users to choose the text color for gap labels.
Users can now customize the label text color separately from the background.
This update improves customization and ensures better visual clarity for displayed gap information.
版本注释
-Fix Gap Minimum control版本注释
Fix Graphics Minor Bugs版本注释
- Add number of days- Controls visibility ability
开源脚本
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
免责声明
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
开源脚本
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
免责声明
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.