Indicator · Pine Script v5 · On the chart

ORB + Fib + MACD Indicator

by alboogycOdR

The ORB + Fib + MACD Indicator combines Opening Range Breakout mechanics with Fibonacci retracement levels and MACD momentum filtering.

View on GitHub

GitHub stars6on the repository
Pine versionv5runs as is
Lines of code224
Settings18inputs
LicenceNone stated
Last update7 months ago16 Mar 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 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.

Details

Published by

alboogycOdR on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Sessions & time, Support & resistance, Oscillators & momentum, Trend

Markets

Gold, Forex, Indices

Timeframes

M1-M5, M15-H1

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Opening Range Duration (minutes)int30input_openingRangeMinutes
Fibonacci Entry Zone Startfloat0.50input_fibEntryStart
Fibonacci Entry Zone Endfloat0.618input_fibEntryEnd
Stop Loss Fibonacci Levelfloat0.786input_stopLossFibLevel
Take Profit MethodstringSession High/Lowinput_tpMethod
TP Fixed Points (Pips)float100.0input_tpFixedPoints
TP Risk-Reward Ratio (e.g., 2 for 1:2)float2.0input_tpRiskRewardRatio
TP Opening Range Multiplierfloat1.0input_tpRangeMultiplier
TP Fibonacci Extension Levelfloat1.272input_tpFibExtensionLevel
Stop Loss MethodstringFibonacci Levelinput_slMethod
SL Fixed Points (Pips)float50.0input_slFixedPoints
SL ATR Multiplierfloat1.5input_slAtrMultiplier
Show all 18 settings
SettingTypeDefaultVariable
SL ATR Lengthint14input_slAtrLength
Fast EMA Lengthint9input_emaFastLength
Slow EMA Lengthint21input_emaSlowLength
MACD Fast Lengthint12input_macdFastLength
MACD Slow Lengthint26input_macdSlowLength
MACD Signal Smoothingint9input_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.

Similar Pine Scripts

SPY 0DTE Scalper - 15min

by chris-c-thomas
14 stars

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

Indicator v6 TrendOscillators & momentum
Updated 6 months ago · MIT GitHub repository of SPY 0DTE Scalper - 15min

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

Indicator v5 TrendOscillators & momentum
Updated 5 months ago · None stated GitHub repository of DMI ADX Signals with MACD Signals

MTF RSI Signals

by iyoshikawa
1 stars

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

Indicator v5 Oscillators & momentumTrend Repaints
Updated 5 months ago · None stated GitHub repository of MTF RSI Signals
257 stars

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

Indicator v6 TrendSupport & resistance
Updated 6 weeks ago · None stated GitHub repository of Auto Trade Futures ES
114 stars

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

Indicator v4 Support & resistanceOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Support and Resistance Levels

Moon Dev Lunar Sniper

by moondevonyt
92 stars

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

Indicator v6 TrendOscillators & momentum Repaints
Updated 8 weeks ago · Custom licence GitHub repository of Moon Dev Lunar Sniper

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers