{ "version": "8.0", "sections": [ { "id": "telegram", "title": "Telegram & Alerts", "summary": "Connect your private Telegram bot and control how and when alerts are delivered.", "fields": [ { "key": "TELEGRAM_BOT_TOKEN", "label": "Telegram Bot Token", "type": "secret", "default": "", "help": "The token from @BotFather, e.g. 123456:ABC-DEF... Stored on your private disk. Required for any Telegram delivery." }, { "key": "TELEGRAM_CHAT_ID", "label": "Telegram Chat I.D", "type": "secret", "default": "", "help": "The numeric chat the bot sends to. Message your bot, then read it from the bot getUpdates endpoint. Can be your user id or a group id (often negative)." }, { "key": "TELEGRAM_API_BASE", "label": "Telegram API Base URL", "type": "text", "default": "https://api.telegram.org", "help": "Hugging Face blocks direct traffic to api.telegram.org, so alerts silently fail. Paste the URL of your free reverse proxy here (e.g. https://your-worker.deno.dev) and all alerts route through it. Leave as the default only if your host can reach Telegram directly. No trailing slash. See the Telegram setup guide for the 5-minute Deno worker." }, { "key": "BROWSER_ALERT_SOUND", "label": "Browser Alert Sound", "type": "toggle", "default": true, "help": "Play a short notification chime in the browser whenever any alert fires. The sound is cached to the persistent disk." }, { "key": "ALERT_COOLDOWN_SECONDS", "label": "Alert Cooldown", "type": "int", "unit": "seconds", "default": 900, "help": "Minimum gap between repeat alerts for the same pair and stage, to avoid spam.", "presets": [ { "label": "5 minutes", "value": 300 }, { "label": "15 minutes (default)", "value": 900 }, { "label": "30 minutes", "value": 1800 }, { "label": "1 hour", "value": 3600 } ] }, { "key": "ALERT_ON_EXIT", "label": "Telegram Exit Alert", "type": "toggle", "default": true, "help": "Send one Telegram message when a live trade's verdict reaches “Setup Broken — Exit Now” or “Reversal Confirmed — Close The Trade”. Latched so it never spams. The SL/TP/Break-even lifecycle still closes trades — this is advisory." }, { "key": "WEEKLY_ALERT_ENABLED", "label": "Weekly Summary", "type": "toggle", "default": true, "help": "Send a once-a-week performance digest to Telegram (top Stage 5 symbols, cycles, invalidations)." }, { "key": "WEEKLY_ALERT_WEEKDAY_UTC", "label": "Weekly Summary Day", "type": "select", "default": 0, "help": "Day of week (UTC) the weekly summary is sent.", "presets": [ { "label": "Monday", "value": 0 }, { "label": "Tuesday", "value": 1 }, { "label": "Wednesday", "value": 2 }, { "label": "Thursday", "value": 3 }, { "label": "Friday", "value": 4 }, { "label": "Saturday", "value": 5 }, { "label": "Sunday", "value": 6 } ] }, { "key": "WEEKLY_ALERT_HOUR_UTC", "label": "Weekly Summary Hour", "type": "int", "unit": "hour (UTC)", "default": 8, "help": "Hour of day (0-23, UTC) for the weekly summary.", "presets": [ { "label": "00:00 UTC", "value": 0 }, { "label": "08:00 UTC (default)", "value": 8 }, { "label": "12:00 UTC", "value": 12 }, { "label": "20:00 UTC", "value": 20 } ] } ] }, { "id": "scanner", "title": "Scanner Engine & Universe", "summary": "Master switch for the market scanner plus how the symbol universe is sized and filtered.", "fields": [ { "key": "SCANNER_ENABLED", "label": "Scanner Engine", "type": "toggle", "default": true, "help": "Master switch for the market scanner. When ON, the engine rotates through the symbol universe each cycle detecting setups. OFF pauses all scanning. On by default." }, { "key": "SCAN_INTERVAL_SECONDS", "label": "Scan Interval", "type": "int", "unit": "seconds", "default": 30, "help": "Pause between full scan cycles. Lower = fresher data, more bandwidth.", "presets": [ { "label": "15 seconds (fast)", "value": 15 }, { "label": "30 seconds (default)", "value": 30 }, { "label": "60 seconds (gentle)", "value": 60 } ] }, { "key": "SYMBOL_REFRESH_MINUTES", "label": "Universe Refresh", "type": "int", "unit": "minutes", "default": 60, "help": "How often the tradable-symbol list and 24h turnover ranking are rebuilt.", "presets": [ { "label": "30 minutes", "value": 30 }, { "label": "60 minutes (default)", "value": 60 }, { "label": "120 minutes", "value": 120 } ] }, { "key": "SCAN_SHARDS", "label": "Scan Shards", "type": "int", "unit": "shards", "default": 8, "help": "The universe is split into this many shards; one shard is swept per cycle (active-stage pairs are always re-checked).", "presets": [ { "label": "4 (heavier cycles)", "value": 4 }, { "label": "8 (default)", "value": 8 }, { "label": "16 (lighter cycles)", "value": 16 } ] }, { "key": "REQUEST_TIMEOUT_SECONDS", "label": "Request Timeout", "type": "int", "unit": "seconds", "default": 12, "help": "Network timeout per exchange/Telegram request.", "presets": [ { "label": "8 seconds", "value": 8 }, { "label": "12 seconds (default)", "value": 12 }, { "label": "20 seconds", "value": 20 } ] }, { "key": "REQUEST_CONCURRENCY", "label": "Request Concurrency", "type": "int", "unit": "parallel", "default": 20, "help": "How many exchange requests run in parallel. Higher = faster scans but more load.", "presets": [ { "label": "10 (gentle)", "value": 10 }, { "label": "20 (default)", "value": 20 }, { "label": "40 (aggressive)", "value": 40 } ] }, { "key": "MAX_BARS_PER_SYMBOL", "label": "Candles Per Symbol", "type": "int", "unit": "candles", "default": 500, "help": "Size of the rolling 15m window loaded per pair. Larger keeps long-lived Stage 3/4 anchors visible on charts.", "presets": [ { "label": "300 (~3 days)", "value": 300 }, { "label": "500 (~5 days, default)", "value": 500 }, { "label": "750 (~8 days)", "value": 750 } ] }, { "key": "UNIVERSE_TOP_N", "label": "Top Pairs By Turnover", "type": "int", "unit": "pairs", "default": 0, "help": "Keep only the N highest-turnover perps so majors lead the scan. 0 = scan every eligible pair.", "presets": [ { "label": "All pairs (default)", "value": 0 }, { "label": "Top 100", "value": 100 }, { "label": "Top 200", "value": 200 }, { "label": "Top 400", "value": 400 } ] }, { "key": "UNIVERSE_MIN_TURNOVER", "label": "Minimum 24h Turnover", "type": "float", "unit": "USDT", "default": 0, "help": "Drop any pair whose 24h quote turnover is below this. 0 = no minimum.", "presets": [ { "label": "No minimum (default)", "value": 0 }, { "label": "1M USDT", "value": 1000000 }, { "label": "10M USDT", "value": 10000000 } ] }, { "key": "MEXC_MAX_FUTURES_SYMBOLS", "label": "Hard Symbol Cap", "type": "int", "unit": "pairs", "default": 0, "help": "Absolute cap on the scan list after ranking. 0 = no cap.", "presets": [ { "label": "No cap (default)", "value": 0 }, { "label": "150", "value": 150 }, { "label": "300", "value": 300 } ] }, { "key": "UNIVERSE_EXCLUDE_CONTAINS", "label": "Exclude Names Containing", "type": "text", "default": "STOCK", "help": "Comma-separated substrings; any symbol containing one is excluded (catches the whole tokenized-equity family in one rule)." }, { "key": "REQUIRE_API_TRADABLE", "label": "Futures-Tradable Only", "type": "toggle", "default": true, "help": "Only scan pairs MEXC marks as API/futures-tradable. Off includes spot-only contracts that show under futures but cannot be traded." }, { "key": "EXCLUDE_TOKENIZED_STOCKS", "label": "Exclude Tokenized Stocks/Commodities", "type": "toggle", "default": true, "help": "Drop tokenized equities & commodities (gold, *STOCK, SOXL...) by exchange type flag — more robust than the name-substring rule. Off includes them." } ] }, { "id": "detection", "title": "Strategy · Detection (Impulse, FVG & Timing)", "summary": "Stage 0-3 SMC detection: impulse + FVG quality, retracement, and zone TTL / staleness.", "fields": [ { "key": "MIN_IMPULSE_BODY_MULT", "label": "Min Impulse Body Strength", "type": "float", "unit": "x ATR", "default": 1.45, "help": "Minimum body size (vs ATR) for a candle to count toward an impulse. Higher = only stronger displacement qualifies.", "presets": [ { "label": "1.20 (loose)", "value": 1.2 }, { "label": "1.45 (default)", "value": 1.45 }, { "label": "1.80 (strict)", "value": 1.8 } ] }, { "key": "MIN_IMPULSE_RANGE_MULT", "label": "Min Impulse Range Strength", "type": "float", "unit": "x ATR", "default": 1.95, "help": "Minimum total range (vs ATR) of the impulse leg.", "presets": [ { "label": "1.60 (loose)", "value": 1.6 }, { "label": "1.95 (default)", "value": 1.95 }, { "label": "2.40 (strict)", "value": 2.4 } ] }, { "key": "MIN_IMPULSE_CANDLES", "label": "Min Impulse Candles", "type": "int", "unit": "candles", "default": 3, "help": "Fewest consecutive same-direction candles that form a valid impulse.", "presets": [ { "label": "2", "value": 2 }, { "label": "3 (default)", "value": 3 }, { "label": "4", "value": 4 } ] }, { "key": "FVG_PRISTINE_STRICT", "label": "Strict Pristine FVG", "type": "toggle", "default": true, "help": "Require the fair-value gap to stay completely untouched until the Stage 2 sweep completes. Off relaxes the rule and lets more (lower-quality) setups through." }, { "key": "MIN_STAGE1_INDUCEMENTS", "label": "Min Stage 1 Inducements", "type": "int", "unit": "pools", "default": 2, "help": "Minimum liquidity pools that must exist for Stage 1 to lock.", "presets": [ { "label": "2 (default)", "value": 2 }, { "label": "3", "value": 3 } ] }, { "key": "MAX_CANDIDATE_ZONES", "label": "Candidate Zones Scanned", "type": "int", "unit": "zones", "default": 6, "help": "When a pair has no active zone, evaluate up to this many recent gaps and adopt the one already valid at the most advanced stage. This is what auto-sorts a fresh pair straight into Stage 2/3/4.", "presets": [ { "label": "4", "value": 4 }, { "label": "6 (default)", "value": 6 }, { "label": "10 (thorough)", "value": 10 } ] }, { "key": "IMPULSE_MIN_DIR_BODY_RATIO", "label": "Impulse Cleanliness", "type": "float", "unit": "ratio", "default": 0.68, "help": "Share of the impulse leg's total body that must be in the trade direction. Lower = accept messier impulses (more inflow); higher = only clean one-way moves.", "presets": [ { "label": "0.55 (loose)", "value": 0.55 }, { "label": "0.68 (default)", "value": 0.68 }, { "label": "0.80 (strict)", "value": 0.8 } ] }, { "key": "IMPULSE_MIN_CONSEC_DISPLACEMENT", "label": "Min Consecutive Displacement", "type": "int", "unit": "candles", "default": 3, "help": "Longest run of same-direction candles the impulse must contain. Lower = more impulses qualify (more inflow).", "presets": [ { "label": "2 (loose)", "value": 2 }, { "label": "3 (default)", "value": 3 }, { "label": "4 (strict)", "value": 4 } ] }, { "key": "RETRACEMENT_MIN_FVG_GAP_ATR", "label": "Min Liquidity↔FVG Gap", "type": "float", "unit": "x ATR", "default": 0.2, "help": "Required clean gap between the first-liquidity line and the FVG edge. Lower = more Stage-1 locks qualify (more inflow).", "presets": [ { "label": "0.10 (loose)", "value": 0.1 }, { "label": "0.20 (default)", "value": 0.2 }, { "label": "0.35 (strict)", "value": 0.35 } ] }, { "key": "RETRACEMENT_FVG_CLEARANCE_ATR", "label": "FVG Clearance Buffer", "type": "float", "unit": "x ATR", "default": 0.12, "help": "Extra clearance the retracement must leave around the FVG. Lower = looser detection (more inflow).", "presets": [ { "label": "0.06 (loose)", "value": 0.06 }, { "label": "0.12 (default)", "value": 0.12 }, { "label": "0.20 (strict)", "value": 0.2 } ] }, { "key": "ZONE_TTL_SECONDS", "label": "Stage 1 & 2 Lifetime", "type": "int", "unit": "seconds", "default": 86400, "help": "How long a forming Stage 1/2 setup is kept before it expires unused. Default is 24 hours.", "presets": [ { "label": "12 hours", "value": 43200 }, { "label": "24 hours (default)", "value": 86400 }, { "label": "48 hours", "value": 172800 } ] }, { "key": "MAX_ZONE_AGE_CANDLES", "label": "Stage 1 & 2 Max Age", "type": "int", "unit": "candles", "default": 96, "help": "Hard age ceiling in 15m candles for a forming setup (96 = 24 hours).", "presets": [ { "label": "48 (12h)", "value": 48 }, { "label": "96 (24h, default)", "value": 96 }, { "label": "192 (48h)", "value": 192 } ] }, { "key": "FORMING_EVICTION_ENABLED", "label": "Evict Stale Forming Setups", "type": "toggle", "default": true, "help": "Free a symbol's slot when a Stage 1/2 setup hasn't advanced within the window below, so the pair can re-sort to a fresher setup. Committed Stage 3/4/5 are never evicted." }, { "key": "FORMING_STALE_TTL_SECONDS", "label": "Forming Setup Stale Window", "type": "int", "unit": "seconds", "default": 21600, "help": "How long a Stage 1/2 setup may sit without advancing a stage before it is evicted. Default 6 hours.", "presets": [ { "label": "3 hours", "value": 10800 }, { "label": "6 hours (default)", "value": 21600 }, { "label": "12 hours", "value": 43200 } ] }, { "key": "DIAG_CYCLE_LOG", "label": "Diagnostic Cycle Log (container logs)", "type": "toggle", "default": true, "help": "DIAG (S20): print one [DIAG] line per scan cycle to the container logs (stdout) — stage counts, pick sizes, per-cycle API ok/err, thin-skip and zones-found deltas. Zero extra API calls. Use it to watch the funnel degrade live, then turn off after diagnosis." }, { "key": "STAGE0_REQUIRE_STAGE1_TO_LOCK", "label": "Lock Zones Only At Stage 1+", "type": "toggle", "default": true, "help": "v7.5 fix (S21): treat a bare FVG (Stage 0) as a background probe, not a commitment. A symbol only stores/locks a zone once it qualifies for Stage 1 (first liquidity + BoS), so dead Stage-0 zones can never accumulate and exhaust slots (the freeze fix). Turn off to revert to legacy Stage-0 locking." } ] }, { "id": "risk", "title": "Risk, Leverage & Trade Costs", "summary": "Position sizing, leverage, stop/target structure, and the cost-aware net-R accounting used in Trade History.", "fields": [ { "key": "LEV_TARGET_SL_LOSS_PCT", "label": "Target Loss At Stop", "type": "float", "unit": "% of margin", "default": 50, "help": "Leverage is auto-chosen so that hitting the stop costs roughly this share of margin.", "presets": [ { "label": "30%", "value": 30 }, { "label": "50% (default)", "value": 50 }, { "label": "70%", "value": 70 } ] }, { "key": "LEV_MIN", "label": "Minimum Leverage", "type": "int", "unit": "x", "default": 20, "help": "Lower bound for auto leverage.", "presets": [ { "label": "10x", "value": 10 }, { "label": "20x (default)", "value": 20 } ] }, { "key": "LEV_MAX", "label": "Maximum Leverage", "type": "int", "unit": "x", "default": 50, "help": "Upper bound for auto leverage (also capped by each pair's exchange max).", "presets": [ { "label": "25x", "value": 25 }, { "label": "50x (default)", "value": 50 }, { "label": "75x", "value": 75 } ] }, { "key": "MIN_STOP_PCT", "label": "Minimum Stop Distance", "type": "float", "unit": "%", "default": 0.45, "help": "Floor on stop distance so stops are never dangerously tight.", "presets": [ { "label": "0.30%", "value": 0.3 }, { "label": "0.45% (default)", "value": 0.45 }, { "label": "0.70%", "value": 0.7 } ] }, { "key": "TP_MIN_RR", "label": "TP Minimum Risk / Reward", "type": "float", "unit": "R", "default": 1.5, "help": "Reward floor for the single structural take-profit. The TP is the nearest opposing liquidity beyond entry, but is never placed below this multiple of risk.", "presets": [ { "label": "1.2R", "value": 1.2 }, { "label": "1.5R (default)", "value": 1.5 }, { "label": "2.0R", "value": 2.0 } ] }, { "key": "TP_MAX_RR", "label": "TP Maximum Risk / Reward", "type": "float", "unit": "R", "default": 5.0, "help": "Reward ceiling for the single structural take-profit. The dynamic target floats inside the min-to-max band by volatility regime, so a far liquidity pool is never chased beyond this multiple.", "presets": [ { "label": "3.0R", "value": 3.0 }, { "label": "5.0R (default)", "value": 5.0 }, { "label": "7.0R", "value": 7.0 } ] }, { "key": "SINGLE_TP_BREAKEVEN_ENABLED", "label": "Move Stop To Break-Even", "type": "toggle", "default": true, "help": "With a single take-profit, arm the stop to break-even once price has travelled at least one unit of risk in your favour. Protects the only loss-buffer the trade has; recommended on." }, { "key": "SL_BEYOND_LIQUIDITY_ENABLED", "label": "Stop Beyond Liquidity", "type": "toggle", "default": true, "help": "Push the stop just past the swept liquidity pool (anti stop-run). Only ever widens the stop, never tightens it." }, { "key": "COST_AWARE_ENABLED", "label": "Cost-Aware Expectancy", "type": "toggle", "default": true, "help": "Adjust every result for taker fees, slippage and funding, and reject a setup whose net reward-to-risk is below the floor. Recommended on." }, { "key": "FEE_TAKER_PCT", "label": "Taker Fee", "type": "float", "unit": "% / side", "default": 0.04, "step": 0.01, "help": "Exchange taker fee charged on each side of the trade (entry and exit).", "presets": [ { "label": "0.02%", "value": 0.02 }, { "label": "0.04% (default)", "value": 0.04 }, { "label": "0.06%", "value": 0.06 } ] }, { "key": "SLIPPAGE_PCT", "label": "Slippage Haircut", "type": "float", "unit": "% / side", "default": 0.03, "step": 0.01, "help": "Assumed execution slippage per side. Larger for low-turnover pairs.", "presets": [ { "label": "0.02%", "value": 0.02 }, { "label": "0.03% (default)", "value": 0.03 }, { "label": "0.06%", "value": 0.06 } ] }, { "key": "MIN_NET_RR", "label": "Minimum Net RR", "type": "float", "unit": "R", "default": 1.3, "step": 0.1, "help": "Reject a candidate setup whose structural take-profit gives less than this reward-to-risk AFTER costs.", "presets": [ { "label": "1.0R", "value": 1.0 }, { "label": "1.3R (default)", "value": 1.3 }, { "label": "1.6R", "value": 1.6 } ] }, { "key": "CALIBRATION_MIN_TRADES", "label": "Calibration Minimum Trades", "type": "int", "unit": "trades", "default": 10, "help": "How many closed trades must exist before the feature-calibration panel is marked ready (it still previews earlier).", "presets": [ { "label": "10 (default)", "value": 10 }, { "label": "25", "value": 25 }, { "label": "50", "value": 50 } ] } ] }, { "id": "promotion", "title": "Promotion · Smart Stage 4", "summary": "The single v8 Stage-4 brain that decides — while price is still in the FVG — whether a setup promotes to a verified entry. Led by the PROMOTION master switch.", "fields": [ { "key": "PROMOTION_ENABLED", "label": "Promotion (Stage 4 -> 5)", "type": "toggle", "default": true, "help": "Master switch for verified-entry promotion: when ON, a screened Stage-4 setup can promote to a Stage-5 verified entry and fire alerts. OFF freezes the funnel at Stage 4 (no signals). On by default." }, { "key": "FILTER_HTF_ENABLED", "label": "Gate · Higher-Timeframe Bias", "type": "toggle", "default": true, "help": "Compulsory gate: the 1H/4H trend must agree with the setup direction." }, { "key": "HTF_INTERVAL", "label": "Higher-Timeframe Bias Window", "type": "select", "default": "Min60", "help": "Timeframe used for the higher-timeframe bias gate.", "presets": [ { "label": "30 minutes", "value": "Min30" }, { "label": "1 hour (default)", "value": "Min60" }, { "label": "4 hours", "value": "Hour4" } ] }, { "key": "CONVICTION_MIN_CONFLUENCE", "label": "Minimum Confluence To Promote", "type": "int", "unit": "of 7 facts", "default": 5, "step": 1, "help": "How many of the 7 leading facts (HTF location, swept+reclaimed, OB+FVG overlap, displacement origin, footprint with us, BTC permission, clear path to TP) must be TRUE before a setup may promote to Stage 5. Higher = stricter, fewer but cleaner entries.", "presets": [ { "label": "4 (looser)", "value": 4 }, { "label": "5 (default)", "value": 5 }, { "label": "6 (strict)", "value": 6 } ] }, { "key": "CONVICTION_CONFIRM_CYCLES", "label": "Confirm Cycles", "type": "int", "unit": "cycles", "default": 2, "help": "How many consecutive scan cycles Conviction must stay at or above the threshold before promotion, so a single noisy print does not trigger an entry. A fresh lower-timeframe break in our direction still fast-tracks promotion regardless of this.", "presets": [ { "label": "1 (Instant)", "value": 1 }, { "label": "2 (Default)", "value": 2 }, { "label": "3 (Studied)", "value": 3 } ] }, { "key": "CONVICTION_OB_ATR", "label": "Order-Block Proximity", "type": "float", "unit": "x ATR", "default": 0.6, "help": "How close, in ATR units, an order block must sit to the fair-value-gap zone to count as confluence in the E2 chip. Larger accepts looser overlaps.", "presets": [ { "label": "0.4 (Tight)", "value": 0.4 }, { "label": "0.6 (Default)", "value": 0.6 }, { "label": "1.0 (Loose)", "value": 1.0 } ] }, { "key": "CONVICTION_DEAD_TURNOVER", "label": "Dead-Pair Turnover Skip", "type": "float", "unit": "quote turnover", "default": 0.0, "help": "Optional 24h quote-turnover floor below which a pair is treated as too illiquid to study and is skipped. Leave at 0 to disable the skip entirely.", "presets": [ { "label": "0 (Disabled)", "value": 0 }, { "label": "1000000 (1M)", "value": 1000000 }, { "label": "5000000 (5M)", "value": 5000000 } ] }, { "key": "PD_LOOKBACK", "label": "Premium / Discount Range Window", "type": "int", "unit": "candles", "default": 80, "help": "How many recent 15m candles define the swing range used to locate equilibrium for the E2 discount/premium read (and the legacy P/D gate). Larger = a broader, slower range; smaller = a tighter, more reactive one. Minimum 20.", "presets": [ { "label": "40 (Tight)", "value": 40 }, { "label": "80 (Default)", "value": 80 }, { "label": "120 (Broad)", "value": 120 } ] }, { "key": "REGIME_ATR_MA", "label": "Volatility Regime Baseline", "type": "int", "unit": "candles", "default": 30, "help": "Lookback for the ATR baseline that the E7 vitality / volatility-regime read compares the current ATR against (also used by the legacy regime gate). Larger = a steadier baseline. Minimum 10.", "presets": [ { "label": "20 (Fast)", "value": 20 }, { "label": "30 (Default)", "value": 30 }, { "label": "50 (Steady)", "value": 50 } ] }, { "key": "ENTRY_MODEL_ENABLED", "label": "Entry-Model Recognition", "type": "toggle", "default": true, "help": "Require the engine to recognise a named human entry model (wick rejection, impulse reclaim, FVG tap, consolidation break, failed-then-reclaim) before promoting. Off = confluence count alone decides." }, { "key": "EM_WICK_BODY_RATIO", "label": "Wick-Rejection Ratio", "type": "float", "unit": "wick / body", "default": 1.5, "step": 0.1, "help": "Minimum rejection-wick to candle-body ratio for the closed candle to qualify as a wick-rejection entry model. Higher = only long, decisive rejection wicks count.", "presets": [ { "label": "1.2", "value": 1.2 }, { "label": "1.5 (default)", "value": 1.5 }, { "label": "2.0 (strict)", "value": 2.0 } ] }, { "key": "EM_DISPLACEMENT_ATR", "label": "Impulse-Reclaim Body (ATR)", "type": "float", "unit": "ATR", "default": 1.0, "step": 0.1, "help": "Minimum candle body (in ATRs) for the impulse-reclaim entry model — the reclaim candle must show real commitment, not a weak tap.", "presets": [ { "label": "0.8", "value": 0.8 }, { "label": "1.0 (default)", "value": 1.0 }, { "label": "1.3", "value": 1.3 } ] }, { "key": "EM_COIL_MIN", "label": "Consolidation Candles", "type": "int", "unit": "candles", "default": 3, "step": 1, "help": "Minimum number of tight candles that must coil inside/at the zone before a consolidation-break entry model can trigger.", "presets": [ { "label": "2", "value": 2 }, { "label": "3 (default)", "value": 3 }, { "label": "4", "value": 4 } ] }, { "key": "EM_RECLAIM_MAX", "label": "Failed-Reclaim Window", "type": "int", "unit": "candles", "default": 4, "step": 1, "help": "Maximum candles allowed between a failed break and the reclaim for the failed-then-reclaim (spring) entry model to remain valid.", "presets": [ { "label": "3", "value": 3 }, { "label": "4 (default)", "value": 4 }, { "label": "6", "value": 6 } ] }, { "key": "EM_REACTION_WINDOW", "label": "Reaction Lookback (Candles)", "type": "int", "unit": "candles", "default": 3, "help": "How many recent closed candles the engine scans for the entry reaction. Larger catches a trigger that happened a few candles ago (useful with sharded scanning); smaller is stricter about a fresh reaction." }, { "key": "CALIB_MIN_SAMPLES", "label": "Self-Tuning Min Trades", "type": "int", "unit": "trades", "default": 20, "help": "How many completed Smart-v8 trades must exist before the system may auto-adjust its own confluence bar. Until then the bar is fixed. The hard Bitcoin veto is never tuned." }, { "key": "FOOTPRINT_ENABLED", "label": "Anchored Footprint", "type": "toggle", "default": true, "help": "Use the zone-anchored cumulative footprint as the PRIMARY order-flow read for Stage 4 (E3) and confluence. Off = fall back to the legacy short deals-tape snapshot." }, { "key": "FOOTPRINT_MIN_SAMPLES", "label": "Minimum Samples Before Trusted", "type": "int", "unit": "samples", "default": 2, "step": 1, "help": "How many accumulation cycles the footprint must gather at a zone before its read is trusted. Lower = reacts faster but noisier; higher = steadier but slower to confirm.", "presets": [ { "label": "1 (fastest)", "value": 1 }, { "label": "2 (default)", "value": 2 }, { "label": "3 (steady)", "value": 3 } ] }, { "key": "FOOTPRINT_STRONG_PCT", "label": "Strong-Flow Threshold", "type": "float", "unit": "delta share", "default": 0.12, "step": 0.01, "help": "Signed-delta share of total throughput at which flow counts as 'strong' (absorption / distribution / with-us). 0.12 = 12% net imbalance. Higher = only decisive imbalances flag.", "presets": [ { "label": "0.08", "value": 0.08 }, { "label": "0.12 (default)", "value": 0.12 }, { "label": "0.20 (strict)", "value": 0.2 } ] }, { "key": "FOOTPRINT_MIN1_LIMIT", "label": "Min1 Bars Pulled", "type": "int", "unit": "bars", "default": 240, "step": 10, "help": "How many 1-minute delta bars are pulled per accumulation cycle to build the footprint backbone. More = deeper history per read, slightly more bandwidth.", "presets": [ { "label": "120", "value": 120 }, { "label": "240 (default)", "value": 240 }, { "label": "360", "value": 360 } ] }, { "key": "FOOTPRINT_OI_MIN_GAP", "label": "OI Sample Gap", "type": "int", "unit": "seconds", "default": 60, "step": 5, "help": "Minimum seconds between open-interest samples folded into the footprint. Lower = finer OI resolution but more requests.", "presets": [ { "label": "30", "value": 30 }, { "label": "60 (default)", "value": 60 }, { "label": "120", "value": 120 } ] }, { "key": "FOOTPRINT_OI_KEEP", "label": "OI Samples Retained", "type": "int", "unit": "samples", "default": 90, "step": 5, "help": "How many recent OI samples the footprint keeps for its OI-delta read. More = longer OI memory at the zone.", "presets": [ { "label": "60", "value": 60 }, { "label": "90 (default)", "value": 90 }, { "label": "120", "value": 120 } ] } ] }, { "id": "market_regime", "title": "Market Regime & Portfolio Risk", "summary": "Broad-market permission gate plus the portfolio risk gate (net-RR floor + correlation-heat caps) and setup-stability pre-checks.", "fields": [ { "key": "MARKET_PERMISSION_ENABLED", "label": "Market Permission Gate", "type": "toggle", "default": true, "help": "Block promotions that fight the broad market. Combines Bitcoin's lower-timeframe trend with the Market Bias read: against = blocked, leaning-against = no top grade, supportive = normal." }, { "key": "MARKET_PERMISSION_STRICT", "label": "Strict Market Permission", "type": "toggle", "default": false, "help": "When on, even a market that merely leans against the trade blocks promotion (not just a fully opposed one). Off (default) lets leaning-against setups through at a reduced grade." }, { "key": "PORTFOLIO_RISK_ENABLED", "label": "Portfolio Risk Gate", "type": "toggle", "default": true, "help": "ONE master for the pre-trade risk gate: rejects setups whose NET reward-to-risk (after fee + slippage) is below Min Net RR, and caps how many trades — and how many in the SAME direction — can be live at once, so a single market move can’t hit the whole book. On by default." }, { "key": "MAX_CONCURRENT_TRADES", "label": "Max Live Trades", "type": "int", "unit": "trades", "default": 6, "help": "Most trades allowed live at the same time. Further promotions wait until a slot frees up." }, { "key": "MAX_ALIGNED_DIRECTION", "label": "Max Same-Direction Trades", "type": "int", "unit": "trades", "default": 3, "help": "Most trades allowed live in the SAME direction at once. Prevents stacking the book all long or all short into one regime move." }, { "key": "STABILITY_MIN_CYCLES", "label": "Stability Confirm Reads", "type": "int", "unit": "reads", "default": 2, "help": "How many consecutive scan reads the leading structure must stay consistent before a non-top setup promotes. A clean, market-aligned top setup still promotes immediately." }, { "key": "STABILITY_ADVERSE_ATR", "label": "Adverse Candle Block (ATR)", "type": "float", "unit": "ATR", "default": 1.0, "help": "Don't promote into a large closed candle moving against the trade this size (in ATR). Cheap insurance against entering right as price lurches the wrong way." } ] }, { "id": "guardian", "title": "Live Management · Smart Stage 5", "summary": "The post-entry Guardian: the single v8 advisory brain (Drive/Risk + structural exit verdict, reversible) plus chip-stability smoothing.", "fields": [ { "key": "GUARDIAN_ENABLED", "label": "Trade Guardian Enabled", "type": "toggle", "default": true, "help": "Master switch for the Stage 5 post-entry conviction layer. When off, verified entries are still managed by stop-loss, break-even and take-profit, but no live Drive/Risk scoring or advisory verdicts are produced." }, { "key": "GUARDIAN_CVD_ENABLED", "label": "Use Live Order Flow (CVD)", "type": "toggle", "default": true, "help": "Read the live trade tape to compute Cumulative Volume Delta (aggressor buying vs selling). This is the sharpest early exhaustion tell. When off, a candle-derived volume-delta proxy is used instead, which needs no extra request." }, { "key": "GUARDIAN_LTF_INTERVAL", "label": "Lower-Timeframe Window", "type": "select", "default": "Min5", "help": "The timeframe the Guardian watches for early structure shifts (break of structure and change of character) beneath your 15-minute entry. Smaller reacts faster but is noisier.", "presets": [ { "label": "1 minute (fastest)", "value": "Min1" }, { "label": "5 minutes (default)", "value": "Min5" }, { "label": "15 minutes (calm)", "value": "Min15" } ] }, { "key": "GUARDIAN_REJECT_ATR", "label": "Rejection-Zone Reach", "type": "float", "unit": "x ATR", "default": 1.2, "help": "How close (in ATR units) an opposing fair-value gap, liquidity pool or range equilibrium must be before the Guardian warns that price is approaching a rejection zone. Larger warns earlier.", "presets": [ { "label": "0.8 (only when very close)", "value": 0.8 }, { "label": "1.2 (default)", "value": 1.2 }, { "label": "2.0 (warn early)", "value": 2.0 } ] }, { "key": "GUARDIAN_TERMINAL_CONFIRMS", "label": "Close Confirmation Cycles", "type": "int", "unit": "cycles", "default": 3, "help": "How many consecutive scan cycles the reversal conditions must all hold before the terminal Close Before Reversal verdict latches. Higher is slower to call a close but harder to fool, so you are less likely to be shaken out before a big move. (Legacy — v7.5 only; has no effect while the Smart Engine is on.)", "presets": [ { "label": "2 (responsive)", "value": 2 }, { "label": "3 (default)", "value": 3 }, { "label": "5 (very strict)", "value": 5 } ] }, { "key": "GUARDIAN_TERMINAL_MIN_CONF", "label": "Close Confidence Floor", "type": "int", "unit": "/ 100", "default": 80, "help": "Minimum confidence (0-100) the engine must reach before it is allowed to latch a terminal close. Raising it makes the close verdict rarer and more certain. (Legacy — v7.5 only; has no effect while the Smart Engine is on.)", "presets": [ { "label": "70 (earlier)", "value": 70 }, { "label": "80 (default)", "value": 80 }, { "label": "90 (only when certain)", "value": 90 } ] }, { "key": "CHIP_STABILITY_ENABLED", "label": "Chip Status Debounce", "type": "toggle", "default": true, "help": "On (default) a Drive/Risk chip only flips its status after the new state persists for the confirm cycles below, so a single noisy print does not toggle it. Off shows the raw per-cycle state. (Legacy — v7.5 only; has no effect while the Smart Engine is on.)" }, { "key": "CHIP_CONFIRM_CYCLES", "label": "Chip Confirm Cycles", "type": "int", "unit": "cycles", "default": 2, "help": "How many consecutive cycles a chip's new status must hold before it is shown. Higher means calmer chips that ignore one-off ticks; lower means more reactive chips. (Legacy — v7.5 only; has no effect while the Smart Engine is on.)", "presets": [ { "label": "1 (Reactive)", "value": 1 }, { "label": "2 (Default)", "value": 2 }, { "label": "3 (Calm)", "value": 3 } ] }, { "key": "RETRACE_GUARD_ENABLED", "label": "Retrace vs Reversal Guard", "type": "toggle", "default": true, "help": "On (default) a shallow pullback into a defended zone on light volume with order flow still net-favourable and no lower-timeframe change-of-character is treated as continuation and can never latch the terminal 'Close Before Reversal' verdict — only a structurally confirmed reversal can. Off lets the raw latch fire." }, { "key": "VERDICT_ZONE_BAND_ATR", "label": "Entry Zone Width", "type": "float", "unit": "x ATR", "default": 0.75, "help": "How wide, in ATR units, the entry zone is considered when no fair-value-gap zone is attached to the live trade. Price within this band of entry reads as still in the entry zone, so the verdict reasons about whether that zone is holding or about to fail.", "presets": [ { "label": "0.5 (Tight)", "value": 0.5 }, { "label": "0.75 (Default)", "value": 0.75 }, { "label": "1.2 (Wide)", "value": 1.2 } ] } ] }, { "id": "display", "title": "Display", "summary": "Dashboard presentation.", "fields": [ { "key": "DASHBOARD_REFRESH_SECONDS", "label": "Dashboard Refresh", "type": "int", "unit": "seconds", "default": 20, "help": "How often the live dashboard pulls fresh state. Rows and counters update in place with no page reload.", "presets": [ { "label": "10 seconds (snappy)", "value": 10 }, { "label": "20 seconds (default)", "value": 20 }, { "label": "45 seconds (calm)", "value": 45 } ] } ] } ] }