Stratsemble

On-Balance Volume strategy — on every asset

On-Balance Volume keeps a running total that adds the day's volume when the price closes up and subtracts it when the price closes down, so the line rises when volume is flowing in on up-days ('accumulation') and falls when it flows out on down-days. This rule goes long while a fast average of that line is above a slow average of it (the flow is turning up) and steps aside when it turns down - effectively a moving-average crossover of the volume-flow line, a cousin of the Moving Average Crossover already in this library. It is a trend/momentum rule that lags turns and whipsaws in sideways markets. The running total has no natural zero - its starting point is arbitrary - so only the crossing of its own averages is traded, never its absolute level, and we deliberately do not trade OBV-versus-price 'divergence', which is a subjective, non-mechanical read. Volume itself can be noisy or patchy: on a thin or volume-less feed the line carries little information.

How the rule triggers — illustrative
slowfastthe rule goes long here

An illustration of where the rule triggers — not real prices, and not a signal to act. The dashed forks mean the outcome is undetermined; whether the rule made money is what a backtest measures.

How it behaves in different markets

Through a sustained one-way move — By construction it stays long while a fast average of the volume-flow line holds above a slow average of it — a moving-average crossover of accumulation.

In a choppy, sideways range — In a sideways range the flow averages cross back and forth — it whipsaws and lags every real turn, and on thin volume the line carries little information.

Whether that behaviour produced excess return on your asset over your window is exactly what your backtest measures — we publish no profit claims.

How it works — step by step
  • • Entry — Go long when a fast average of the OBV line crosses above a slow average of it (flow turning up).
  • • Exit — Go flat when the fast average crosses below the slow one. Only the crossing of its own averages is traded — never the line's arbitrary absolute level, and not subjective OBV-versus-price 'divergence'.
  • • Fills, scoring & data — Every backtest fills at the next real open and scores on the real price against a real buy-and-hold, never a smoothed or derived series; on a thin or volume-less feed the line carries little information, and a NaN warm-up sits flat rather than fabricating a reading.

Most of these did not beat buy & hold — but a real few did, and finding out which is the whole point. This one strategy was tested on 91 different assets. With that many attempts, some will beat buy & hold by chance alone — which is why these are listed neutrally, not ranked by which ones came out ahead. To see whether any single result survives scrutiny, run the out-of-sample, walk-forward and multiple-testing checks on its backtest.

Of the 91 with enough data to judge, 28 beat buy & hold. Results are simulated backtests over the last ~5 years (less for younger assets), shown whole — losses included — not live or future performance. These are famous names that still trade today. Names that delisted, went bankrupt or were wound down aren't in the set (survivorship bias) — and that history isn't available from the free public data this tool runs on — so this rate isn't a representative base rate for every stock or ETF that has ever traded.

Listed in a neutral catalog order — not ranked by performance. Combinations we can't judge yet — too little data — are grouped separately below.

Here, “beat” means only a higher total return than buy & hold over this one past window — not risk-adjusted, not luck-checked. The out-of-sample, walk-forward and luck checks live on each individual backtest.

Past performance is not a reliable indicator of future results. This is an educational, analytical tool — not investment advice, and not a recommendation to buy or sell anything. You make all decisions and execute on your own broker.

HYPOTHETICAL OR SIMULATED PERFORMANCE RESULTS HAVE CERTAIN LIMITATIONS. UNLIKE AN ACTUAL PERFORMANCE RECORD, SIMULATED RESULTS DO NOT REPRESENT ACTUAL TRADING. ALSO, SINCE THE TRADES HAVE NOT BEEN EXECUTED, THE RESULTS MAY HAVE UNDER- OR OVER-COMPENSATED FOR THE IMPACT, IF ANY, OF CERTAIN MARKET FACTORS, SUCH AS LACK OF LIQUIDITY. SIMULATED TRADING PROGRAMS IN GENERAL ARE ALSO SUBJECT TO THE FACT THAT THEY ARE DESIGNED WITH THE BENEFIT OF HINDSIGHT. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PROFITS OR LOSSES SIMILAR TO THOSE SHOWN.

The whole spread — On-Balance Volume across 91 judged assets

On the 91 assets with enough data to judge, the same rule swung from +248 pts vs buy & hold on Solana to -1179 pts on Micron Technology. The typical (median) result was -32.5 pts — and even across these runs, the deepest drawdown you'd have sat through was -86% on Chainlink.

