- Product type
- Indicator
- Platforms
- TV
- Market / symbol
- Gold, FX majors, Indices, Crypto
- Experience level
- Beginner
- Delivery
- File download from your dashboard
- Last update
- November 30, 2026
- Broker
- Any broker
- Product type
- Indicator
- Platforms
- TV
- Market / symbol
- Gold, FX majors, Indices, Crypto
- Experience level
- Beginner
- Delivery
- File download from your dashboard
- Last update
- November 30, 2026
- Broker
- Any broker
Overview
Supertrend is one of the simplest ways to see trend direction and a sensible stop area. A line below price means an uptrend; above price means a downtrend. This version uses the standard calculation with a cleaner display and ready-made alerts.
By default labels appear only after the bar closes, so a label you see does not appear mid-bar and then vanish.
Supertrend flips often in ranging markets and produces false signals. Use it with market structure and risk management, not on its own.
- Green line for uptrends, red for downtrends
- BUY and SELL labels on the flip bar
- Optional shading between price and the line, and bar coloring
- Three alerts: turned up, turned down, any direction change
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
The line
- Uses the built-in
ta.supertrend: the bar midpoint (High + Low) ÷ 2, plus and minus factor × ATR. - In an uptrend the lower band can only rise; in a downtrend the upper band can only fall.
Direction change
- When the close crosses the opposite band, the direction flips and the line moves to the other side of price.
- BUY is placed on the first bar of an uptrend and SELL on the first bar of a downtrend.
Bar close
- With
Signals on bar close onlyon, labels and alerts are recorded on closed bars only. - The line itself may still move on the current bar until it closes.
Specifications
Requirements
- TradingView, the free plan is enough
- Any timeframe and any symbol where ATR makes sense
- Expect many false signals in ranging markets
- Platforms
- TV
- Delivery
- Use case
- Swing، Trend following
- Market
- Gold، FX majors، Indices، Crypto
- 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 |
|---|---|---|
ATR lengthBars used for the ATR |
10 |
Bars used for the ATR |
FactorATR multiplier; higher means a wider line and fewer flips |
3.0 |
ATR multiplier; higher means a wider line and fewer flips |
Signals on bar close onlyShow labels and fire alerts only after the bar closes |
true |
Show labels and fire alerts only after the bar closes |
Show Buy/Sell labelsShow BUY and SELL labels where the direction flips |
true |
Show BUY and SELL labels where the direction flips |
Fill trend areaShade the area between price and the Supertrend line |
true |
Shade the area between price and the Supertrend line |
Color barsColor the bars by trend direction |
false |
Color the bars by trend direction |
Install guide
- Unzip the download. It contains
SupertrendSignals.pineand a short readme. - Open
SupertrendSignals.pinein a text editor such as Notepad and copy all of it. - In TradingView open a chart and click the Pine Editor tab at the bottom of the screen.
- Create a new blank indicator, select all of the default code and paste over it.
- Click Add to chart.
- Click Save to keep it in your scripts, so you can add it later from the Indicators menu.
Works on the free TradingView plan; your plan’s limit on indicators per chart still applies.
Changelog
-
v1.0.0 TV 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
Do the signals repaint?
What settings work best for gold?
Can I use the alerts for automated entries?
Related products
More Indicators and tools from the same family
Risk warning