A separate-pane sentiment oscillator that blends several fear and greed components into one composite score: VIX, market breadth, put/call ratio, safe-haven flows, momentum, price strength, junk bonds and an optional crypto component.
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
Scores are shown as z-scores or on a 0 to 100 scale, with colored zones, optional buy and sell markers, a momentum line and an info table. Weights, sensitivity mode and thresholds are adjustable, and it relies on external symbols that must be available.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Sensitivity Mode
string
Adaptive
sensitivityMode
Normalization Period (Days)
int
126
normPeriod
Fast Period (Days)
int
21
fastPeriod_input
Slow Period (Days)
int
63
slowPeriod_input
VIX Weight
float
0.143
vixWeight_input
Market Breadth Weight
float
0.143
breadthWeight_input
Put/Call Weight
float
0.143
pcWeight_input
Safe Haven Weight
float
0.143
safeWeight_input
Market Momentum Weight
float
0.143
momentumWeight_input
Price Strength Weight
float
0.143
priceStrengthWeight_input
Junk Bond Weight
float
0.142
junkBondWeight_input
Crypto Weight (Bonus)
float
0.100
cryptoWeight_input
Show all 26 settings
Setting
Type
Default
Variable
Use CNN-Style 0-100 Scale
bool
false
useCNNStyle
Show Individual Components
bool
false
showComponents
Show Momentum Oscillator
bool
true
showMomentum
Show Buy/Sell Signals
bool
true
showSignals
Show Info Table
bool
true
showTable
Debug Mode (Show Raw Values)
bool
false
debugMode
Extreme Fear
float
1.0
z_extremeFear
Moderate Fear
float
0.5
z_moderateFear
Extreme Greed
float
-1.0
z_extremeGreed
Moderate Greed
float
-0.5
z_moderateGreed
Extreme Fear
int
25
cnn_extremeFear
Moderate Fear
int
45
cnn_moderateFear
Extreme Greed
int
75
cnn_extremeGreed
Moderate Greed
int
55
cnn_moderateGreed
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 scans a pasted list of symbols for RSI directional momentum and shows matching long and short signals in a table in a separate pane. The user chooses continuous break, continuous retracement, flip break, flip retracement, divergence, or hidden d
This indicator plots the RSI oscillator on the main chart and displays its value distribution in a table positioned at the top right. The script calculates the relative strength index using the input source and length, then plots horizontal lines at 0, 50, and
Market Speedometer plots a 0-100 market speed reading in a separate pane. It measures movement by bar-to-bar change, true range, or a short average of recent bars, then ranks that movement against ATR and a percentile lookback. An EMA smooths the reading, and
KamaFama is an indicator that translates a Freqtrade trading strategy into Pine Script for visualization. It combines Kaufman Adaptive Moving Average (KAMA), MAMA/FAMA calculations derived via Hilbert Transform, Williams %R, and correlation trend filters to ev
Calculates normalized reversal metrics across up to ten Forex currency pairs using user-selected moving average methods, including HarmonicMA, EMA, SMA, or WMA. The indicator identifies overbought, oversold, and mean-crossing conditions using a configurable th
The 8-Factor Composite Screener evaluates equities across fundamental and technical criteria, including valuation ratios, earnings and revenue growth, 12-month return momentum, proximity to 52-week highs, Stage 2 moving average alignment, benchmark relative st