Swing Breakout Sequence Indicator

Created 23 Jun 2024 · Updated 30 Aug 2026

The NinjaTrader 8 Swing Breakout Sequence indicator is a Premium indicator inspired by Stoic Trader's trading model.

Prerequisites

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


  • NinjaTrader 8, with any license type. Click here to download
  • Order Flow data is not required to use this indicator — you don't need a Lifetime license.
  • An automated-trading.ch account with an active Premium Subscription

Description

This indicator implements a high-probability entry model with a defined risk-reward ratio, based on a sequence of 5 swings. The long-model entry pattern is illustrated below; the short-model entry is the inverse.

Swing Breakout Sequence pattern definition showing 5-swing long entry model
Click to enlarge

Examples

Detection of entries based on the Swing Breakout Sequence

On NQ on the 15-second timeframe, both long and short entry signals were detected. A long Swing Breakout Sequence ending with a confirmed long entry signal shows a 1:1 win-loss ratio, with the potential stop loss level drawn in cyan with a dashed line at the beginning of the sequence.

Long entry example on NQ 15-second timeframe
Click to enlarge

A short entry sequence with a confirmed entry signal likewise draws a 1:1 win-loss ratio. When the market is volatile and choppy, the indicator can detect multiple interfering sequences, and some of those will be losing trades.

Short entry example on NQ 15-second timeframe
Click to enlarge

Features

The Swing Breakout Sequence indicator has a set of unique features:

  • Plots Swing Breakout Sequences on all timeframes
  • Highly customizable, lightweight, and adaptable to a wide range of instruments
  • Can be integrated into the NinjaTrader Strategy Builder or Bloodhound software

Parameters

We always try to keep the parameters to a minimum.

Market Structure
Swing PeriodSwings are higher lows, higher highs, lower highs, and lower lows. This parameter sets how many bars is enough to separate two swings of the same type — the higher this value, the fewer swings overall.
Breakout Swing
  • Prior Swing, Swing 1 through Swing 4: the sequence gets validated and drawn when price closes above/below the corresponding swing
  • Immediate Swing 4: validates and draws the sequence immediately when price closes above/below the 0.618 Fibo level after the 3rd swing forms, without waiting for a breakout or a 5th swing
  • Fibonacci Retracement: validates and draws the sequence when price closes above/below the level specified by Breakout Fibo Level
Breakout Fibo LevelOnly used when Breakout Swing is Fibonacci Retracement — one of 23.60%, 38.20%, 50%, 61.80%, or 76.40%, each calculated from Swing 4 in the sequence.
Quality Filter
  • Only High Quality: filters out SBS patterns that don't respect certain ratio rules, keeping only high-quality ones
  • No Filter: deactivates the filter and shows all detected SBS
Invalidation Method
  • Bar Wick: an SBS becomes invalid if a bar wick mitigates the prior swing level
  • Bar Close: an SBS becomes invalid if its prior swing level is mitigated by a bar close
Min SBS Bars CountFilters out SBS structures spanning too few bars to be significant.
Max SBS Bars CountFilters out SBS structures spanning too many bars — these generally don't produce profitable signals.
Max Bars Between SwingsFilters out SBS structures whose swing points span too many bars between them.
Rendering
Render Opacity (1-100)The opacity to render objects on the chart.
Prior Level Bearish Color / Prior Level Bullish ColorDraw color of the prior bearish/bullish level.
Show SBS Prior Swing LevelsEnables/disables drawing the prior higher highs and lower lows of each swing sequence — fixed to Gold.
Bearish Color / Bullish ColorDraw color of bearish/bullish items.
Show Price SwingsEnables/disables drawing of swing points on the chart.
Show Sequence NumbersEnables/disables drawing of numbers labels below/above each swing sequence point.
Show Sequence LinesEnables/disables drawing of lines connecting the swing sequence points.
Show Signal ArrowEnables/disables drawing of the arrow on each valid swing sequence breakout.
Show Risk/RewardEnables/disables drawing of the risk/reward tool on each valid swing sequence breakout.
Risk/Reward RatioWhen drawing risk/reward is enabled, sets the risk/reward ratio value.
General
Play SoundEnables playing an alert sound when a swing sequence is detected.
Play Sound FileThe file name played on sound alert — can be set to any .wav file on your computer.

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 Premium product. It can be run in Backtest, Playback, and Optimization modes for free; an active Premium subscription is required to run it live.
Download
Sign in to download this file.
Latest Version v1.9.0.2 · Published 1 year ago
This file was downloaded 1707 times. Last download was 5 seconds 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
Import the downloaded .zip file into NinjaTrader using the Import NinjaScript menu item.
2
Open a new chart window.
3
Right-click the chart and choose Indicators... to add the indicator to the chart.
4
Copy/paste your license key, found on the billing page, into the license parameter.
5
After adding the indicator to the chart, it runs on the chart's historical data first, then continues running on live market data. The indicator has two output plot series usable in the Strategy Builder or Bloodhound — one for Buy signals, one for Sell signals.

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.

Release Notes

  • Exposing parameters for use inside Ninjatrader Strategy Builder

  • Bug Fix: Bloodhound and Algo Studio Pro integrations

  • Added new breakout method: Immediate Swing 4; Added filter: Max bars between swings

  • Indicator became Premium requiring subscription; Added Buy/Sell signal plots for Strategy builder/Bloodhound

  • pixel-based SBS number drawing; Added "Invalidation Method", "Min SBS Bars Count", "Max SBS Bars Count"; sequences on invalidated swings removed

  • Added Brush selection for prior swing levels; Stop Loss calc updated (Prior Swing, Swing4, Swing5)

  • Removed strong condition on Swing5 price

  • Added Quality Filter option

  • Less strict detection rule; Added Fibonacci Retracement Breakout method

  • Bug Fixed Prior Swing Logic

  • Fixed Null reference exception; Added Swing Breakout option parameter

  • Fixed init error with Swing Period param; Improving speed via search reset on new day

  • Added Play sound option

  • 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 Premium
Latest Version v1.9.0.2
Last Updated 1 month ago
Downloads 1707