1Copy the scriptPress Copy script above, or the copy button on the code below.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
Source Code
152 lines of Pine Script v6 from 4 - STR (v6).pine, published under MPL-2.0 (file header). Keep the author's credit and licence lines when you reuse it.
SuperTrend signals bullish conditions when price stays above the green support line and bearish conditions when price falls below the red resistance line. Users can customize the calculation timeframe, price source, ATR length, and independent positive and negative multipliers. It draws on the price chart as an overlay, although metadata flags a separate pane. Notable limitations include the absence of built-in execution rules or trade alerts.
Multi-timeframe support via Indicator Timeframe input
ATR-based dynamic support/resistance levels
Separate multipliers for positive and negative bands
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Indicator Timeframe
timeframe
vTimeframe
Source
source
close
vStrSource
Positive Multiplier
float
1.1
vStrPositiveMultiplier
Negative Multiplier
float
1.1
vStrNegativeMultiplier
Length
int
10
vStrLength
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.
This indicator is a live strategy scanner for cryptocurrency pairs. It runs six strategies on the current chart, tracks their wins and losses, and rates them to show the best one for this pair and timeframe. It uses ATR for adaptive TP/SL, auto-scales based on
This indicator tracks market direction by combining Bollinger Bands breakouts with ATR-adjusted pivot point channels. It establishes a primary trend line based on price breaking outer Bollinger Bands filtered by ATR, then validates the movement with a secondar
The Grid Bot Direction Plugin Supertrend Pivot indicator calculates dynamic market trend direction for automated grid trading. It computes a smoothed center level derived from pivot highs and lows, combining it with ATR-based bands to generate a trailing stop
The Keltner Center Of Gravity Channel Mutations Indicator calculates adaptive channel metrics based on Donchian range Fibonacci levels (38.2% and 61.8%) and Average True Range (ATR) offsets. The lookback period automatically adjusts according to the active tim
This indicator draws a Kalman-based trend strength oscillator in a separate pane. It can plot a Kalman filter and an optional Follow Line filtered by ATR and Bollinger Bands, with an optional fill between those lines. ZigZag swings and higher-timeframe PO3 gho
This indicator plots Donchian Channel boundary lines along with dynamic fan projections directly on the price chart. It calculates the highest high, lowest low, and median price over a customizable lookback period. Whenever price establishes a new channel high