Methodology
Methodology Reference
Every number the engine produces, derived from first principles.
This document defines every calculation the engine performs — the math and mechanics behind each number, from first principles. It is also the source content for the public /methodology pages. If a calculation isn't in this document, the engine doesn't do it.
Version 1.2 (adds Part IV — Crypto, shipped; Part III — Options remains proposed, deferred behind crypto).
Docs site structure (each Part I–IV section below = one page):
/methodology → overview + pipeline diagram
/methodology/indicators/{slug} → sma, ema, macd, rsi, atr, adx, obv,
relative-volume, bollinger, pivots
/methodology/engine/{slug} → families, weights, composite, confidence,
stops, targets, gates, sizing
/methodology/options/{slug} → delta, gamma, theta, vega, rho, pricing,
strategies, exits, gates, limitations (Part III)
/methodology/crypto/{slug} → scope, asset-class, changes, profile,
earnings, sizing, volume, guardrails,
example, limitations (Part IV)
/methodology/example → worked end-to-end trade derivation
/methodology/limitations → what this engine cannot see
Pipeline overview
Everything flows one direction. No step can reach backward.
OHLCV bars (per timeframe)
│
▼
[Part I] Indicators ───── pure math on bars; no opinions yet
│
▼
[Part II] Signal families ─ each indicator's reading becomes a scored,
│ directional vote with a written reason
▼
Composite score S ──────── weighted sum of family scores
│
▼
Direction ──────────────── long / short / none (threshold on S)
│
▼
Confidence C ───────────── base from |S|, minus itemized penalties
│
▼
Trade plan ─────────────── stop from structure, target from structure,
│ R:R from those two
▼
Refusal gates G1–G5 ────── trade emitted only if all pass;
otherwise: which gate failed, and why
Conventions used throughout: C_t = close of bar t, H_t/L_t/V_t = high/low/volume, n = lookback period. "Bar" means one unit of the selected timeframe (1 h, 1 d, or 1 w).
Part I — Indicators
Part II — Determination
Part IV — Crypto
Appendix