[Devlog] Seven Sins Engine (Pine Script v6) — Built Out of Frustration With TradingView Limits & Greed for Every Framework’s Best Core
Honestly, this indicator wasn’t born out of a clean textbook plan. It started with annoyance: TradingView capping object/drawing limits and throwing execution timeout popups on mobile (`M30`), right when I was trying to read market structure properly. Instead of accepting the limit, I worked around it—gating historical loops, pooling/recycling drawings lazily on `barstate.islast`, and stripping dead weight until it ran smoothly on a phone screen.
Then came Gluttony: I got greedy and cherry-picked one core weapon from each of 7 frameworks into a single Pine Script v6 engine (v8.6 Final)—mapped directly to the 7 Deadly Sins that used to ruin my execution:
1. Gluttony (Greedy Multi-Framework Hoarding & Drawing Limit Workarounds) $\rightarrow$ Hot-Window Architecture + IPDA Liquidity Matrix
TradingView’s drawing caps and timeout popups annoyed me—so I engineered around them with hot-window gating, `barstate.islast` rendering, and vertical label anti-overlap, while pulling IPDA 20D ranges and `TDO/TSMO` anchors into one clean view without screen clutter.
2. Wrath (Revenge & Overtrading) $\rightarrow$ Citadel Quant Gate
Pulled the discipline lock from quant risk rules: an O(1) ATR Z-Score regime filter (`CHOP` / `SHOCK` lock), a `TDO Trap Guard`, session bullet caps, and a live confluence score (`ARMED` / `HALF` / `LOCKED`) so emotions can’t force trades in dead or chaotic conditions.
3. Greed (Chasing Outside Windows & Cutting Winners Short) $\rightarrow$ ICT Enigma Macros & Greedy Runner
Pulled time-boxed sniper entries + asymmetric scaling: 2-candle FVGs filtered inside active macros, auto-muting invalidated gaps, a `1.25x TP1` baseline, and a `3.0x Runner` target only when `H6` structure and `TDO` bias align.
4. Pride (Fighting the Cycle Bias) $\rightarrow$ Quarterly Theory (AMDX / XAMD)
Pulled cycle shift awareness: tracking `H6`, `H3`, and `M90` quarters alongside Daye True Session Opens (`19:30 / 01:30 / 07:30 / 13:30`) and auto-flagging `AMDX` vs `XAMD` shifts so I stop forcing bias against price delivery.
5. Sloth (Manual Multi-Chart Checking) $\rightarrow$ Zero-Config Auto-SSMT + 3-Asset Relative Strength
Pulled automated intermarket divergence + strength ranking: open any chart (Futures, CFDs, Metals, Forex, or Crypto) and it auto-locks its 3-asset triad (`NQ/ES/YM`, `XAU/XAG/XAUEUR`, `EUR/GBP/AUD`, `BTC/ETH/SOL`) to catch `Q2→Q3` and `Q3→Q4★` Sequential SMT and leader/laggard spreads automatically.
6. Lust (Chasing Late Wicks Before Cycle Expiry) $\rightarrow$ Intraday Time Harmonics & Time-Decay Engine
Pulled harmonic timing + exit discipline: tracking internal intraday sub-cycles, opening range calibration, and late-cycle time-decay exit alerts so I stop getting seduced by late candles right before a reversal.
7. Envy (Blind FOMO Without HTF Context) $\rightarrow$ HTF Candle Closure & PO3 Stack
Pulled higher-timeframe closure context: a side-by-side HTF candle stack (intraday up to `MN`, auto-hiding lower timeframes) with live Sweep (`SWP▲/▼`) and Reversal (`REV▲/▼`) tags plus previous `50% EQ` and `Body CE` levels.
Final Stress-Test (v8.6)
Tested live on mobile (`1m` & `30m`, Portrait `Compact` & Landscape `Full 12-Row` HUD) across EURUSD**,** XAUUSD**,** NAS100**,** MNQ1!****, and BTCUSD — zero compile errors, zero timeout popups, and automatic triad routing across all five instruments.