Scalping Reaction Zones + Valid Order Blocks

Specifiche

Platform: TradingView

Programming Language: Pine Script v6

Type: Custom Indicator

Project Name:
Scalping Reaction Zones + Valid Order Blocks


MAIN GOAL

I need a custom TradingView indicator for scalping.

The indicator must detect:

1. Reaction / Explosion Zones
2. Valid Order Blocks
3. Combined Reaction Zone + Order Block zones

The indicator should NOT generate:
Buy signals
Sell signals
TP
SL
Entry signals
Trading recommendations

The main purpose is to detect strong price zones where price moved aggressively from and where price may react again when it returns.


TIMEFRAME LOGIC

Each timeframe must work independently.

M1 chart = use M1 candles only
M5 chart = use M5 candles only
M15 chart = use M15 candles only
M30 chart = use M30 candles only
H1 chart = use H1 candles only
H4 chart = use H4 candles only

If I change the timeframe, the indicator must recalculate all zones using the current chart timeframe only.

Do not mix zones from different timeframes.

Default mode:
Current Chart Timeframe Only


REACTION / EXPLOSION ZONES

The indicator must detect a small BASE candle or opposite candle before a strong price expansion.

Bullish example:

Small bearish candle or small base candle
Then strong bullish displacement
The original candle becomes a DEMAND / REACTION ZONE

Bearish example:

Small bullish candle or small base candle
Then strong bearish displacement
The original candle becomes a SUPPLY / REACTION ZONE

Default zone boundaries:
Full candle High to Low

Optional:
Body + Extreme Wick


BASE CANDLE RULES

The BASE candle should preferably be:

Small relative to ATR
Small body relative to full candle range
Opposite candle before displacement
Or a small neutral base candle

Required settings:

ATR Length
Maximum Base Range x ATR
Maximum Base Body / Range
Accepted Base Candle Type

Accepted Base Candle Type options:

Opposite Candle Only
Opposite or Small Candle
Any Small Candle


DISPLACEMENT CONFIRMATION

Do not create a zone after a small move.

There must be a strong displacement.

Measure using:

Distance from base in ATR
Strongest impulse candle body
Directional candle ratio
Total departure distance

Required settings:

Bars After Base To Confirm
Minimum Departure x ATR
Minimum Impulse Body x ATR
Minimum Directional Candle Ratio


VALID ORDER BLOCK LOGIC

Do not mark every last opposite candle as an Order Block.

A valid Order Block must have:

Liquidity Event
Order Block Candle
Strong Displacement
Break of Structure
Fair Value Gap

Core model:

Liquidity Sweep -> OB Candle -> Displacement -> BOS -> FVG


BULLISH ORDER BLOCK

Bullish OB logic:

Price sweeps liquidity below a previous low or swing low
Then there is a bearish or base candle
Then strong bullish displacement
Then bullish BOS
Then bullish FVG

Only after these conditions should the candle become:

VALID BULLISH ORDER BLOCK


BEARISH ORDER BLOCK

Bearish OB logic:

Price sweeps liquidity above a previous high or swing high
Then there is a bullish or base candle
Then strong bearish displacement
Then bearish BOS
Then bearish FVG

Only after these conditions should the candle become:

VALID BEARISH ORDER BLOCK


LIQUIDITY SWEEP

Bullish setup:

Price sweeps below a previous Swing Low
Then reverses upward

Bearish setup:

Price sweeps above a previous Swing High
Then reverses downward

Required settings:

Liquidity Lookback
Liquidity Swing Length
Minimum Sweep Distance
Require Close Back Inside ON/OFF


BREAK OF STRUCTURE

Use meaningful market structure.

Do not count every small candle break.

Use Swing High and Swing Low.

Bullish BOS:

Close above previous valid Swing High

Bearish BOS:

Close below previous valid Swing Low

Required settings:

Structure Swing Length
BOS Confirmation

Options:

Close
Wick

Default:

Close


FAIR VALUE GAP

Use standard 3-candle FVG logic.

Bullish FVG:

Low of Candle 3 > High of Candle 1

Bearish FVG:

High of Candle 3 < Low of Candle 1

The FVG does not need to be inside the Order Block.

It must be created by the same displacement from the Order Block.

Required settings:

Minimum FVG Size
FVG Size Mode

Options:

ATR
Points


REACTION ZONE + ORDER BLOCK MERGING

This is very important.

If the same candle qualifies as both:

Reaction Zone
and
Valid Order Block

OR

If both zones overlap

OR

If both zones are very close

Then do NOT draw two zones.

Merge them into ONE zone.

Label:

OB + REACTION

Required setting:

Merge Distance x ATR

Suggested default:

0.10 to 0.20 ATR


COMBINED ZONE BOUNDARIES

Add setting:

Combined Zone Boundary Mode

Options:

Order Block Boundaries
Reaction Zone Boundaries
Union of Both

Recommended default:

Order Block Boundaries


ZONE INVALIDATION

The zone must NOT disappear after the first retest.

The zone should remain visible after multiple retests.

Default:

Keep Zone After Retests = TRUE

Demand zone invalidation:

Close below zone bottom minus buffer

Supply zone invalidation:

Close above zone top plus buffer

Required settings:

Zone Invalidation

Options:

Close
Wick

Default:

Close

Also:

Invalidation Buffer x ATR

Recommended:

0.05 to 0.10 ATR


RETESTS

Count retests but do not remove the zone because of a retest.

Possible display:

FRESH
R1
R2
R3

Retest display should be optional.


ZONE STRENGTH SCORE

Each zone should receive an internal score from 0 to 100.

This is NOT a guaranteed probability.

It is only a ranking score.

Score should consider:

Strength of displacement
Total departure in ATR
Strong impulse candle
Base candle quality
Base candle size
Liquidity Sweep
BOS quality
FVG presence
FVG size
Freshness
Number of retests
Distance price traveled away
Reaction only
Valid Order Block
OB + REACTION confluence

Suggested ranking:

OB + REACTION
higher than
Validated OB
higher than
Strong Reaction Zone


SCALPING MODE

The indicator is mainly for:

M1
M3
M5
M15

It must be sensitive enough to show useful scalping zones.

Do not make the conditions too strict.

Do not mark every minor candle either.

Optional presets:

Aggressive Scalping
Balanced Scalping
Strict


NUMBER OF ZONES

Do not limit the indicator to only one Demand zone and one Supply zone.

I want all valid important zones.

But do not fill the chart with low-quality zones.

Required settings:

Max Demand Zones
Max Supply Zones

Recommended default:

5 Demand
5 Supply

Allow up to:

10 to 15

If maximum zones are reached:

Remove the weakest zone
Do NOT simply remove the oldest zone


NEARBY ZONE FILTER

If two zones are very close:

Merge them
or
Keep only the stronger one

Do not draw duplicate or almost identical zones.

Required setting:

Merge Nearby Zones x ATR


DISPLAY

Demand Zone:

Green

Supply Zone:

Red

Valid Order Block:

Different shade or label OB

Combined Zone:

OB + REACTION

Possible label:

OB + REACTION 91 M5

Display options:

Show Labels
Show Score
Show Retest Count
Show Source Timeframe

Do NOT display:

Buy Signal
Sell Signal
TP
SL
Entry
Dashboard
Liquidity labels everywhere
BOS labels everywhere
FVG boxes everywhere

Liquidity, BOS and FVG can be used internally only for validation.


REQUIRED INPUTS

ATR Length
Bars After Base To Confirm
Minimum Departure x ATR
Minimum Impulse Body x ATR
Minimum Directional Candle Ratio
Maximum Base Range x ATR
Maximum Base Body / Range
Accepted Base Candle Type
Minimum Zone Strength
Liquidity Lookback
Liquidity Swing Length
Minimum Liquidity Sweep
Structure Swing Length
BOS Close/Wick
Require BOS
Require Liquidity Sweep
Require FVG
Minimum FVG Size
FVG Size Mode ATR/Points
Zone Boundaries
Merge Nearby Zones x ATR
OB + Reaction Merge Distance
Combined Zone Boundary Mode
Max Demand Zones
Max Supply Zones
Zone Invalidation Close/Wick
Invalidation Buffer x ATR
Keep Zone After Retests
Show Labels
Show Strength Score
Show Retest Count
Show Source Timeframe


FINAL LOGIC

Reaction Zone:

Small or Opposite BASE Candle
-> Strong Displacement
-> Reaction Zone

Bullish Valid Order Block:

Sell-Side Liquidity Sweep
-> Bearish/Base OB Candle
-> Bullish Displacement
-> Bullish BOS
-> Bullish FVG
-> Valid Bullish OB

Bearish Valid Order Block:

