ChartMystic
  • How it works
  • Products
  • Live demo
  • Results
  • Pricing
  • Docs
Log inSign up
  • How it works
  • Products
  • Live demo
  • Results
  • Pricing
  • Docs
  • Log in

Documentation

Artemis Pro

InstallationOverviewHow Artemis Pro ThinksReading The ChartTrend EngineSignal ReferenceLiquidity LinesLiquidity GrabsSession BoxesHTF LevelsHTF CandlesHTF Info TableBacktesting And Data WindowSupported Markets And ChartsSettings ReferenceFAQGlossary

Scribe Studio

OverviewAsk for a StrategyPerformanceTrade AnalysisCodeTweaking Your StrategyTransfer to TradingViewThe Strategy LibraryHistory & Saved StrategiesFAQGlossary
ChartMystic
Documentation/Artemis Pro/Backtesting And Data Window

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 titleValuesMeaning
Morning Star0/1Morning Star (MS) confirmed on this bar
Evening Star0/1Evening Star (ES) confirmed on this bar
Bullish Three-Line Strike0/1Bullish Three-Line Strike (TLS) confirmed on this bar
Bearish Three-Line Strike0/1Bearish Three-Line Strike (TLS) confirmed on this bar
Bullish Hikkake0/1Bullish Hikkake (HK) confirmed on this bar
Bearish Hikkake0/1Bearish Hikkake (HK) confirmed on this bar
Three White Soldiers0/1Three White Soldiers (3WS) confirmed on this bar
Three Black Crows0/1Three Black Crows (3BC) confirmed on this bar
Piercing Line0/1Piercing Line (PL) confirmed on this bar
Three Outside Down0/1Three Outside Down (TOD) confirmed on this bar
Three Outside Up0/1Three Outside Up (TOU) confirmed on this bar
Bump & Run Reversal0/1Bump and Run Reversal Bottom (BnR) confirmed on this bar
Setup Long0/1Confirmed long setup: trigger pattern inside a bullish grab window, filter passed
Setup Short0/1Confirmed short setup: trigger pattern inside a bearish grab window, filter passed
Trend Direction-1/+1Current 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

PreviousHTF Info TableNextSupported Markets And Charts

Need help?

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:

1

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.

2

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.