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
ORB + Fib + MACD Indicator determines the high and low bounds of a user-defined initial session window, projects Fibonacci entry zones, and calculates take-profit and stop-loss levels. Traders can choose between session extremes, fixed points, ATR multipliers, or Fibonacci extensions for risk management. Fast and slow moving averages along with MACD filter setup signals directly on the main price chart.
Opening range duration configuration with session tracking
Fibonacci retracement entry zones and stop-loss levels
Multiple take-profit options including Fib extensions and ATR
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Opening Range Duration (minutes)
int
30
input_openingRangeMinutes
Fibonacci Entry Zone Start
float
0.50
input_fibEntryStart
Fibonacci Entry Zone End
float
0.618
input_fibEntryEnd
Stop Loss Fibonacci Level
float
0.786
input_stopLossFibLevel
Take Profit Method
string
Session High/Low
input_tpMethod
TP Fixed Points (Pips)
float
100.0
input_tpFixedPoints
TP Risk-Reward Ratio (e.g., 2 for 1:2)
float
2.0
input_tpRiskRewardRatio
TP Opening Range Multiplier
float
1.0
input_tpRangeMultiplier
TP Fibonacci Extension Level
float
1.272
input_tpFibExtensionLevel
Stop Loss Method
string
Fibonacci Level
input_slMethod
SL Fixed Points (Pips)
float
50.0
input_slFixedPoints
SL ATR Multiplier
float
1.5
input_slAtrMultiplier
Show all 18 settings
Setting
Type
Default
Variable
SL ATR Length
int
14
input_slAtrLength
Fast EMA Length
int
9
input_emaFastLength
Slow EMA Length
int
21
input_emaSlowLength
MACD Fast Length
int
12
input_macdFastLength
MACD Slow Length
int
26
input_macdSlowLength
MACD Signal Smoothing
int
9
input_macdSignalSmoothing
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 intraday overlay establishes directional bias and high-conviction swing setups for SPY on the 15-minute timeframe. It computes a weighted confluence score combining an EMA ribbon, a 50 EMA anchor, session VWAP bands, RSI divergence, ADX, TTM Squeeze, cand
This indicator plots entry signals directly on the price chart by combining Directional Movement Index (DMI) and Moving Average Convergence Divergence (MACD) indicators. It offers two distinct signal logic modes that trigger when DMI and MACD confirm each othe
This indicator plots multi-timeframe RSI signals on the price chart. It calculates a smoothed RSI using short and long periods with EMA smoothing, then applies a Stoch filter for direction changes. Signals trigger on crossovers and levels, combined with ADX tr
This indicator plots auto trade signals for E-mini S&P 500 futures on the price chart. It computes an EMA200 filter along with day ETH RTH session levels and percentage-based entry zones. Signals trigger CALL or PUT cases when price crosses defined thresholds
This indicator calculates key support and resistance levels by analyzing the first and second momentum derivatives of a Double Exponential Moving Average (DEMA). When the second derivative (momentum of momentum) crosses zero, it identifies local turning points
Moon Dev Lunar Sniper is a multi-indicator overlay that scores confluence across fast and slow EMAs, RSI, MACD, DMI, and BB width to fire signals only when score meets the minimum threshold. It plots buy and sell signals on the price chart, highlights cosmic b