The EBOLIM Method

EBOLIM Study Library

The full EBOLIM method, written as study notes โ€” your framework. Every module is the theory in brief, plus exactly where it lands in what you've built: the protocol, the sleeves, the Scanner, the Journal, the Combined Book, the honest-stats discipline.

๐Ÿ“Ž How to read this. Study notes in my own words โ€” concepts, formulas and relationships, not the course text. Green โ€œValidates EBOLIMโ€ = the theory is already built into your platform. Blue โ€œWhere it fitsโ€ = theory worth knowing that maps onto your framework but isn't a live feature yet. Tap any module.

The map: your platform โ†” its foundations

EBOLIM isn't a set of indicators โ€” it's a discipline: find an edge, prove it honestly, size it by risk, and diversify so the book is smoother than any part. Here's how each piece you've built rests on the research.

Protocol7-step build โ†’ signal-test-before-backtest, walk-forward, Monte Carlo, robustness plateau.
SleevesMomentum ยท reversal ยท breakout โ†’ time-series & cross-sectional momentum, short-term reversal, channel breakout, Clenow counter-trend.
ScannerCross-sectional ranking โ†’ relative strength, trigger/filter/value rules, per-name signal testing.
JournalLive vs backtest โ†’ expectancy, R-multiples, MAE/MFE, the performance ratios, edge-decay (adaptive markets).
Combined BookBlended sleeves โ†’ correlation, volatility parity, risk targeting, capital preservation.
Honest statsNo fabricated wins โ†’ inferential statistics, backtest overfitting, base-rate & multiple-testing traps.

1 ยท The quant spine โ€” this is your method

๐Ÿ”ฌ

Signal test before backtest

The single most important idea

โ€บ

The concept

  • A backtest run first misleads: too many degrees of freedom (entry, exit, stop, size, dates), path dependency (each trade blocks capital for others), and first-trade bias (one lucky opening trade colours the whole curve).
  • A signal test isolates the edge: find every instance of the raw condition, measure the return over a fixed forward window (week/month/quarter), with no sizing or exits. One honest question โ€” does this condition predict anything?
  • Only after the signal passes do you add exits, stops and sizing, then backtest.
๐Ÿ”ญ

The scientific method, applied to trading

Observation โ†’ hypothesis โ†’ experiment โ†’ conclusion

โ€บ
  • Observation โ€” you notice a repeatable pattern (e.g. oversold dips in an uptrend bounce).
  • Research โ€” you check it holds on other names/periods.
  • Hypothesis โ€” a testable claim: "RSI(2)<20 above the 200-day precedes a positive 5-day return."
  • Experiment โ€” code the rule, find every instance.
  • Analysis โ€” win rate, average return, distribution.
  • Conclusion โ€” supports or refutes; you can revisit any step.
โ—† Where it fits

This is the spine of the whole platform โ€” every sleeve is a hypothesis that survived experiment. It's why "the idea is wrong, not the parameters" when a gate fails.

๐Ÿงฑ

Trigger ยท filter ยท value rules

How a rule is actually built

โ€บ
  • Trigger โ€” true only on the event day (the entry). Close crosses above SMA200.
  • Filter โ€” true across many days; screens out unwanted signals. above the 200-day, full-history, liquid.
  • Value โ€” a number for ranking when many fire the same day and capital is finite (lowest ATR, highest momentum, best backtested expectancyโ€ฆ). Mixing the three types corrupts a test.
๐Ÿชœ

Signals โ†’ strategies โ†’ models

The hierarchy you actually climb

โ€บ
  • Signal โ€” a rule fired; a potential opportunity, not a trade. Tested for predictive value.
  • Strategy โ€” a validated signal dressed with entries, exits, stops, and sizing.
  • Model โ€” several strategies combined to cut portfolio volatility and smooth returns; defines when each is on and how capital is split.
๐Ÿ“

Robustness & the plateau

Anti-overfitting, stated plainly

โ€บ
  • A robust strategy shows a wide plateau of acceptable results across a parameter range; an overfit one shows a narrow peak with sharp cliffs.
  • Pick parameters near the centre of the plateau, not the optimisation peak. A rule that works across 30โ€“150-day averages beats one needing exactly 47.
  • False precision (an "optimal" 3.78 std-dev) is a red flag, not a feature.
โš ๏ธ

Why most backtests are fool's gold

The four statistical traps

