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
160 lines of Pine Script v6 from indicator/Macro Dashboard.pine, published under MPL-2.0 (file header). Keep the author's credit and licence lines when you reuse it.
The PnL Matrix compares price with volume-weighted cost bases over one to four years and ranks the average gap as a percentile over a lookback in weeks. The Valuator fits a log-price regression and converts the deviation from fair value to a Z-score. Inputs set the lookbacks and the zone thresholds labelled gift, cheap, expensive and bubble.
Percentile of price against multi-year volume-weighted cost
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Percentile Lookback (weeks)
int
208
inp_percentile_lookback
Gift Zone (%)
float
10.0
inp_pnl_gift
Bubble Zone (%)
float
90.0
inp_pnl_bubble
Regression Lookback (bars)
int
200
inp_lookback
EMA Period
int
52
inp_ema_period
Gift Zone (Z <)
float
-1.5
inp_val_gift
Cheap Zone (Z <)
float
-0.8
inp_val_cheap
Expensive Zone (Z >)
float
0.8
inp_val_exp
Bubble Zone (Z >)
float
1.5
inp_val_bubble
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 identifies mean-reversion setups by combining Bollinger Bands with Fair Value Gaps (FVGs). It tracks FVGs that print outside the upper or lower Bollinger Bands and counts them toward an alert threshold. Signals trigger upon gap mitigation (by to
Leptokurtic Directional Bias is an overlay indicator that measures kurtosis on a chosen source and marks directional bias on the price chart. The source can be a moving average, ATR, volume, close, or a Bollinger-band trend stop. Bias mode switches among RSI m
Commodity Heat Reversal plots score-based mean-reversion reversal markers on the price chart for commodity futures, aimed at the four-hour timeframe. It builds separate long and short heat scores from ATR distance to a mean moving average, ATR expansion, RSI e
Dynamic Extreme Channels & Reversals tracks evolving price highs and lows to plot adaptive channel bands and a midline directly on the price chart. When no new extremes occur within the specified lookback window, the channel boundaries interpolate toward price
This indicator plots directional trade signals, ATR-based target and stop-loss boxes, and SuperSmoother reversal bands directly on the price chart. It evaluates market conditions across selectable technical strategies, displaying confidence scores alongside an
This overlay indicator recreates short-setup conditions and audits their later outcomes on the price chart. It scores optional percent-surge, RSI overbought rollover, Bollinger exhaustion, volume spike, and EMA trend filters, then marks BASE or STRONG signals