Leveling the Playing Field
A personal engineering project designed to eliminate emotional trading friction and deliver institutional-grade execution capabilities to those without software engineering backgrounds.
🚀 Introducing HyperTune
Explore HyperTuneA brand new side-project: The ultimate Windows 11 PC optimizer and system automation suite designed specifically to eliminate trading and gaming friction. HyperTune features an invisible background API daemon, one-click zero latency Trading & Gaming modes, and automated SSD/system repair utilities.
🌍 The Mission
Retail traders are fighting a losing battle against multi-billion dollar algorithms, human psychology, and increasingly strict prop-firm rules. Not everyone has the software engineering background required to build a fail-safe execution engine to protect themselves.
This project exists to bridge that gap. The goal is to provide a powerful, automated tool to help the public build wealth and pass evaluations—without demanding exorbitant fees or pushing a commercial SaaS product.
While the underlying proprietary source code remains closed for now to protect the intellectual property, the mission is entirely focused on delivering the impact of this technology to those who need it most.
⚙️ Core Architecture: What Works
No hype. Just the engineering reality of what this system successfully accomplishes.
Closed-Loop Verification
Unlike simple webhooks that blindly fire orders, this engine reads live NinjaTrader positions before executing. It mathematically ensures you are flat before reversing, preventing catastrophic orphaned brackets.
Drawdown Sentinels
A background guardian successfully monitors your live equity against trailing drawdown limits. It accurately enforces daily loss limits and halts new entries when thresholds are breached.
Self-Healing Autonomy
The "Guardian" script flawlessly manages ngrok tunnel connections and recovers the system from crashes or disconnects within 5 minutes, allowing for true 24/7 autonomous operation.
📊 Projections & Expectations
We rely on math, not luck. Below is a high-level summary of expected performance, followed by detailed, transparent breakdowns of the strategy mechanics and backtest assumptions.
3 - 15
Expected trades per day, constrained by strict cooldowns and RTH session limits.
45% - 50%
Target win rate utilizing a trend-following pullback strategy (200 EMA / 21 EMA).
> 1.3
Target Profit Factor, achieved via dynamic ATR-based targets (1:2 R:R baseline).
Deep Dive: The Strategy Mechanics
The core entry edge is derived from a custom PineScript strategy running on 10-minute charts (NQ/MNQ). It relies on three pillars:
- Trend Filter: Only takes longs above the 200 EMA and shorts below it, aggressively filtering out choppy, directionless markets.
- Pullback Entries: Instead of chasing breakouts, it waits for a retracement to the 21 EMA within the established trend.
- Cooldowns: Hard-coded logic prevents overtrading, capping entries at 15 per day to avoid churn during highly volatile, erratic sessions.
Deep Dive: Dynamic Sizing & Targets (ATR Routing)
An entry signal is useless without proper trade management. The system calculates the Average True Range (ATR) at the moment of entry and automatically routes the trade to one of three NinjaTrader ATM templates:
- ATM-Quick: Used in low volatility (ATR < 0.8x Stop). Secures profits fast to maintain a high win rate in chop.
- ATM-Balanced: Used in normal conditions. Targets a standard 1:2 Risk-to-Reward ratio.
- ATM-Runner: Used in high volatility (ATR > 1.6x Stop). Implements wide trailing stops to capture massive trending moves, boosting the overall profit factor.
Deep Dive: Monte Carlo Projections & Risk of Ruin
Prop firms are designed to fail traders via trailing drawdowns. Our projections utilize Monte Carlo simulations across 10,000 randomized trade sequences.
Assuming a 45% win rate and a 1.5 average win/loss ratio (due to runners), the system enforces a strict Loss-Streak Size Throttling mechanism. If the system takes 3 consecutive losses, it automatically halves contract sizing. This mathematical intervention reduces the probability of hitting a typical $2,500 prop-firm trailing drawdown from roughly 18% down to less than 4% over a 100-trade sample.
🔍 The Honest Review: Room for Improvement
This is a personal engineering project, not a polished retail product. Here is exactly where the system currently falls short.
Account Isolation Vulnerability
The system calculates trade P&L by reading the net account RealizedPnL. If a user runs another strategy on the same account simultaneously, the math engine will conflate the two, instantly breaking the Daily Loss Breaker logic. The system demands 100% account isolation.
Local Read-Endpoint Security
While the powerful Cockpit GUI properly secures execution buttons behind a token lock, the data read endpoints (status, journal) do not require a token. Anyone with local network access can view live P&L data unauthenticated.
Session vs. Calendar Timings
The loss-streak sentinels rely on NinjaTrader's specific "Session" rollover hours, while the internal journal filters daily stats by a strict midnight rollover. Trading overnight across these boundary mismatches can lead to incorrectly bucketed daily loss limits.
Platform Dependency
The entire execution engine sits on top of NinjaTrader 8 running in a Windows environment, tethered to TradingView webhooks. This reliance on a chain of 3rd-party software is the biggest potential point of failure for an otherwise autonomous system.
👤 The Architect: Who is Eric?
I am a systems engineer and quantitative algorithmic trader obsessed with eliminating the emotional friction of manual execution.
The proprietary trading firm landscape is notoriously difficult, designed to test discipline and risk management. Knowing that manual trading often falls victim to human psychology, I set out to build an institutional-grade, zero-maintenance execution engine to tilt the odds back in the trader's favor.
To achieve this, I collaborated extensively with elite AI models—leveraging the advanced reasoning capabilities of Gemini, Claude, and Codex—to architect, refine, and bulletproof this system from the ground up. The result is a highly-complex pipeline engineered to protect capital and scale profitability.
Follow the Project.
Have questions about the architecture or the mission? Reach out directly.
Connect with Eric