Study and Macros

Logging a backtest

How to record an example from past charts, and what each field in the Log window means.

On this page

What a backtest log is

A backtest log records a setup you found on past charts. Each log is one sample on one model. Several screenshots of one setup make one log.

Log one, step by step

  1. Open Study and choose Backtest at the top.
  2. Under Log an example, choose the model. If it has sub-models, pick one at the top of the window.
  3. Add your charts on the left.
  4. Under When, set Date to the day on the chart.
  5. Fill in the setup details. Only the model is required.
  6. Check the line at the bottom that starts Saving to.
  7. Choose Save log, or press ⌘↵ (Ctrl+Enter).

Log saved then appears with View saved log, which opens the sample.

Add charts

Paste a TradingView snapshot link into the box, or anywhere in the window. A log holds up to 12 charts, and all of them belong to this one sample. Charts are optional.

If you paste something that isn’t a snapshot link, the window says so and keeps your text so you can fix it. If image upload is available on your account, you can also drop an image, paste one, or use Choose image.

With two or more charts, Earlier and Later change their order. See Charts and links for more.

The chart reader can fill entry, stop and target from a TradingView snapshot link: press Analyze the chart. Free has 1 read a day, of up to 2 charts. Premium has 10 a day, of up to 8, and can turn on Auto-analyze charts. A read that finds no position is given back, up to 3 times a day. Fields it filled carry an AI tag. Check them before you save; nothing is saved until you do.

The fields

What you see depends on what your model asks for.

FieldWhat to enter
DateThe day of the setup. It can’t be in the future
SessionAsia, London, New York AM, New York Lunch or New York PM. Leave it on Unclassified and Study places the sample using your entry time
Macro windowThe window the entry fell in, or Outside macro. If your entry time is inside a window, the Log window offers it with Use it
DirectionLong or Short
OutcomeWhat happened. See below
Entry, Stop, TargetYour prices. Fill in all three or leave all three empty
Entry timeWhen you entered, in New York time
DurationHow long it ran, in hours and minutes. A box for days appears if you go past 23 hours
Exit timeFills in from entry time and duration, tagged Auto. Type a time to change it. Clear it to calculate again
SymbolThe market, so the result can show in dollars. Your last one is remembered
NoteWhat you saw, and what matters on this chart

Outcome

The buttons depend on whether your model tracks prices.

With pricesWithout pricesSaved as
Hit TPDeliveredA win
Hit SLFailedA loss
UnclearUnclearNo result

Choosing a button again clears it. A sample with no outcome also saves as no result. It’s never counted as a loss.

Prices

Once all three prices are in, the window shows Risk, Reward and the planned R. They have to agree with each other and with Direction. For a long, the stop sits below entry and the target above it. For a short, it’s the other way round.

If something doesn’t fit, Save log stays off and the reason shows under it.

If you close without saving

A new log stays on this device as a draft until you save it or clear it. Open Log for the same model to pick up where you left off, or use Clear to start over. The draft doesn’t follow you to another device.

Fix or remove a log

Open the sample from Study or from the model’s page, then choose Edit. The window opens as Edit log and saves with Update log. To remove a sample, choose Delete.

Log many in a row

Repeat on Study starts a new log from your last one. It keeps everything except the date, which goes back to today.

A day without the setup can’t be logged on Backtest. That’s part of forward testing.

Was this page helpful?

Last updated November 14, 2026