Buy-Side Liquidity Sweep
-> Bullish/Base OB Candle
-> Bearish Displacement
-> Bearish BOS
-> Bearish FVG
-> Valid Bearish OB

Highest Confluence:

Reaction Zone overlaps Valid Order Block
-> Merge into ONE zone
-> OB + REACTION


MOST IMPORTANT REQUIREMENT

Each timeframe must calculate zones independently.

M1 = M1 zones only
M5 = M5 zones only
M15 = M15 zones only
M30 = M30 zones only
H1 = H1 zones only
H4 = H4 zones only

Changing the chart timeframe must recalculate everything using the new current timeframe.

No zones from other timeframes should appear unless Multi-Timeframe mode is manually enabled in the future.

Con risposta

1
Sviluppatore 1
Valutazioni
(634)
Progetti
741
34%
Arbitraggio
49
53% / 39%
In ritardo
14
2%
In elaborazione
2
Sviluppatore 2
Valutazioni
(9)
Progetti
10
10%
Arbitraggio
0
In ritardo
0
Gratuito
3
Sviluppatore 3
Valutazioni
(23)
Progetti
32
41%
Arbitraggio
9
22% / 33%
In ritardo
4
13%
Caricato
Pubblicati: 8 articoli, 35 codici
4
Sviluppatore 4
Valutazioni
(13)
Progetti
23
39%
Arbitraggio
8
0% / 50%
In ritardo
4
17%
Gratuito
5
Sviluppatore 5
Valutazioni
(3)
Progetti
9
67%
Arbitraggio
0
In ritardo
0
In elaborazione
6
Sviluppatore 6
Valutazioni
(54)
Progetti
68
43%
Arbitraggio
15
27% / 60%
In ritardo
1
1%
In elaborazione
7
Sviluppatore 7
Valutazioni
(10)
Progetti
12
33%
Arbitraggio
0
In ritardo
2
17%
In elaborazione
Pubblicati: 1 codice
8
Sviluppatore 8
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
9
Sviluppatore 9
Valutazioni
(2)
Progetti
2
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
10
Sviluppatore 10
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
1
100%
Gratuito
11
Sviluppatore 11
Valutazioni
(3)
Progetti
7
29%
Arbitraggio
0
In ritardo
4
57%
Gratuito
12
Sviluppatore 12
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 1 codice
13
Sviluppatore 13
Valutazioni
(64)
Progetti
145
46%
Arbitraggio
21
38% / 24%
In ritardo
32
22%
Gratuito
14
Sviluppatore 14
Valutazioni
(6)
Progetti
8
38%
Arbitraggio
2
50% / 50%
In ritardo
2
25%
Gratuito
15
Sviluppatore 15
Valutazioni
(185)
Progetti
199
47%
Arbitraggio
4
50% / 25%
In ritardo
1
1%
In elaborazione
16
Sviluppatore 16
Valutazioni
(2678)
Progetti
3422
68%
Arbitraggio
78
47% / 14%
In ritardo
343
10%
In elaborazione
Pubblicati: 1 codice
17
Sviluppatore 17
Valutazioni
(25)
Progetti
31
13%
Arbitraggio
14
0% / 79%
In ritardo
9
29%
Gratuito
18
Sviluppatore 18
Valutazioni
(6)
Progetti
10
10%
Arbitraggio
9
0% / 89%
In ritardo
1
10%
Gratuito
19
Sviluppatore 19
Valutazioni
(47)
Progetti
62
55%
Arbitraggio
7
86% / 0%
In ritardo
2
3%
Gratuito
20
Sviluppatore 20
Valutazioni
(13)
Progetti
21
38%
Arbitraggio
0
In ritardo
1
5%
In elaborazione
21
Sviluppatore 21
Valutazioni
(453)
Progetti
566
26%
Arbitraggio
24
42% / 38%
In ritardo
85
15%
Gratuito
Pubblicati: 6 codici
22
Sviluppatore 22
Valutazioni
(215)
Progetti
280
21%
Arbitraggio
27
56% / 15%
In ritardo
0
Caricato
23
Sviluppatore 23
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
24
Sviluppatore 24
Valutazioni
(4)
Progetti
7
57%
Arbitraggio
1
100% / 0%
In ritardo
0
Gratuito
25
Sviluppatore 25
Valutazioni
(13)
Progetti
20
40%
Arbitraggio
1
0% / 100%
In ritardo
1
5%
Gratuito
26
Sviluppatore 26
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
27
Sviluppatore 27
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
28
Sviluppatore 28
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 4 codici
29
Sviluppatore 29
Valutazioni
(10)
Progetti
14
43%
Arbitraggio
0
In ritardo
3
21%
Gratuito
30
Sviluppatore 30
Valutazioni
(45)
Progetti
53
57%
Arbitraggio
2
100% / 0%
In ritardo
1
2%
Gratuito
Pubblicati: 5 codici
31
Sviluppatore 31
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
32
Sviluppatore 32
Valutazioni
(54)
Progetti
102
23%
Arbitraggio
12
25% / 17%
In ritardo
13
13%
Gratuito
33
Sviluppatore 33
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
34
Sviluppatore 34
Valutazioni
(1)
Progetti
2
50%
Arbitraggio
0
In ritardo
1
50%
In elaborazione
35
Sviluppatore 35
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 2 codici
36
Sviluppatore 36
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
37
Sviluppatore 37
Valutazioni
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 11 codici
38
Sviluppatore 38
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
39
Sviluppatore 39
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Ordini simili
Project Description: I need an MQL5 Expert Advisor built based on a precise Smart Money Concepts (SMC) multi-timeframe strategy. The bot must analyze the 1-Hour chart for institutional bias and execute trades on the 3-Minute chart following strict structural rules. 1. Inputs & Parameters (Customizable) - Risk Model: Fixed dollar risk of $20.00 for every $100.00 of account balance (20% per trade for personal capital
I am looking for an experienced MQL5 developer and trader to create a non-repainting BUY/SELL indicator for MT5, designed for scalping on the M5 and M15 timeframes, with a focus on high-quality trading signals. Requirements: Clear and reliable BUY/SELL signals. Non-repainting signals confirmed on closed candles. High-quality entries with minimal false signals. Suitable for scalping, especially Gold (XAUUSD). Popup
PROJECT: Automatic Gold and Forex Trading Robot for MetaTrader 5 (MQL5) I want a fully automated Expert Advisor (EA) for MetaTrader 5 that can analyze the market and automatically open, manage and close trades on Gold and selected Forex currency pairs. 1. TRADING INSTRUMENTS - Gold: XAUUSD - Forex: EURUSD, GBPUSD and USDJPY, subject to broker availability. - Allow the user to enable or disable each trading symbol. -
Looking for a Complete Forex & Gold Signal System — Telegram Automation + Performance Tracking I’m looking for a complete automated trading signal solution for Forex pairs, including EUR/USD, GBP/USD and others, as well as gold (XAU/USD). Requirements: • An average of 2–3 quality signals per day across the selected instruments. Quality matters more than generating signals just to meet a quota. • A high win rate
I need a robot that will grow small accounts to bigger amounts like this one in this link, https://youtu.be/d38pMbJihew?si=3NeIOVyrlwDr4X_o. Please click the link and watch how this EA grow small accounts. Then create a robot like that. I will test it on demo first then if it does what i want, i will take it. Please it must be simply to use. It must set targets, for example, once it reaches $500 profit, it must
Here is a professional, detailed requirements specification draft for your MQL5 freelance order based on your prompt: ​ Strategy Objective: Develop an automated Expert Advisor (EA) featuring a 1:3 Risk-to-Reward ratio optimized for a small starting budget. ​ Core Trading Logic: ​Execute automatic Buy and Sell trades using high-probability entry signals. ​Target a strict 90% theoretical win-rate structure through
i want to fix my gold martingale bot MT5. RSI 14 ENTRY 30 BUY 70 SELL Lot 0.02 0.04 0.07 TP 150 for all SL 90 30 30 once total daily profit is 200$ stop trading stop trading once 2 consecutives total losses stop trading if spread exceeded 30 and between hour 15 & 17 PM Move SL to breakeven point once the profit exceeded 50 from from breakeven thanks
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
The purpose of this order is ONLY to test and implement my H1 POI (Point of Interest) identification logic correctly. I am not requesting the complete EA at this stage. I will provide the exact rules for identifying the H1 POI after selecting the developer. The developer must convert those rules into clear, deterministic MQL5 logic. Requirements: Analyze H1 candles according to the rules I provide. Identify and mark
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements

Informazioni sul progetto

Budget
30 - 150 USD
Scadenze
da 3 a 7 giorno(i)