Intrabar Lab

Backtester & statistical analyst

I test market ideas down to the tick.

I backtest trading ideas and measure how futures markets behave, using raw one-second and tick data, and I have spent six years designing indicators for TradingView, MT4 and NinjaTrader. The ideas, the methods and the checks are mine, including original studies like Time Profile. I build the code with AI assistance, run every calculation on my own workstation, and verify each number before it goes on a page.

6 yearsdesigning indicators for TradingView, MT4 and NinjaTrader
One-second dataCandles rebuilt from the raw tape, so whether the high or the low came first is measured, not guessed.
Exact to the tickPrices compared in whole ticks: a touch is a touch, and a one-tick break is exactly one tick.
Counting, not predictionPlain frequencies from raw data on my own workstation. No AI model produces the numbers.
16 years of dataGold futures since 2010, one-second NQ since 2014 (126 million bars) and 95 million individual NQ trades. Results are cross-checked across samples.

Backtests, statistics and the tools behind them

Two studies that take a market question from raw data to an answer someone can check, plus a trading pipeline I built along the way.

Backtest study · NQ futures · 2023–2026

What happens after an inside bar gets poked

Every 5-minute candle rebuilt from one-second bars, so the order of moves inside the trigger candle is measured, not guessed. Results are split by poke sequence, mother-bar type and inside-bar shape, and checked across one-, two- and three-year samples.

PythonpandasNumPyParquet1-second data
91.8%of triggers did not close beyond the opposite side after the first poke
93.7%of two-sided pokes did not close back beyond the first poke
71.4%of next candles held the side the trigger closed on

Original method · NQ · one session

Time Profile: measuring value to the millisecond

My own alternative to the 30-minute letter profile. It adds up, to the millisecond, how long price actually stayed at each price, across all 698,341 trades of the session. On November 25 the two methods put the point of control about 732 points apart.

Tick dataMarket ProfileOriginal research
25,299traditional letter-profile point of control
26,031Time Profile point of control
29.38 saccumulated at the Time Profile POC

A plus · Trading tools · NinjaTrader 8 · Python

Plus: a trading pipeline from NinjaTrader to the web

Each closed trade leaves NinjaTrader with its chart screenshot and full details, lands in a database and shows up seconds later in a journal with a calendar and statistics. The same server stores market bars and options-gamma snapshots, and sends live signals from a Python engine back to NinjaTrader.

C# NinjaScriptFlask REST APISQLiteLinux
Capturechart image and trade data sent on every exit
Analyzecalendar, weekday and strategy statistics
Executesignals placed and filled through an add-on

Time Profile: how long price really stayed

Time Profile is a method I developed as an alternative to the traditional (Steidlmayer) Market Profile. The letter profile only records whether price visited a row during each 30-minute bracket. Time Profile measures how long it stayed there, to the millisecond.

Traditional letter profile

Each letter marks a 30-minute bracket that traded in a price row. A one-second touch and a 25-minute stay each earn the same single letter in that bracket. The row with the most letters is the point of control. Ties go to the row nearest the session range midpoint.

Time Profile, my method

Every trade is timestamped. The exact time until the next trade, in milliseconds, is credited to the price of the first trade. These intervals are added up across every visit in the session. A wider row means price really stayed there longer, and the price with the most accumulated time is the point of control.

Why a quick rebound fools the letter profile

If price dips just before a new 30-minute bracket opens and touches the same prices again just after it, the letter profile prints two letters side by side. Two letters look like price that was accepted there, not like the brief tail it really was. Time Profile counts only the milliseconds actually spent there.

09:59:50.000

Illustration with made-up prices and 1-point rows, to show the mechanism. The real study uses every trade of the session at 0.25-point rows.

The November 25 session, measured both ways

Both profiles below use the same NQ day session on November 25, 2026. Each shows a 68% value area, with its boundaries marked VAH and VAL. The red lines mark the points of control. The blue dashed line marks the midpoint of the session’s high and low.

Traditional TPO and Time Profile side by side. The traditional POC is in a lower price cluster and the Time Profile POC is in an upper price cluster. A dashed blue line marks the session range midpoint.
NQ, November 25, 2026, 08:30–15:00 Chicago time. The chart uses 2-point bands to keep the TPO letters readable.

Both the upper and lower TPO clusters reached five half-hour visits. The lower cluster was closer to the midpoint, so it won the tie-break. The Time Profile had a single winner at 26,031.00, with about 29.38 seconds of accumulated time.

Closing levels, both calculated on 0.25-point rows
ProfileVALPOCVAH
Traditional TPO25,063.5025,299.2525,804.25
Time Profile25,281.0026,031.0026,145.00

Where price spent the most time

The six highest-time nodes of the session, each at least 20 points from the next. Seconds are summed from every trade-to-trade interval at that exact 0.25-point price, plus the total within two points either side.

Time Profile high-time nodes, NQ, November 25, 2026, 08:30–15:00 Chicago
Node priceSeconds at the priceSeconds within ±2 points
26,031.00 · POC29.4 s397.4 s
25,124.5021.3 s312.1 s
26,064.7521.2 s293.4 s
25,161.0019.2 s272.9 s
26,102.2517.2 s226.3 s
25,181.7514.1 s208.0 s

Check: the 698,341 trades add up to 23,400.0 seconds across 4,475 price rows, exactly the 6 h 30 min of the session. Exchange timestamps are in nanoseconds, so intervals are measured well below a millisecond. Gaps longer than 60 seconds are left out rather than credited to a stale price.

A replay and live platform I built to study the tape

