Chart Scanner AI Indicator for NinjaTrader 8

Created 15 Aug 2025 · Updated 23 Aug 2025

The Chart Scanner AI is a Free indicator for the NinjaTrader 8 platform that integrates two object-detection AI models to recognize chart patterns and buy/sell signals directly from the visual appearance of your chart.

Prerequisites

To properly use this indicator you should have the following prerequisites available.


Description

The Chart Scanner AI Indicator integrates two object-detection AI models:

  • Stock Market Pattern Detection Model — an object-detection model based on the YOLO (You Only Look Once) framework, designed to detect various chart patterns in real time from screen-captured trading data. It has been fine-tuned on a diverse dataset (9,000 training images and 800 validation images) and provides output across 6 classes: Head and Shoulders Bottom, Head and Shoulders Top, M_Head, StockLine, Triangle, and W_Bottom.
  • Object Recognition Algorithm and "Buy-Sell Decision" Model over 2D candlestick charts — also built on the YOLO framework, this model identifies and classifies candlestick patterns into two classes: Buy and Sell.

The indicator is split into two programs. The first is the indicator itself, installed on NinjaTrader. The second is ATCHChartScan.exe, a companion program you download and place in any folder on your computer. The indicator looks for ATCHChartScan.exe at runtime and calls it following this logic:

  1. The indicator detects when the chart has updated.
  2. Once updated, the indicator takes a snapshot of the chart with no drawings on it.
  3. The indicator sends the image, along with its settings, to ATCHChartScan.exe.
  4. ATCHChartScan.exe processes the image and normalizes its colors to a white background, since the models were trained only on white-background charts.
  5. ATCHChartScan.exe runs the models on the image and returns the bounding-box results to the NinjaTrader indicator, which draws them on the chart.
  6. The indicator runs this processing logic on every new real-time bar formed on the chart.
  7. When the indicator is removed from the chart, it cleans everything up and makes sure ATCHChartScan.exe is properly disposed of.
  8. Pattern detection is based solely on the chart's image, not on price data — the slightest change in chart dimensions, zoom, stretch, or the NinjaTrader theme used can affect the detection result. This is why this indicator should be considered experimental.
  9. ATCHChartScan.exe saves the processed image to a file named chart_dump.png, found in the same directory as the executable.

Examples

Let's look at a few examples of the indicator in action.

Patterns on MES, 1-Minute

The indicator draws rectangles in red and green — red for bearish patterns, green for bullish patterns.

  • Below each rectangle is the pattern's label — "Buy", "Sell", "W_Bottom", etc. — the class recognized by the model.
  • Next to each label is the confidence score, a number between 0 and 1 that scores the pattern's validity. A score of 1 would mean the model is 100% confident, though in practice the confidence score never reaches exactly 1.
  • The indicator lets you control the minimum confidence level displayed on the chart.
Patterns detected on MES, 1-Minute
Click to enlarge
Bullish Pattern and Entry on MES, 1-Minute

In this example, the recognition model identified a W_Bottom pattern right at the chart's last real-time bar, leading to a profitable entry on a Sim account — demonstrating that the indicator can produce real-time pattern signals, not only patterns on historical data.

Bullish pattern and entry on MES, 1-Minute
Click to enlarge

Parameters

We always try to keep the parameters to a minimum.

License
License The free license key you get when you create an account. After you create an account, copy your license key from the billing page. You only need to set this parameter once per month — once validated, it's remembered for the rest of the billing cycle. This indicator is entirely free to use, but you need to register for a free account and license to run it.
General
AI Engine PathThe path to the folder where you've installed ATCHChartScan.exe.
Scan For Buy Sell PatternsEnables/disables calling the Object Recognition Algorithm and "Buy-Sell Decision" Model to scan for Buy/Sell patterns.
Scan For Chart PatternsEnables/disables calling the Stock Market Pattern Detection Model to scan for more complex chart patterns.
Min. Confidence (0.1 to 1.0)Sets the minimum accepted confidence for detected patterns. 0.1 is the minimum value, 1.0 the maximum.
Show Confidence ScoreShows/hides the confidence score and pattern name drawn on the chart.
Reset At Each New ScanRemoves all detections and chart drawings each time the detection engine is called. When disabled, each newly drawn pattern is kept from call to call.
Rendering
Bullish ColorThe color used to draw bullish patterns.
Bearish ColorThe color used to draw bearish patterns.

Download & Installation Instructions

License Requirements

At automated-trading.ch you can choose to either purchase a monthly subscription to use our premium products, or use our free products without subscribing.

In both cases, you need to create an account so you can get a License you can use for both premium and free products.

To obtain your license, simply sign up and then get your license on the billing page.

Important: This is a Free product — no paid subscription is required to run it live, though creating an account is still required to get your license.
Download
Sign in to download this file.
Latest Version v1.0.0.3 · Published 1 year ago
This file was downloaded 290 times. Last download was 16 hours ago.

You can also download this strategy — and every other automated-trading.ch strategy or indicator — anytime from your centralized Downloads page.

Installation Steps
1
The indicator also requires the companion ATCHChartScan.exe program (a separate, larger download). Extract it into any folder — preferably C:\Users\{Your Windows Username}\Documents\ATCHChartScan — you'll need this folder's path for the indicator's AI Engine Path parameter below.
2
Import the downloaded .zip file into NinjaTrader using the Import NinjaScript menu item.
3
Open a new chart window.
4
Right-click the chart and choose Indicators... to open the indicator list.
5
While adding the indicator, paste your free license (found on the billing page) into the License parameter.
6
Once added, the indicator continues running on live market data. It will start the ATCHChartScan.exe process, establish communication with it, and draw recognized patterns on the chart.

Frequently Asked Questions

General

Yes — if you have an idea that you believe can improve this indicator, use the contact page to send us a message.

No, the source code of the indicator is protected for copyright reasons.

No, this indicator only does rendering and doesn't provide data that can be used from within a strategy — check out our other strategies for one based on this same concept.

Yes, you can use this indicator without TickReplay, but bear in mind that in this case the indicator will not detect events on historical candles — it will only start detecting them on real-time volume and price data.

This happens because the detection model scans the chart image, not the underlying numbers — the recognition result can therefore vary from one scan to the next depending on how the chart image itself looks. To work around this, manually scroll the chart so the detection engine scans different viewpoints of it, and disable the Reset At Each New Scan parameter.

Release Notes

  • Fix ATCHCharScan.exe ArmDot issue

  • Fix License verification Logic

  • First Release of the indicator
discord
Join our Discord community
Questions, feedback, or just want to chat with other traders? Come say hi.
Join Discord
Quick Facts
Platform NinjaTrader 8
Category Indicator
Plan Required Free
Latest Version v1.0.0.3
Last Updated 1 year ago
Downloads 290