1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
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
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
TriexDev - SuperBuySellTrend (PLUS+) plots trailing stop lines, highlights active trend directions, and prints buy or sell shape labels when price closes across band thresholds. Inputs allow configuring the ATR period, calculation type, and dual multipliers, alongside toggling supplementary EMAs, Bollinger Bands, daily and weekly levels, and volume analysis. Higher-timeframe data references in the script introduce lookahead bias.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
ATR Period
int
10
Periods
Source
source
hl2
src
ATR Multiplier 1
float
0.8
Multiplier1
ATR Multiplier 2
float
1.6
Multiplier2
Change ATR Calculation Method ?
bool
true
changeATR
Show Buy/Sell Signals ?
bool
true
showsignals
Highlighter On/Off ?
bool
true
highlighting
Toggle Bollinger Bands
bool
false
toggleBBon
Up/Down Volume Analysis
bool
false
toggleVolumeOn
Pivot
int
-5
pivot_offset_input
MA/HiLo
int
5
label_offset_input
Override chart symbol?
bool
false
overridesym
Show all 40 settings
Setting
Type
Default
Variable
pvsra_sym
symbol
INDEX:BTCUSD
pvsra_sym
Show EMAs?
bool
true
showEmas
EMA Labels?
bool
false
labelEmas
50
color
color.rgb(31, 188, 211, 0)
threeEmaColor
200
color
color.rgb(255, 255, 255, 0)
fourEmaColor
800
color
color.rgb(50, 34, 144, 0)
fiveEmaColor
EMA Cloud
color
color.rgb(155, 47, 174, 60)
EmaCloudColor
Border
color
color.rgb(18, 137, 123, 100)
EmaCloudBorderColor
Show Hi/Lo: Daily?
bool
true
showDayHighLow
Weekly?
bool
true
showWeekHighLow
Show labels?
bool
true
showDayHighLowLabels
Show: line ?
bool
true
show_rectangle9
Label?
bool
true
show_label9
Show historical daily opens?
bool
false
showallDly
Daily Open Color
color
color.rgb(254, 234, 78, 0)
sess9col
Show: Levels?
bool
true
show_psylevels
Labels?
bool
true
show_psylabel
Psy Hi Color
color
color.new(color.orange, 30)
psycolH
Psy Low Color
color
color.new(color.orange, 30)
psycolL
Climax Up Color
color
color.lime
CUColor
Climax Down Color
color
color.red
CDColor
Volume Rising Above Average Up Color
color
color.blue
AUColor
Volume Rising Above Average Down Color
color
color.fuchsia
ADColor
lengthBB
int
20
lengthBB
Source
source
close
srcBB
StdDev
float
2.0
multBB
Offset
int
0
Offset
Use custom timeframe
bool
false
useCustomTimeframeInput
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.
The MA Envelope indicator calculates upper and lower channel bands shifted by a user-defined percentage around a baseline moving average. It supports Simple Moving Average, Exponential Moving Average, and Weighted Moving Average calculation types. The script p
Trend Compass 4H plots a multi-EMA ribbon (10/21/50) along with higher-timeframe reference levels on the price chart. It classifies trend phase into six states and calculates a composite weighted trend score. The script detects RSI and MACD divergences, analyz
My Macro Cycle Indicator plots daily and weekly simple and exponential moving averages on the price chart, plus Pi Cycle and Mayer Multiple levels derived from the 200-day average. Optional toggles add support-band fills, a Keltner channel, CME futures gaps, a
This indicator plots a double-smoothed Supertrend baseline on the price chart, combining a Supertrend midline with WMA and EMA smoothing to show trend direction. Direction uses an ATR-scaled baseline slope with hysteresis, while percentile-ranked slope magnitu
This indicator overlays an all-in-one technical analysis toolkit on the price chart. It plots multiple moving averages, including standard EMAs, SMAs, and a Trend Regularity Adaptive Moving Average, alongside Bollinger Bands, Supertrend, Nadaraya-Watson envelo
The script VOIDRLM combines multiple technical analysis tools into a single overlay indicator on the price chart. It calculates multi-timeframe pivot points, volume-weighted average price (VWAP), customizable moving averages, moving average clouds, supply and