One desktop application, written in Python with PyQtGraph, replays any session trade by trade or follows the market live. Every view below works from the same raw tape and never reads a trade before replay time reaches it. Screenshots are from NQ futures.

Time Profile of the developing NQ session with the overnight profile on the left, the value area shaded gold, tail brackets on the right, a 9,463.6 s value-area time label, a 1,287-tick value-area height label, a 3,593/5,834 TPO count and RF +6.

Time Profile · my own method

Time Profile with overnight inventory

The market profile in my platform is built on time, not letters: every row shows the accepted seconds price spent there. On the left, the blue overnight profile and its inventory: seconds spent above the previous settlement minus seconds below, as a share of all overnight time.

  • Value area time Seconds accepted inside the value area (9,463.6 s here).
  • Value area height Width of the value area in ticks (1,287 t here).
  • TPO count Seconds above the POC vs. below it inside the value area, the time-based version of the classic count (3,593 / 5,834).
  • Tails True-time tails, found by scanning in from the high and the low until the next level would push the tail past a time limit (1,200 s by default).
  • Rotation factor Each 30-minute high and low scored +1, 0 or −1 against the previous one, then summed (RF +6).
Time and Sales chart: every NQ trade as a dot, green for buyer-initiated and red for seller-initiated, larger bubbles for larger trades, one 42-contract trade labelled.

Time & Sales

Every trade as a bubble

Each trade is a dot at its price and time: green when a buyer lifted the offer, red when a seller hit the bid. Bubble area grows with the number of contracts, and trades above a size threshold get a label (42 contracts here). It shows the previous 5-minute candle against the developing one.

Candles built from 250 trades each, coloured by delta, with large trades labelled and a delta histogram underneath.

N-trade candles

Candles that close on activity, not the clock

A new candle starts every N trades (250 here), so candles print faster when the market speeds up and slower when it is quiet. Colour shows each candle's delta, buyer- minus seller-initiated contracts, which is also drawn as a histogram underneath. Large trades are labelled on the candle where they happened.

Mirrored footprint: aggressive sell contracts per price in red to the left, aggressive buy contracts in green to the right, with contract counts on each row.

Absorption footprint

Who was aggressive at each price

For the previous and the developing interval (5 minutes here), aggressive sells extend left in red and aggressive buys extend right in green, with the contract count on every price. Heavy aggression that fails to move price stands out as long branches clustered around one level.

Daily footprint columns: seller-initiated contracts per price in red to the left and buyer-initiated in green to the right, with each column's largest branch labelled.

Time footprint

The footprint across whole sessions

The same buy-and-sell split, but over consecutive time columns: one column per day here. Seller-initiated contracts sit left of each column's axis and buyer-initiated contracts right, and each column labels its largest sell and buy branch. It shows where each session built volume and which side was in control there.

Resistance view: 5-minute candles each followed by a price histogram, green where aggressive selling was absorbed and red where aggressive buying was absorbed, with the strongest level marked 114.

Resistance view

Where aggression failed to move price

Next to every candle sits a histogram of resistance. Each row starts with its net aggressive contracts, then is reduced by how efficiently the whole candle travelled in that direction. Green means aggressive selling was absorbed and price did not fall. Red means aggressive buying was absorbed and price did not rise. A clean trending candle shows almost nothing, and the strongest level in each candle is marked with its size (114 here).

Also built: cumulative volume delta from any reset point, and a developing volume benchmark that compares volume so far with past sessions at the same time after the open.

Careful with the data, plain about the results

Markets are what I like to think about. The part I care most about is making sure an answer is right before anyone relies on it, whoever or whatever wrote the code.

Measure

Use data that shows what happened

One-second and tick data instead of finished candles, so the order of the high and low inside a bar is known. Prices are compared in whole ticks, so a one-tick break is exactly one tick.

Verify

Check every number twice

Totals reconciled across tables, counts compared between subsets, small test runs before full runs, and versioned scripts so each result can be reproduced.

Explain

Say what the numbers mean, and what they don't

Every figure comes with its sample size. Effects caused by geometry or chance are called out, and descriptive results are never presented as a trading edge.

Build

AI writes the code, I own the logic

My own coding is basic, so I build with AI assistants. I decide what to measure and how, review what the code does, and check its output against the raw data. The numbers come from plain calculations on my workstation, not from an AI model.

What I bring to a team

The thinking is mine: the market questions, the study design, the trading systems and the verification. The code behind them is built with AI assistance, and I'm open about that.

I'm a self-taught enthusiast. I haven't worked in a professional trading or research team yet, and I would love to. Everything on this page I built because I'm passionate about markets, and I want to do it every day.

My own work

  • Market ideas and research questions
  • Study and backtest design
  • Trading strategies and system design
  • Checking results against raw data

Market knowledge

  • Futures markets
  • Market Profile and time at price
  • Win rate, profit factor, average trade
  • Six years of indicator design on TradingView, MT4 and NinjaTrader

Built with AI assistance

  • Python, pandas and NumPy scripts
  • SQLite databases and Flask APIs
  • NinjaTrader 8 add-ons in C#
  • Linux server setup

Data and results

  • Raw one-second and tick futures data
  • Calculations run on a local workstation
  • Reports with sample sizes and caveats
  • Versioned scripts, reproducible runs

Looking for someone to test your ideas?

I'm looking for my first role in backtesting, market research or trading analytics. I don't have professional experience in the industry yet, but I bring six years of building indicators, original research, and a habit of checking every number. I work under the Intrabar Lab name for now. Write with a few lines about the role, and I'll reply with my full name and CV.