OPEN-SOURCE SCRIPT
已更新 IS Ghostbusters - Visual Session Levels & Auto-Hedge Logic

Ghostbusters is a visual execution tool designed for traders who operate based on fixed intraday levels and seek disciplined risk management. The script does more than just project entry, stop loss, and take profit levels; it acts as a real-time session monitor, validating executions and automatically managing hedge operations.
+1
Key Features:
Precision "Touch" Detection: Unlike standard indicators that wait for a candle to close, Ghostbusters uses intrabar prices (High/Low) to detect the exact moment price touches a level, ensuring surgical precision for entries and exits.
"One-Shot" Logic: To prevent overtrading, the script validates only the first outcome of the day. Once a TP or SL is hit, the indicator locks until the next configured session.
+1
Automatic Hedge System: If the initial trade hits the Stop Loss, the script automatically activates a violet-colored hedge radar. It calculates a new entry at the failure point, sets the Stop Loss at the original entry price, and calculates a reduced Take Profit (50% of the original range) to seek a quick technical recovery.
+1
Adaptable Professional UI:
Smart Contrast: Labels automatically change color based on your chart background (light or dark) to ensure total readability.
Level Table: Includes a dynamic table in the bottom corner that organizes SELL, BUY, and Hedge values.
Synchronized Infinite Lines: Uses line objects that span the entire chart, maintaining perfect synchronization with the price scale when zooming or scrolling.
How to Use It:
Configure Levels: Manually enter your Entry, SL, and TP levels for both BUY and SELL scenarios.
Session Control: Define your session start time. The script will ignore any prior movement and place a yellow "START" circle on the starting candle.
+1
Execution: Monitor the visual signals:
▲/▼ OPEN: Confirmed Entry.
✔️ TP: Target Reached.
X SL: Stop Loss Hit.
🟣 OPEN HEDGE: Hedge activation after an initial SL.
Technical Notes:
Written in Pine Script v6.
Optimized to keep the chart clean by avoiding unnecessary data points, maintaining a professional aesthetic.
Disclaimer: This script is a visualization and manual trading aid. It does not constitute financial advice or guarantee profits. Use at your own risk.
+1
Key Features:
Precision "Touch" Detection: Unlike standard indicators that wait for a candle to close, Ghostbusters uses intrabar prices (High/Low) to detect the exact moment price touches a level, ensuring surgical precision for entries and exits.
"One-Shot" Logic: To prevent overtrading, the script validates only the first outcome of the day. Once a TP or SL is hit, the indicator locks until the next configured session.
+1
Automatic Hedge System: If the initial trade hits the Stop Loss, the script automatically activates a violet-colored hedge radar. It calculates a new entry at the failure point, sets the Stop Loss at the original entry price, and calculates a reduced Take Profit (50% of the original range) to seek a quick technical recovery.
+1
Adaptable Professional UI:
Smart Contrast: Labels automatically change color based on your chart background (light or dark) to ensure total readability.
Level Table: Includes a dynamic table in the bottom corner that organizes SELL, BUY, and Hedge values.
Synchronized Infinite Lines: Uses line objects that span the entire chart, maintaining perfect synchronization with the price scale when zooming or scrolling.
How to Use It:
Configure Levels: Manually enter your Entry, SL, and TP levels for both BUY and SELL scenarios.
Session Control: Define your session start time. The script will ignore any prior movement and place a yellow "START" circle on the starting candle.
+1
Execution: Monitor the visual signals:
▲/▼ OPEN: Confirmed Entry.
✔️ TP: Target Reached.
X SL: Stop Loss Hit.
🟣 OPEN HEDGE: Hedge activation after an initial SL.
Technical Notes:
Written in Pine Script v6.
Optimized to keep the chart clean by avoiding unnecessary data points, maintaining a professional aesthetic.
Disclaimer: This script is a visualization and manual trading aid. It does not constitute financial advice or guarantee profits. Use at your own risk.
版本注释
changes to the data table , to make it easier to read开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。