Indicator · Pine Script v5 · On the chart

Nazilli SuperTrend

by Kalumur

The Nazilli SuperTrend indicator combines an ALMA moving average with multiple SuperTrend configurations to identify trend changes on the price chart.

View on GitHub

GitHub stars4on the repository
Pine versionv5runs as is
Lines of code575
Settings40inputs
LicenceNone stated
Last update2 years ago5 May 2024

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

Nazilli SuperTrend plots the ALMA line in blue and red colors for up and down trends, along with SuperTrend lines for four different sets using ATR periods, multipliers, and sources. Buy and sell signals are generated when the trend reverses and can be displayed as labels. The indicator allows customization of ALMA settings and four SuperTrend parameter groups including ATR calculation method, signal visibility, and highlighting options. It draws on the main price chart.

Details

Published by

Kalumur on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Trend, Moving averages, Volatility & bands

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
Arnaud Legoux MA Lengthint14len1
Sourcesourceclosesrc22
ALMA Offsetfloat0.85offset
ALMA Sigma Valueint6sigma
ALMAPeriyodtimeframe1Wres18
Set 1 ATR Periodint10Periods
Set 1 Sourcesourcehl2src
Set 1 ATR Multiplierfloat3.336Multiplier
Set 1 Change ATR Calculation Method ?booltruechangeATR
Set 1 Show Buy/Sell Signals ?booltrueshowsignals
Set 1 Highlighter On/Off ?booltruehighlighting
Set 2 ATR Period Setint10Periods2
Show all 40 settings
SettingTypeDefaultVariable
Set 2 Sourcesourcehl2src2
Set 2 ATR Multiplierfloat2.636Multiplier2
Set 2 Change ATR Calculation Method?booltruechangeATR2
Set 2 Show Buy/Sell Signals?booltrueshowsignals2
Set 2 Highlighter On/Off?booltruehighlighting2
Set 3 ATR Periodint10Periods3
Set 3 Sourcesourcehl2src3
Set 3 ATR Multiplierfloat9.736Multiplier3
Set 3 Change ATR Calculation Method?booltruechangeATR3
Set 3 Show Buy/Sell Signals?booltrueshowsignals3
Set 3 Highlighter On/Off?booltruehighlighting3
Set 4 ATR Periodint10Periods4
Set 4 Sourcesourcehl2src4
Set 4 ATR Multiplierfloat8.536Multiplier4
Set 4 Change ATR Calculation Method?booltruechangeATR4
Set 4 Show Buy/Sell Signals?booltrueshowsignals4
Set 4 Highlighter On/Off?booltruehighlighting4
sourcesourcehlc3src9
lenghtint50len
StdDevfloat2.0mult
upper band colorcolorcolor.rgb(194, 1, 1)cu
lower band colorcolorcolor.rgb(34, 135, 0)cl
dashedboolfalsedashed
transpbooltruetransp
Swing High/Low Lengthint10swing_length
History To Keepint20history_of_demand_to_keep
ARZ/TALEP KUTUSU GENİŞLİĞİfloat10box_width
Show Zig Zagboolfalseshow_zigzag
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

318 stars

This indicator plots four customizable moving averages directly on the main price chart using default lengths of 3, 8, 21, and 50 periods. It fills the space between adjacent averages in green or maroon depending on trend alignment. Additionally, it computes B

Indicator v5 Moving averagesTrend
Updated 2 months ago · MIT GitHub repository of Multiple Moving Averages

NVDA Trend Ribbon

by longsurf-ai
277 stars

This indicator plots three exponential moving averages and ATR volatility envelopes on the price chart. It compares the fast and slow EMAs to shade a trend ribbon and marks confirmed upward and downward crossovers with triangle labels. Settings change the thre

Indicator v6 TrendMoving averages
Updated yesterday · MIT GitHub repository of NVDA Trend Ribbon

Bollinger Bands Force

by harryguiacorn
219 stars

This indicator modifies standard Bollinger Bands to measure directional trend force based on line alignment. It calculates a simple moving average basis along with upper and lower volatility bands. When all three lines move upward or downward simultaneously, i

Indicator v5 Volatility & bandsTrend
Updated 1 year ago · None stated GitHub repository of Bollinger Bands Force

Adaptive MA Slope

by capissimo
114 stars

This indicator calculates Kaufman's Adaptive Moving Average (KAMA) on a chosen price source and determines trend direction based on the slope across a configurable lookback window. Signals can be filtered by short-term volatility expansion using ATR comparison

Indicator v4 Moving averagesTrend
Updated 1 year ago · None stated GitHub repository of Adaptive MA Slope

More indicators

Trade Your Charts With a Regulated Broker

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

Compare brokers