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
Advanced Fed Decision Forecast Model (AFDFM) evaluates economic inputs including the Taylor Rule, employment conditions, financial conditions, inflation expectations, and growth momentum. Plotted in a separate pane, the script displays a smoothed forecast line, uncertainty bands, threshold levels, and an on-screen analytics dashboard. Users can toggle model complexity, customize component weighting, adjust Taylor Rule parameters (alpha, beta, inflation target, and neutral rate), and modify lookback periods.
Multi-factor Fed monetary policy decision model
Taylor Rule implementation with adjustable parameters
Regime detection with Hawkish and Dovish thresholds
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Model Complexity
string
Advanced
model_complexity
Hawkish Interpretation Mode
bool
false
hawkish_interpretation
Historical Lookback (Trading Days)
int
252
lookback_period
Signal Smoothing Period
int
21
smoothing_length
Confidence Band Period
int
55
confidence_period
Regime-Dependent Analysis
bool
true
enable_regime_thresholds
Crisis Regime Sensitivity
float
1.5
crisis_sensitivity
Taylor Rule Alpha (Inflation Weight)
float
0.5
taylor_alpha
Taylor Rule Beta (Output Gap Weight)
float
0.5
taylor_beta
Inflation Target (%)
float
2.0
inflation_target
Neutral Real Rate (%)
float
2.5
neutral_rate
Hawkish Threshold
float
2.0
hawkish_threshold
Show all 31 settings
Setting
Type
Default
Variable
Dovish Threshold
float
-2.0
dovish_threshold
Enable Custom Weights
bool
false
enable_custom_weights
Taylor Rule (%)
float
25.0
custom_taylor
Employment Conditions (%)
float
20.0
custom_employment
Financial Conditions (%)
float
18.0
custom_financial
Inflation Expectations (%)
float
15.0
custom_inflation_exp
Growth Momentum (%)
float
12.0
custom_growth
Liquidity Conditions (%)
float
10.0
custom_liquidity
Show Component Breakdown
bool
false
show_components
Show Policy Regime
bool
true
show_regime_detection
Show Uncertainty Bands
bool
true
show_confidence_bands
Show Research Levels
bool
true
show_research_levels
Show Analytics Dashboard
bool
true
show_dashboard
Show Signal Background
bool
true
show_dynamic_background
Background Intensity (%)
int
95
background_intensity
Color Theme
string
EdgeTools
color_scheme
Optimize for Dark Theme
bool
true
use_dark_mode
Main Line Width
int
3
main_line_width
Enable Professional Alerts
bool
false
enable_alerts
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 measures the chart symbol’s percentage change from the opening price at the start of each US presidential term and plots those values as histogram columns in a separate pane. Columns are offset so each administration appears separately, with a s
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 builds a TradingView table in a separate pane and fills its cells with fixed placeholder text according to whether each row and column index is even or odd. Users set the table position, the number of rows and columns, and the background, frame,
Donald SPX - Options Trading is an indicator designed to assist SPX index option traders by tracking session benchmarks and multi-timeframe moving average data. It calculates a 200-period weighted moving average (WMA) and requests multi-timeframe bar data from
Calculates and plots a weighted histogram of constituent returns for major market indices (NDX, SPX, DJIA, and RUT) in a separate pane. Each histogram bin reflects the summed weights of members within that percentage return bracket. The script renders vertical
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