Most quantitative trading bots treat a closed trade as the end of data collection. Once the ticket closes, logging stops. In contrast, PipLogy's Shadow Target Tracking protocol keeps tracking every ticket for 120 minutes post-exit to measure counterfactual market trajectory.

What is Counterfactual Shadow Tracking?

When PipLogy closes an order at Take Profit or Breakeven, a virtual "Ghost Ticket" is spawned in memory. The headless engine records:

  • Maximum Favorable Excursion (MFE) Post-Close: Did price continue trending another 40 pips in our direction? (Indicates under-harvested momentum).
  • Maximum Adverse Excursion (MAE) Post-Close: Did price immediately collapse after our exit? (Validates optimal exit timing).
  • Time-to-Reversal: How many bars elapsed before order-flow imbalance exhausted?

Reinforcement Learning Loss Penalty

If a closed trade experiences an MFE greater than 2.5 × TP_Distance within 30 minutes of exit, the neural model's exit weight receives a localized gradient penalty. This teaches the model to expand Take Profit targets during macro trend regimes.

Architecture Data Flow

[MT5 Position Closed]
        │
        ▼
[Spawns In-Memory Ghost Ticket (T_0)]
        │
        ├── Collect 120-Minute High/Low Tick Telemetry
        ├── Compare Realized PnL vs Ghost Theoretical PnL
        └── Write Telemetry to SQLite `shadow_analytics` Table
        │
        ▼
[Nightly Machine Learning Fine-Tuning Batch]
        └── Updates Neural Confidence Thresholds for Next London Open

Key Metrics Observed Over 944 Trades

By applying post-exit shadow feedback loops over the past 944 trades, PipLogy has:

  • Increased average profit per winning trade by +28.4% through dynamic TP extension.
  • Reduced false exits during early session consolidation by 37.1%.
  • Achieved an overall portfolio Sharpe Ratio of 2.18 across multi-asset portfolios.

Connect Your MetaTrader 5 Terminal to PipLogy

Experience self-optimizing neural network trades directly in your own account with full non-custodial security.

Download Client EA & License