OPEN-SOURCE SCRIPT

FBD Reclaim Tool v52

415
FBD Reclaim Tool v52 - Advanced Time-Based Level Trading Engine for Failed Breakdown
Overview
The FBD Reclaim Tool v52 is a specialized, dual-core state machine designed for structural level trading. Built for traders who are tired of getting chopped up by "fakeouts" and liquidity sweeps, this tool abandons simple price-cross alerts. Instead, it relies on Time-Based Reclaim Logic—requiring the market to prove acceptance of a level over a physical duration of time before triggering an entry.

Whether you trade Futures, Indices, or Commodities, this script evaluates market structure in real-time, calculates dynamic structural targets, and routes beautifully formatted webhook payloads to Discord or your automated broker bridge.

Core Trading Concept: The "Flush, Base, Direction" (FBD)
Most indicators buy the exact touch of a support level, often catching a falling knife. This engine waits for the trap to be sprung:

The Sweep/Flush: Price must drop below a defined Major Support by a specified depth (Flush Depth). The system then "arms" the setup.

The Reclaim: Price must climb back above the level.

Time Acceptance & Dip Buffer: Price must hold above the level for a user-defined duration (e.g., 150 seconds). To account for market noise, the engine includes a Dip Reset Buffer: if price dips back under the level, the timer doesn't reset instantly unless it stays submerged beyond your defined grace period.

Execution: Once time acceptance is confirmed, the trade triggers.

Key Features

⏱️ True Time-Based Execution: Uses lower-timeframe (1S) data arrays to track exact physical seconds spent above/below a level. Includes a dynamic on-chart tracker (⏳) showing live countdowns and reclaim velocity.

📝 Natural Language Level Parser: Paste your daily levels straight from your notes! The "Mancini NL Format" automatically parses strings like 7205 (major), 7213—extracting numbers and assigning them as Major Support/Resistance or Minor zones based on your text tags. Standard CSV input is also supported.

🎯 Structural TP & SL Routing: Forget fixed point targets. The engine dynamically scans the array of levels you inputted and sets your Take Profit or Stop Loss at the next logical major structural level. (Fallback fixed points are used if no level is nearby).

🎛️ Chart Declutter Mode (New in v52): An added toggle to hide TP, SL, and Target Hit/Stopped Out labels. Keep your charts pristine, viewing only the entry triggers and level lines, while the script silently runs the management logic in the background.

📊 Tactical Dual-HUD: * Session HUD (Top Right): Calculates a dynamic "Session Rating" (A+, B, F) based on time-of-day edges and Sunday gap logic, tracks Daily TR vs. ATR, and counts "M1 Red Days" to gauge trend exhaustion.

Trade HUD (Bottom Right): Real-time table displaying your current Entry, SL, TP, Risk (pts), R/R Ratio, and the Reclaim Velocity.

🌊 Higher Timeframe Trend Filter: Uses an HTF Moving Average to filter trades. Counter-trend setups aren't entirely blocked but are visibly tagged as ⚠️ LQ (Low Quality) so you can manage your risk accordingly.

🤖 Built-in Discord / Webhook Alerts: Formats clean, data-rich JSON payloads detailing the Trade ID, execution time, R/R, Entry, and exact risk metrics, ready to be sent to your Discord channel.

How to Use:

Select your Input Mode (Mancini NL or CSV).

Input your daily Supports and Resistances.

Configure your Flush Depth, Acceptance Time, and Dip Buffer based on the volatility of your chosen asset.

Set up a TradingView Alert with the condition Any alert() function call to route the script's internal execution logs directly to your webhook.

Disclaimer: This script is for educational and informational purposes only. Trading futures, options, and equities carries significant risk. Always forward-test indicator logic in a paper trading environment before risking live capital.

Wyłączenie odpowiedzialności

Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.