โ€บ
  • Base-rate fallacy โ€” 95% confidence โ‰  95% chance the strategy is real. If few ideas are truly good, most "significant" hits are false positives. Demand p<0.01.
  • Multiple testing โ€” test 150 ideas at 1% and you're ~78% likely to find a random winner. Correct for the number of trials (Bonferroni / deflated Sharpe).
  • Biasโ€“variance โ€” too simple misses the edge, too complex overfits; total error is U-shaped.
  • Meta-look-ahead โ€” you already know 2008/2020 happened, so you unconsciously design to dodge them. Useless out of sample.

2 ยท Statistics & probability โ€” the honest-stats backbone

๐Ÿ“Š

Descriptive vs inferential ยท sample vs population

Sample vs population

โ€บ
  • Descriptive stats summarise the sample you have (mean, std, skew).
  • Inferential stats use that sample to make a claim about the unknowable population โ€” all future outcomes โ€” with a stated confidence, never certainty.
  • Statistics describe a sample; parameters describe a population. Sampling variability means a sample can mislead.
โ—† Where it fits

A backtest is a sample; the future is the population. Everything about "will this keep working?" is an inference, which is why confidence and sample size matter more than the headline number.

๐Ÿงช

Hypothesis testing ยท p-value ยท Type I/II

The significance test

โ€บ
  • Null (Hโ‚€) = "no edge / returns โ‰ค 0"; alternative (Hโ‚) = "there's an edge". You assume Hโ‚€ until evidence forces its rejection.
  • p-value = the probability of a result this extreme if Hโ‚€ were true. Small p โ†’ reject Hโ‚€. Standard cutoff 0.05, but for strategy hunting use 0.01 or lower.
  • Type I = false positive (adopt a dud). Type II = false negative (discard a gem). In trading, Type I is the expensive one.
  • Test a mean: t = (xฬ„ โˆ’ ฮผ) / (s/โˆšn) against nโˆ’1 d.f.
๐Ÿ””

Distributions: normal, skew, kurtosis โ€” and why markets aren't normal

Why markets aren't normal

โ€บ
  • Empirical rule: in a normal distribution 68 / 95 / 99.7% of data sit within 1 / 2 / 3 std-devs.
  • Skew โ€” asymmetry. Positive = rare big wins (trend-following); negative = rare big losses (selling insurance).
  • Kurtosis โ€” tail weight. Markets are leptokurtic (fat tails): 2ฯƒ+ moves happen ~3ร— more often than normal predicts, so std-dev alone understates risk.
๐Ÿ”—

Correlation, causation & rยฒ

The engine of diversification

โ€บ
  • Pearson's r โˆˆ [โˆ’1, +1] measures the strength/direction of a linear relationship, built from returns, not prices.
  • rยฒ (coefficient of determination) = the fraction of one variable's variation explained by the other. r = 0.71 โ†’ rยฒ โ‰ˆ 0.50.
  • Correlation โ‰  causation โ€” a lurking third variable can drive both.
๐ŸŽฒ

Randomness: random walk, martingale, the arcsine law

Why trends persist at all

โ€บ
  • Random walk โ€” past points don't forecast the next, and it assumes a flat drift. Too limited to model real prices.
  • Martingale โ€” adds a drift term, so it can slope up (equities on balance rise). A better price model.
  • Arcsine law โ€” even in a random series, prices spend far more time trending away from a starting point than hovering near it. The least likely outcome is "return to start". A statistical hint that trend-following isn't crazy.
โ—† Where it fits

Part of the "why do edges exist" answer โ€” persistence isn't purely behavioural; even randomness spends its time away from the mean, which is the soil momentum grows in.

3 ยท The scorecard โ€” every metric on your reports

๐Ÿ“ˆ

Return-vs-risk ratios & Sharpe's blind spot

Return per unit of risk

โ€บ
  • Sharpe = excess return รท total volatility โ€” penalises up- and down-swings equally (its flaw).
  • Sortino = excess return รท downside deviation only โ€” right when drawdown is what hurts.
  • Calmar = annual return รท max drawdown; feeds position sizing directly. Practitioner band: โ‰ฅ2 acceptable, โ‰ฅ3 ideal.
  • Information ratio = (strategy โˆ’ benchmark) รท tracking error โ€” consistency of outperformance.
  • Sharpe assumes normal returns; a steady +12%/yr can score worse than a wild +62/โˆ’38 pair. Always read it beside drawdown and the distribution.
๐ŸŽฏ

Expectancy, R-multiples, MAE/MFE, SQN

The trade-quality measures

โ€บ
  • Expectancy = (Win% ร— Avg Win) โˆ’ (Loss% ร— Avg Loss). โ‰ค 0 and no win-rate saves you.
  • R-multiple (Tharp) = profit รท initial risk (entry โˆ’ stop); risk-normalises every trade. Target avg > 1R.
  • MAE / MFE โ€” worst/best unrealised excursion. MAE tells you where to set stops so you don't get shaken out of eventual winners; MFE shows profit left on the table.
  • SQN (System Quality Number, Tharp) grades a system from its average R and trade count โ€” reliable at โ‰ฅ30 trades.
๐Ÿงฎ

Profit factor, trade stats & VWR

Reading the blotter

โ€บ
  • Profit factor = gross profit รท gross loss. Sane band 1.25โ€“10; most reliable 3โ€“5; >10 usually means curve-fitting.
  • Payoff = avg win รท avg loss (trend > 1, reversion often < 1); win rate; โ‰ฅ30 trades floor, 100+ ideal.
  • VWR (variability-weighted return) โ€” a refinement that rewards returns earned in calm periods and penalises those earned in volatile ones, fixing part of Sharpe's blindness.

4 ยท Risk, sizing & diversification โ€” the Combined Book

โฑ๏ธ

Risk is per unit of time, not per trade

After Andreas Clenow

โ€บ
  • "I risk $X to my stop" ignores time and volatility. Real risk = potential portfolio change per unit of time (2%/day โ‰  2%/year).
  • Mark-to-market: your position is worth today's price โ€” not entry, not the peak. No "playing with house money".
  • If you missed an entry, the right size is the full size at the current price โ€” past trades don't change future probabilities.
โ—† Where it fits

Reframes the sizing debate behind the Combined Book โ€” the fixed-fractional-vs-vol-parity choice you worked through, and why the risk dial is daily.

โš–๏ธ

Volatility parity & position sizing

Equal risk, not equal dollars

โ€บ
  • Equal dollars โ‰  equal risk โ€” a volatile name dominates an equal-weight book. Size inversely to volatility so each position contributes equal risk.
  • Clenow's ATR sizing: shares = (risk% ร— equity) รท ATR.
  • Simple stop-based sizing: shares = risk$ รท (entry โˆ’ stop).
๐Ÿ”€

Selecting uncorrelated sleeves

Building the book

โ€บ
  • Build a correlation matrix from returns. Seek correlations near 0 โ€” strongly negative can erode the winners.
  • Row-sum shortcut: to add to a book, sum each candidate's correlations to current holdings and pick the lowest sum.
  • Mistakes: over-diversifying (dilutes the edge) and false diversification (things that secretly move together).
๐Ÿ›ก๏ธ

Risk targeting, leverage, VaR & CVaR

Building the book

โ€บ
  • Vol scaling: scale factor = target vol รท current vol; hold the rest in cash. Leverage scales risk and return, so under risk-free financing the Sharpe/Calmar are ~unchanged.
  • Vol conversion: ฯƒ_annual = ฯƒ_daily ร— โˆš252. 2% daily โ‰ˆ 31.7% annualised.
  • VaR = worst loss at a confidence over a horizon; CVaR = the average loss beyond VaR โ€” the honest tail number 2008 exposed.
  • Leverage to a mandate: if a strategy's max DD is 10% and you tolerate 20%, 2ร— matches it.
๐Ÿงท

Utility, loss aversion & capital preservation

Preserve capital first

โ€บ
  • Investors are risk-averse: the pain of a loss is ~2ร— the pleasure of the same gain (prospect theory).
  • Risk appetite falls as the account grows โ€” a 20% loss on $1M bites harder than on $10k.
  • Preserve capital first: a โˆ’50% loss needs +100% to recover, so protecting the downside beats chasing return.
โ—† Where it fits

The "why" under your drawdown-first mindset โ€” Calmar as the primary filter, the daily loss limit, and the equity-stop circuit-breaker in the protocol.

5 ยท The edges, grounded โ€” your sleeves & the tools they use

๐Ÿ”„

Counter-trend / mean-reversion

After Andreas Clenow โ€” your SPY/SMH sleeve, near-verbatim

โ€บ
  • Don't fight the trend โ€” trade pullbacks inside it, entering near where trend-followers stop out, betting on the snap-back.
  • Clenow's teaching model: bull regime = 40-EMA > 80-EMA; pullback trigger = price 3ร—ATR below the 20-day high; exit on trend break or after ~20 days.
๐Ÿš€

Momentum: time-series vs cross-sectional

The two momentum families

