INVITE-ONLY SCRIPT

StockRadar - Gap Trading System

12
StockRadar – Gap Trading System

StockRadar – Gap Trading System is a visual gap-detection and gap-trading helper for TradingView. It identifies significant price gaps, tracks how they evolve over time (unfilled, partially filled, fully closed, or time-limited), and simulates a structured gap-fill trade plan with configurable entry, stop-loss and take-profit logic. The goal is to help you spot high-quality gap opportunities faster and review historical performance directly on the chart.

What it does
  • Detects relevant gaps based on a minimum deviation threshold and plots them as clear, color-coded gap boxes.
  • Monitors each gap’s lifecycle and marks whether it stays open, gets partially filled, fully closed, or is closed by a time limit (optional).
  • Simulates a trade setup per gap using:
  • a configurable Trade Entry Trigger
  • a configurable Risk/Reward ratio
  • a configurable Take-Profit at Gap Close (%)
  • Visualizes the setup and outcome with entry/exit markers, SL/TP levels, and profit/loss labels.


Key features
Gap Visualization
  • Color-coded boxes for open / partial / fully closed / time-limited gaps
  • Optional remaining gap size (%) display
  • Adjustable border and fill transparency
  • Pre-entry vs active-trade shading inside the gap box for better readability

Trade Simulation & Chart Markings
  • Trade Entry Trigger:
  • Candle Close (more conservative)
  • Wick Touch (more aggressive)
  • Stop-Loss & Take-Profit lines drawn for all relevant gaps (not only the newest ones)
  • Optional “SL” / “TP” labels on the lines (menu toggle)
  • Entry vertical line inside the gap box to show where the trade became active
  • Trade result labels including profit/loss in % for completed trades

High-Probability Alerts (⚡)
  • Discrete ⚡ icon displayed inside the top-left corner of the gap box for high-probability setups (toggleable)
  • Uses historical performance context (win rate / break-even logic) to support more selective alerts

Dashboard (On-Chart Panel)
  • Clear PROFITABLE / NOT PROFITABLE / INSUFFICIENT DATA status based on win rate vs break-even and sample size
  • Shows key stats and (optional) trend speed analysis
  • “Data since” field to display the earliest evaluated gap date for transparency

Position Sizing Calculator (Optional)
  • Toggleable Position Sizing section
  • Input your available capital and risk % per trade
  • Calculates suggested share quantity (rounded down) for the latest high-probability setup
  • Displays entry price, position value, currency, and highlights when capital is insufficient

Who it’s for
  • This indicator is designed for traders who work with gap-fill behavior and want:
  • fast and consistent gap identification,
  • structured trade levels (entry/SL/TP),
  • clean historical review of outcomes,
  • and an at-a-glance dashboard summary without leaving the chart.


Notes / Disclaimer
This script is a charting and analysis tool, not financial advice. Always validate signals with your own risk management and market context. Past performance statistics are informational and do not guarantee future results.

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.