Formula Scanner

Screen guides

Open Formula Scanner

Run a custom formula across the universe as a scan.

Overview

Formula Scanner lets you write a price/volume rule, find every day in a symbol's history where that rule was true, and see what typically happened next.

  1. Pick a symbol — type a ticker into the Symbol box.
  2. Write an expression — use O, H, L, C, V (with offsets like C[-2]) and functions such as avg, sum, min, max, ref, between. Example: (C > avg(C, 20)) and (V > 1.5 * avg(V, 10)). Click Show Examples for ready-made rules.
  3. Set the windowsHorizons are the forward periods to measure (e.g. 1,3,5,10 days); Lookahead caps how far ahead run-up and drawdown are tracked; Bars Limit restricts to the most recent N bars (0 = all history).
  4. Run Formula — the chart marks every matching event, and the Event Stats panel shows the hit rate plus average/median forward return for each horizon, with best/worst run-up and drawdown.
  5. Review the hits — the Example Events table lists individual matches with their forward returns.

Tip: save a formula from the menu above to reuse or share it — it remembers your symbol, expression, horizons and lookahead.

Open Formula Scanner

Was this article helpful?

Recently viewed

Nothing yet.