Backtesting And Data Window
The 15 numeric series Artemis Pro exposes in TradingView's Data Window, and how to build strategy wrappers or external analysis on top of them.
Artemis Pro exposes every signal state as 15 numeric series in TradingView's Data Window — the 12 pattern signals, both confirmed setups, and the trend direction — so you can test the signals yourself instead of taking anyone's word for them. This page lists every series and explains how to build on top of them.
The 15 Series
Open TradingView's Data Window (right-hand panel) and hover over any bar to read the values. Each pattern is a separate 0/1 series, with bullish and bearish variants split where the pattern has both. The series titles below are the exact plot titles as they appear in the Data Window.
| Series title | Values | Meaning |
|---|---|---|
| Morning Star | 0/1 | Morning Star (MS) confirmed on this bar |
| Evening Star | 0/1 | Evening Star (ES) confirmed on this bar |
| Bullish Three-Line Strike | 0/1 | Bullish Three-Line Strike (TLS) confirmed on this bar |
| Bearish Three-Line Strike | 0/1 | Bearish Three-Line Strike (TLS) confirmed on this bar |
| Bullish Hikkake | 0/1 | Bullish Hikkake (HK) confirmed on this bar |
| Bearish Hikkake | 0/1 | Bearish Hikkake (HK) confirmed on this bar |
| Three White Soldiers | 0/1 | Three White Soldiers (3WS) confirmed on this bar |
| Three Black Crows | 0/1 | Three Black Crows (3BC) confirmed on this bar |
| Piercing Line | 0/1 | Piercing Line (PL) confirmed on this bar |
| Three Outside Down | 0/1 | Three Outside Down (TOD) confirmed on this bar |
| Three Outside Up | 0/1 | Three Outside Up (TOU) confirmed on this bar |
| Bump & Run Reversal | 0/1 | Bump and Run Reversal Bottom (BnR) confirmed on this bar |
| Setup Long | 0/1 | Confirmed long setup: trigger pattern inside a bullish grab window, filter passed |
| Setup Short | 0/1 | Confirmed short setup: trigger pattern inside a bearish grab window, filter passed |
| Trend Direction | -1/+1 | Current trend engine direction: +1 uptrend, -1 downtrend (includes pattern-forced flips) |
A series reads 1 only on the bar where the pattern completes. What counts as a completed pattern for each label is covered in the Signal Reference; how a pattern becomes a confirmed setup is covered in Liquidity Grabs.
Determinism And Repainting
Everything you see in the Data Window is deterministic on bar close:
- Patterns evaluate when a bar closes and do not repaint intrabar. The historical series and a live chart running forward produce the same values.
- Trend Direction is the same series that drives the candle coloring, including pattern-forced flips, the internal momentum-candle flips, and the two-bar grace period.
- Swing lines confirm 3 bars after the pivot by design, so grabs — and with them the Setup series — only reference levels that already existed. The 12 pattern series themselves do not depend on it.
One honest caveat for level-based testing: CWH/CWL track developing weekly extremes and are drawn from the period start on historical bars. Treat them as chart context, not as backtestable levels; they are not exposed as data-window series for exactly this reason. The same applies to the daily bias label.
How To Use The Series
Two practical routes:
Wrap it in a strategy script
Recreate your entry rules in a Pine strategy() script and drive them from the same bar-close conditions — for example, a pattern series flipping to 1 while Trend Direction agrees. Because all state resolves on bar close, the fills generated by strategy() at the next bar's open match what you would have seen live.
Export for external analysis
Add Artemis Pro to a chart and export the chart data; every series comes along as a column. From there you can measure whatever you like in a spreadsheet, Python, or R.
TradingView's bar replay also works with Artemis Pro, including the HTF info table countdown — the script detects replay mode and computes remaining time from bar timestamps instead of the wall clock. Replay is the fastest way to rehearse reading the chart bar by bar before testing rules formally.
Study behavior, not thresholds
No series in the Data Window is a buy or sell instruction, and past pattern statistics do not predict future results. Use the outputs to study behavior, not to search for a magic threshold.