OPEN-SOURCE SCRIPT
Mis à jour 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.
Notes de version
changes to the data table , to make it easier to readScript open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.