โ€บ
  • Time-series (trend-following) โ€” a name's own past return predicts its next; each asset judged alone. Your GLD breakout, and the century-long trend-following record.
  • Cross-sectional (relative strength) โ€” rank names against each other; leaders keep leading. What the Scanner's momentum board does.
  • Magnitude matters for time-series; only the ranking matters for cross-sectional.
๐Ÿงญ

Relative strength & RRG

Ranking leadership

โ€บ
  • Relative strength = price รท benchmark. Rising = outperformance โ€” which can mean "down less", not just "up more". Raw RS values are meaningless across names; rank, don't compare levels.
  • RRG plots RS-Ratio (relative trend) vs RS-Momentum (its rate of change); names rotate clockwise Leading โ†’ Weakening โ†’ Lagging โ†’ Improving, ~90% of the time.
โ—† Where it fits

The Scanner already ranks by relative strength; an RRG rotation view is a natural future add for leadership timing.

๐Ÿ“‰

VWAP & Anchored VWAP

After Brian Shannon โ€” your VWAP sleeve

โ€บ
  • VWAP = ฮฃ(priceร—vol) รท ฮฃvol, cumulative from the open. Price above a rising VWAP = buyers in control; below a falling VWAP = sellers.
  • The "ultimate sentiment indicator" โ€” it measures real money, not opinion. Intraday volume is U-shaped (heavy open & close, quiet midday).
  • Anchored VWAP starts the calc at a meaningful event (earnings, gap, swing high/low) and doesn't reset โ€” cumulative sentiment from that anchor.
๐ŸŒŠ

Volatility tools โ€” ATR, Bollinger, Keltner

Your stops & the IVB sleeve

โ€บ
  • ATR = smoothed True Range (greatest of Hโˆ’L, |Hโˆ’prevC|, |Lโˆ’prevC|) โ€” the industry vol unit for stops and sizing.
  • Bollinger = 20-SMA ยฑ 2ฯƒ. %b locates price in the band; BandWidth tracks the cycle โ€” a Squeeze (125-day low) precedes expansion. Volatility is "extreme-seeking", not mean-reverting.
  • A band tag is not a reversal by itself: ADX>20 (trending) โ†’ continuation ("walking the band"); ADX<20 (range) โ†’ mean-reversion. Multicollinearity: five momentum indicators aren't five confirmations.
  • Keltner uses ATR bands vs Bollinger's std-dev bands โ€” smoother; a Bollinger-inside-Keltner squeeze is a tight-coil signal.
๐Ÿ“ถ

MACD-V: volatility-normalised momentum

After Alex Spiroglou (2022)

โ€บ
  • Classic MACD = 12-EMA โˆ’ 26-EMA, plus a 9-EMA signal line. Its flaw: the value isn't comparable across names or dates.
  • MACD-V divides by ATR, so a "big" reading means the same on a calm stock and a wild one โ€” momentum on a standard scale.
โ—† Where it fits

Same volatility-normalisation principle as your ATR stops and the Combined Book's vol-matching โ€” a candidate ranking signal for the Scanner.

โšก

Momentum as velocity & acceleration ยท the 3-step signal

How a valid signal is built

โ€บ
  • An oscillator's value is velocity (direction of change); its slope is acceleration. Acceleration turns before velocity โ€” momentum leads price, which is why divergences precede reversals.
  • Overbought/oversold are conditions, not signals โ€” in an uptrend, "overbought" is strength, not a sell.
  • A valid signal has three steps: condition (a setup forms) โ†’ trigger (a specific event) โ†’ confirmation (price itself validates). Momentum alone never gets you in.

6 ยท Market context & regime โ€” theory worth carrying

๐Ÿ›๏ธ

Dow Theory โ€” the tenets

The oldest trend framework

