- Product type
- Indicator
- Platforms
- NT
- Market / symbol
- Gold, Indices, Crypto, Oil
- Experience level
- Beginner
- Delivery
- File download from your dashboard
- Last update
- November 30, 2026
- Broker
- Any broker
- Product type
- Indicator
- Platforms
- NT
- Market / symbol
- Gold, Indices, Crypto, Oil
- Experience level
- Beginner
- Delivery
- File download from your dashboard
- Last update
- November 30, 2026
- Broker
- Any broker
Overview
NinjaTrader 8 does not ship with a Supertrend indicator. This version implements the well-known calculation: a line that trails below price in an uptrend and above it in a downtrend, at a distance taken from ATR.
The line changes colour with the trend, and the price bars can follow it if you like. Besides the line itself there is a Trend series, +1 in an uptrend and -1 in a downtrend, which keeps strategy conditions simple.
Supertrend is a trend-following tool. In a ranging market it flips back and forth; that is the nature of the calculation, not a fault of this version.
- Adjustable ATR period and multiplier
- Line colour follows the trend direction
- Optional bar colouring
- A Trend series for strategies and the Market Analyzer
Made by
This tool is written by the TradeKit team. The source code is open and included in the download. It is free to use.
Strategy logic
Bands
- The midpoint of each bar is
(High + Low) / 2. - Upper band: midpoint plus
Multiplier × ATR. Lower band: midpoint minus the same amount. - The lower band only rises and the upper band only falls, unless the previous bar closed through it.
Trend direction
- In an uptrend, a close below the lower band turns the trend down.
- In a downtrend, a close above the upper band turns the trend up.
- The Supertrend line is the lower band in an uptrend and the upper band in a downtrend.
Outputs
- A plot named Supertrend: the line value.
- A Trend series: +1 or -1.
Specifications
Requirements
- NinjaTrader 8
- Works on any chart type and timeframe
- Ignore the first few dozen bars of the chart, where ATR has not settled yet
- Platforms
- NT
- Delivery
- Use case
- Swing، Trend following
- Market
- Gold، Indices، Crypto، Oil
- Experience level
- Beginner
Compatible brokers
Which brokers this product works with, and which it works best with.
No broker restriction: it works with any broker that offers the product's platform.
The broker choice is yours; TradeKit is not a broker. Check account terms before depositing. All brokers
Input parameters
| Parameter | Default | Description |
|---|---|---|
AtrPeriodATR period |
10 |
ATR period |
MultiplierATR multiplier for the distance of the line from price |
3.0 |
ATR multiplier for the distance of the line from price |
ColorBarsColour the price bars by trend direction |
false |
Colour the price bars by trend direction |
UpBrushLine colour while the trend is up |
LimeGreen |
Line colour while the trend is up |
DownBrushLine colour while the trend is down |
Red |
Line colour while the trend is down |
Install guide
- Unzip the download. It contains
TradeKitSupertrend.csand a short readme. - Copy
TradeKitSupertrend.csintoDocuments\NinjaTrader 8\bin\Custom\Indicators. - In NinjaTrader open New › NinjaScript Editor and press F5 to compile.
- Right-click a chart, choose Indicators and add
TradeKitSupertrendfrom the list.
F5 compiles every script in the Custom folder together. If another script has an error, this indicator will not appear in the list until that error is fixed.
Changelog
-
v1.0.0 NT New November 30, 2026
- Published on TradeKit
Buyer reviews
No reviews yet.
Only verified buyers can review. Reviews are moderated before publishing.
Only verified buyers can review. Reviews are moderated before publishing.
Sign in to write a reviewFAQ
Does the line change after a bar closes?
Do the numbers match Supertrend on other platforms?
Which settings are best?
How do I read the direction in a strategy?
Related products
More Indicators and tools from the same family
Risk warning