That range is the whole point: one rule is not universally good or bad — it depends entirely on the asset, and with 91 tried, some beat by chance. Shown to reveal the variation, not to pick one to trade.

Stocks

On-Balance Volume on stocks

AAPL · Apple Lagged buy & hold
AMZN · Amazon Beat buy & hold
NVDA · Nvidia Lagged buy & hold
PLTR · Palantir Lagged buy & hold
AMD · AMD Lagged buy & hold
MSFT · Microsoft Lagged buy & hold
META · Meta Lagged buy & hold
NFLX · Netflix Beat buy & hold
COIN · Coinbase Beat buy & hold
TSLA · Tesla Lagged buy & hold
GOOGL · Alphabet (Google) Lagged buy & hold
AVGO · Broadcom Lagged buy & hold
JPM · JPMorgan Chase Lagged buy & hold
V · Visa Lagged buy & hold
WMT · Walmart Lagged buy & hold
DIS · Disney Lagged buy & hold

Razor-thin margin — effectively a tie.

KO · Coca-Cola Lagged buy & hold
XOM · ExxonMobil Lagged buy & hold
JNJ · Johnson & Johnson Lagged buy & hold
HD · Home Depot Beat buy & hold
BAC · Bank of America Beat buy & hold
ORCL · Oracle Beat buy & hold
MCD · McDonald's Beat buy & hold
BRK-B · Berkshire Hathaway Lagged buy & hold
INTC · Intel Lagged buy & hold
CSCO · Cisco Lagged buy & hold
COST · Costco Lagged buy & hold
PEP · PepsiCo Lagged buy & hold
ADBE · Adobe Beat buy & hold
QCOM · Qualcomm Lagged buy & hold
AMGN · Amgen Lagged buy & hold
SBUX · Starbucks Lagged buy & hold
TXN · Texas Instruments Lagged buy & hold
MU · Micron Technology Lagged buy & hold
INTU · Intuit Lagged buy & hold
ISRG · Intuitive Surgical Beat buy & hold
BKNG · Booking Holdings Lagged buy & hold
GILD · Gilead Sciences Lagged buy & hold
AMAT · Applied Materials Lagged buy & hold
MDLZ · Mondelez Lagged buy & hold
TMUS · T-Mobile US Lagged buy & hold
CMCSA · Comcast Beat buy & hold
PYPL · PayPal Beat buy & hold
ASML · ASML Lagged buy & hold
LLY · Eli Lilly Lagged buy & hold
UNH · UnitedHealth Group Lagged buy & hold
MA · Mastercard Lagged buy & hold
PG · Procter & Gamble Lagged buy & hold
CVX · Chevron Lagged buy & hold
MRK · Merck Lagged buy & hold
ABBV · AbbVie Lagged buy & hold
CRM · Salesforce Lagged buy & hold
ACN · Accenture Beat buy & hold
NKE · Nike Beat buy & hold
PFE · Pfizer Lagged buy & hold
TMO · Thermo Fisher Scientific Beat buy & hold
ABT · Abbott Laboratories Beat buy & hold
LIN · Linde Lagged buy & hold
DHR · Danaher Lagged buy & hold
CAT · Caterpillar Lagged buy & hold
GS · Goldman Sachs Lagged buy & hold
MS · Morgan Stanley Beat buy & hold
HON · Honeywell Lagged buy & hold
UNP · Union Pacific Lagged buy & hold
RTX · RTX (Raytheon) Lagged buy & hold
LOW · Lowe's Lagged buy & hold
BA · Boeing Lagged buy & hold
GE · GE Aerospace Lagged buy & hold
ETFs

On-Balance Volume on etfs

Commodities

On-Balance Volume on commodities

Crypto

On-Balance Volume on crypto

Where a backtest fits

Backtesting is one stage of preparing to trade, not the finish line. The full discipline runs five: Understand, Test, Stress-test, Forward-test, then Decide — eyes open. The rare idea that survives all five is the one worth taking into the market with your eyes open — and every stage before it is a place to stop, for free, as most ideas wash out in the first three. Finding that rare idea before you risk a cent is the whole point.

Indicator and strategy names identify the published rule being tested; no affiliation with, or endorsement by, any person or trademark owner is implied.