โ€บ
  • The market discounts everything and looks months ahead. Use closing prices (the day's most important).
  • Three movements: primary (year+), secondary (weeksโ€“months, the deceptive counter-move), minor (days).
  • Confirmation โ€” two averages must agree; volume should expand in the trend's direction.
โ—† Where it fits

The ancestor of your trend filters โ€” "above a rising 200-day", closing-price rules, and volume confirmation on breakouts.

๐Ÿ“ก

Market internals & breadth

After Vince & Williams โ€” participation

โ€บ
  • Advance-Decline line โ€” net advancers, cumulative; diverging from the index warns of thin participation.
  • New highs / new lows โ€” leadership; daily New Lows are an under-used but robust bear-onset signal (Vince & Williams).
  • % above the 200-day (breadth), McClellan Oscillator/Summation, Zweig breadth thrust (10-day A/D from <40% to >62%), TRIN/Arms.
โ—† Where it fits

This is the theory behind the regime idea โ€” a market-health overlay. Not currently a live feature, but the toolkit is here if you rebuild it.

๐ŸŒก๏ธ

Volatility regime: VIX complex & the risk premium

The VIX complex

โ€บ
  • VIX = 30-day implied vol of the S&P, annualised; mean-reverts ~20; inverse to price (~โˆ’0.8); spikes at bottoms but peaks before the low.
  • Term structure: contango (calm, up-sloping) vs backwardation (stress, down-sloping); a flip to backwardation is an early-warning.
  • VVIX / SKEW / MOVE โ€” vol-of-vol, tail-risk pricing, bond vol. VRP: implied usually > realised, so option sellers earn a premium.
  • Key truth for you: correlations converge toward 1 in stress โ€” "uncorrelated" sleeves sell off together when vol spikes.
โ—† Where it fits

The honest counter-point to "my sleeves are uncorrelated": in a vol spike they aren't. A volatility lens is the right book-wide risk dial if you revisit regime.

๐Ÿซง

Market structure: bubbles & Wyckoff phases

Accumulation โ†’ markup โ†’ distribution โ†’ markdown

โ€บ
  • Wyckoff's four phases: accumulation โ†’ markup โ†’ distribution โ†’ markdown โ€” the fractal shape of a trend's life.
  • Bubble's five stages (Berman): displacement โ†’ boom โ†’ euphoria โ†’ peak/distress โ†’ collapse โ€” each with tell-tale time-series (M2, rate-of-change, sentiment extremes, breadth >80%, insider selling).
โ—† Where it fits

Context for when your directional sleeves face headwinds โ€” markup favours breakout/momentum, distribution favours caution on dip-buys.

7 ยท Why any of this works โ€” the behavioural foundation

๐Ÿง 

EMH, its cracks, and the adaptive view

Why edges exist at all

โ€บ
  • EMH says prices reflect all info โ€” but the joint-hypothesis problem means it can't be cleanly tested, and anomalies (momentum, value, short-term reversal, size, January) persist.
  • Adaptive Markets (Lo) โ€” efficiency comes and goes as participants adapt; edges decay and must be refreshed. Fractal Markets (Peters) โ€” different horizons create exploitable structure.
๐Ÿชž

Behavioural biases & prospect theory

The mispricing you harvest

โ€บ
  • Prospect theory / loss aversion โ€” losses hurt ~2ร— more than equal gains, so people let losers run and cut winners early โ€” the mispricing your edges harvest.
  • Belief-preservation (confirmation, conservatism, hindsight), information-processing (anchoring, recency, mental accounting), emotional (overconfidence, regret, status-quo) biases.
  • Capitulation = collective loss-aversion breaking at once โ€” the fear you buy in a reversal.
๐Ÿ“ฃ

Sentiment, the crowd & contrarianism

Reading the crowd

โ€บ
  • Sentiment (ฯ‰) is the gap between price and value; the crowd sets direction in a trend but must be wrong at the extremes.
  • Tools: put/call ratio, AAII & Investors-Intelligence surveys (contrarian), COT positioning, short interest, VIX.
  • Contrarianism works only at sentiment extremes, never mid-trend.
โ—† Where it fits

A future signal layer โ€” a sentiment-extreme filter could sharpen the reversal sleeve's "is this a safe dip?" question.

๐Ÿงฉ

Fusion analysis โ€” price as the best analyst

After John Lundgren โ€” price as the best analyst

โ€บ
  • P = (F ร— V)^S โ€” price is fundamentals ร— valuation, raised to a sentiment power. In a bull, S>1; in a bear, 0<S<1.
  • Because price already encodes everything (incl. unknowns), the market is "the best fundamental analyst on the planet" โ€” listening to the trend is hiring that analyst.
โ—† Where it fits

The philosophical licence for a purely price/technical, systematic approach โ€” you don't need the story, the trend already priced it.

8 ยท Reference โ€” known, but not core to your method

Worth knowing, but not what drives your systematic, stats-first, short-term style. Left as a list rather than full modules โ€” say the word to promote any to a write-up.

Elliott Wave Cycle theory (Hurst / Gann) Point & Figure Candlestick catalogue Classical chart patterns Fibonacci Market Profile Seasonality Bonds / Futures / FX / Options terminology Digital assets / on-chain Log vs arithmetic scaling Intermarket / RRG-FX

Private study notes โ€” concepts and formulas in my own words. EBOLIM is your framework; tell me what each letter stands for and I'll title the pillars exactly and re-key the map to them.