Top-Down Trendline Engine & Bounce-vs-Break Agent
We mechanized the discretionary Tori Trades multi-timeframe trendline playbook (Monthly → Weekly → Daily → 4H → 1H outer-wick envelopes, Action vs. Safety Lines, and the t + 4 diagonal stop), ran a pre-registered 8-instrument walk-forward audit, and built a non-repainting TradingView Pine v6 indicator with 0.00-tick Python parity.
What Survived the Lie-Detector — and What Went to the Graveyard
Before building the live scanner, we locked 5 mechanical variants in docs/tori_trendlines_prereg.md with zero pivot lookahead, 23h CME Globex 4H session buckets, and Panama roll-splice cleaning across 8 futures. Four retail assumptions failed; one clean commodity sleeve survived.
| Pre-Registered Variant | Execution Rule | OOS Trades | All-8 OOS E[R] | Commodity OOS E[R] | Cmdty Sharpe | Audit Verdict |
|---|
Why Tori Trades Metals & Oil — Not MNQ
| Symbol | Class | OOS N | Win % | OOS E[R] | $200 Exec % | Sleeve Role |
|---|
How the Agent Calls Bounce vs. Break
Across 3,031 confirmed outer-wick A+ trendline touches, 59.7% bounced (+1.4 ATR) while 39.5% broke cleanly. Blindly buying 4H breakouts loses −0.164R in commodities; filtering for fresh HTF-aligned touches (B2_K1 = 64.2% bounce) lifts OOS expectancy across both 4H and 1H@4H execution.
| Feature Regime Bucket | Train N | P(Bounce) | P(Break) | Agent Action |
|---|
SME_Tori_Trendlines.pine — Non-Repainting Top-Down Overlay
Draws Monthly (Purple), Weekly (Blue), Daily (Gold), and 4H/1H Action + Dashed Safety Lines (t + 4 mechanical stop), live Bounce-vs-Break odds, and Prop Micro contract sizing directly on TradingView.