Indicator · Pine Script v5 · On the chart

Supertrend Enhanced

by haydarkadioglu

Supertrend Enhanced plots a classic ATR Supertrend on the price chart and marks trend flips as buy and sell signals.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code202
Settings19inputs
LicenceNone stated
Last update8 months ago17 Feb 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

Supertrend Enhanced builds upper and lower bands from an ATR or a simple moving average of true range, then flips direction when price crosses the opposite band. Optional filters require RSI to stay below a buy ceiling or above a sell floor, and volume to exceed its average by a multiplier. A higher-timeframe Supertrend can confirm the local trend. Users can toggle signals, labels, trend highlighting, colors, and a trend strength panel.

Details

Published by

haydarkadioglu on GitHub

Draws

On the price chart

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
ATR Periodint10atr_period
ATR Multiplierfloat3.0atr_multiplier
Sourcesourcehl2src
Use True ATRbooltruechange_atr
Enable RSI Filterbooltrueuse_rsi_filter
RSI Periodint14rsi_period
RSI Max for BUYint65rsi_buy_max
RSI Min for SELLint35rsi_sell_min
Enable Volume Filterbooltrueuse_volume_filter
Volume Multiplierfloat1.2volume_mult
Enable MTF Confirmationboolfalseuse_mtf
Higher Timeframetimeframe60mtf_timeframe
Show all 19 settings
SettingTypeDefaultVariable
Show Buy/Sell Signalsbooltrueshow_signals
Show Labels on Signalsbooltrueshow_labels
Highlight Trendbooltruehighlighting
Show Trend Strength Panelbooltrueshow_strength
Panel PositionstringTop Rightpanel_position
Bullish Colorcolor#00ff00bull_color
Bearish Colorcolor#ff0000bear_color
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

The Momentum Setup is a multi-indicator visual tool designed for trend and momentum analysis directly on the price chart. It combines Relative Strength Index (RSI), Money Flow Index (MFI), Commodity Channel Index (CCI), Supertrend, and a 250-bar percentage cha

Indicator v5 Oscillators & momentumTrend
Updated 1 year ago · MPL-2.0 GitHub repository of Momentum Setup - Ankush Bajaj Momentum Investing Setup

Aroon-based Strategy

by capissimo
114 stars

This indicator overlay generates buy and sell signals based on Aroon extreme levels combined with optional volume or volatility filters. It calculates Aroon Up and Aroon Down lines using localized high and low lookbacks, generating trade entries when Aroon rea

Indicator v4 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Aroon-based Strategy
92 stars

This indicator plots a volume-weighted average price of the typical price on the chart and colors that line by ADX strength. It draws a standard-deviation envelope around VWAP and tints the fill green when plus DI leads and red when minus DI leads. Triangle ma

Indicator v5 TrendOscillators & momentum
Updated 2 months ago · Custom licence GitHub repository of Moon Dev VWAP x ADX Explosion

Vein Exhaustion is a price-chart indicator that scores how stretched a directional move is before structure confirms a turn. It builds separate bull and bear scores from consecutive directional bars, EMA distance in ATR units, RSI and MFI extremes, volume-base

Indicator v6 TrendOscillators & momentum
Updated 3 days ago · MIT GitHub repository of Vein: Exhaustion [WavesUnchained]
7 stars

The MACD RSI EMA Aggressive indicator generates momentum and trend-following signals on the price chart. It combines a MACD crossover or crossunder with an RSI threshold filter, price location relative to an Exponential Moving Average, volume expansion above a

Indicator v5 TrendOscillators & momentum
Updated 3 months ago · None stated GitHub repository of MACD RSI EMA Aggressive + ATR SLTP

Capital41 Fusion Scalp

by damianpitt
6 stars

Capital41 Fusion Scalp is an overlay indicator that identifies high-confluence setups by combining four core conditions: EMA trend direction, RSI momentum, Williams %R levels, and ATR with volume expansion. Bullish and bearish signals are plotted on the chart

Indicator v6 TrendOscillators & momentum
Updated 2 months ago · MIT GitHub repository of Capital41 Fusion Scalp

More Trend scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers