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
Supertrend direction, MACD line against its signal line, price against a 50-period EMA, and a hand-built ADX with directional indicators each add or subtract one, with ADX counting only above its threshold. Positive totals give a green triangle and background, negative totals red, zero gray. An aggregation length smooths the result, the Supertrend and EMA are plotted, and an alert fires on bar close.
Four-vote score from Supertrend, MACD, EMA and ADX
Long, short and neutral markers with background color
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Supertrend ATR Period
int
10
stAtrPeriod
Supertrend Multiplier
float
3.0
stMultiplier
MACD Fast Length
int
12
macdFast
MACD Slow Length
int
26
macdSlow
MACD Signal Length
int
9
macdSignal
EMA Length
int
50
emaLength
ADX Length
int
14
adxLength
ADX Threshold
float
25.0
adxThreshold
Signal Aggregation Length
int
1
aggLen
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 Adaptive RSI Moving Average (ARSIMA) is an overlay indicator that dynamically adjusts its smoothing factor based on the Relative Strength Index (RSI). When the RSI moves toward extreme overbought or oversold conditions, the smoothing factor increases to ma
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
This indicator uses a Lorentzian distance k-nearest neighbors classification algorithm to predict market direction based on up to five technical features, such as RSI, WaveTrend, CCI, and ADX. It compares current feature values against historical bar patterns
TradersPost Trading Checklist is an overlay indicator that evaluates a suite of popular technical conditions for long and short trade setups. It checks session-anchored VWAP, fast and slow EMA alignments and crosses, 200 SMA, RSI overbought or oversold conditi
Calculates market regime conditions by combining RSI, MACD, and ADX/DMI indicators. It evaluates whether the market is in a strong bullish, strong bearish, neutral, or non-trending regime. The script plots a colored line overlaying the close price to reflect t
This indicator plots an adaptive moving average or scaled RSI divergence line directly on the price chart. It calculates dual RSI series to measure momentum divergence, scales the values to the chart's price range, and constructs an adaptive average filtered b