Scalping Reaction Zones + Valid Order Blocks

Tarea técnica

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.

Han respondido

1
Desarrollador 1
Evaluación
(618)
Proyectos
721
33%
Arbitraje
46
48% / 41%
Caducado
14
2%
Trabajando
2
Desarrollador 2
Evaluación
(9)
Proyectos
10
10%
Arbitraje
0
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(15)
Proyectos
22
45%
Arbitraje
6
33% / 33%
Caducado
2
9%
Trabajando
Ha publicado: 7 artículos, 35 ejemplos
4
Desarrollador 4
Evaluación
(13)
Proyectos
22
41%
Arbitraje
8
0% / 50%
Caducado
3
14%
Libre
5
Desarrollador 5
Evaluación
(3)
Proyectos
9
67%
Arbitraje
1
0% / 0%
Caducado
0
Trabaja
6
Desarrollador 6
Evaluación
(52)
Proyectos
64
39%
Arbitraje
15
27% / 60%
Caducado
1
2%
Trabaja
7
Desarrollador 7
Evaluación
(8)
Proyectos
10
30%
Arbitraje
1
0% / 0%
Caducado
2
20%
Trabajando
Ha publicado: 1 ejemplo
8
Desarrollador 8
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(2)
Proyectos
2
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
1
100%
Libre
11
Desarrollador 11
Evaluación
(3)
Proyectos
7
29%
Arbitraje
0
Caducado
4
57%
Libre
12
Desarrollador 12
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
13
Desarrollador 13
Evaluación
(64)
Proyectos
144
46%
Arbitraje
20
40% / 20%
Caducado
32
22%
Trabaja
14
Desarrollador 14
Evaluación
(6)
Proyectos
8
38%
Arbitraje
1
100% / 0%
Caducado
2
25%
Libre
15
Desarrollador 15
Evaluación
(177)
Proyectos
189
47%
Arbitraje
3
33% / 33%
Caducado
1
1%
Trabajando
16
Desarrollador 16
Evaluación
(2675)
Proyectos
3414
68%
Arbitraje
77
48% / 14%
Caducado
342
10%
Libre
Ha publicado: 1 ejemplo
17
Desarrollador 17
Evaluación
(25)
Proyectos
31
13%
Arbitraje
13
0% / 77%
Caducado
9
29%
Libre
18
Desarrollador 18
Evaluación
(6)
Proyectos
10
10%
Arbitraje
9
0% / 89%
Caducado
1
10%
Libre
19
Desarrollador 19
Evaluación
(47)
Proyectos
61
54%
Arbitraje
7
86% / 0%
Caducado
2
3%
Trabaja
20
Desarrollador 20
Evaluación
(7)
Proyectos
10
30%
Arbitraje
0
Caducado
1
10%
Trabajando
21
Desarrollador 21
Evaluación
(453)
Proyectos
566
26%
Arbitraje
24
42% / 38%
Caducado
85
15%
Libre
Ha publicado: 6 ejemplos
22
Desarrollador 22
Evaluación
(209)
Proyectos
272
21%
Arbitraje
24
54% / 17%
Caducado
0
Libre
23
Desarrollador 23
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
24
Desarrollador 24
Evaluación
(4)
Proyectos
7
57%
Arbitraje
1
100% / 0%
Caducado
0
Libre
25
Desarrollador 25
Evaluación
(13)
Proyectos
20
40%
Arbitraje
1
0% / 100%
Caducado
1
5%
Libre
26
Desarrollador 26
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
27
Desarrollador 27
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
28
Desarrollador 28
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 3 ejemplos
29
Desarrollador 29
Evaluación
(10)
Proyectos
14
43%
Arbitraje
0
Caducado
3
21%
Libre
30
Desarrollador 30
Evaluación
(45)
Proyectos
53
57%
Arbitraje
2
100% / 0%
Caducado
1
2%
Libre
Ha publicado: 5 ejemplos
31
Desarrollador 31
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
it starts with a directional Buy or Sell entry, then uses grid/martingale for recovery if needed. X also has updated risk controls and filters. Only Experts Allowed please. No Newbies also Drop your Quotes
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I am looking to acquire an EXISTING and PROVEN MetaTrader 5 Expert Advisor. I am NOT looking for someone to develop a random new strategy from scratch. The objective is to find a robust EA with an existing track record, verify its performance and robustness, and purchase the MQL5 source code together with clearly defined commercial rights. MAIN REQUIREMENTS The EA should meet most or all of the following
Looking to acquire an existing, proven EA. Not looking for new strategy development. REQUIREMENTS — non-negotiable: Minimum 12 months verified LIVE history (Myfxbook or MQL5 Signals, real money — not demo, not backtest) Hard stop loss on EVERY trade, set at order placement NO martingale, NO grid, NO averaging into losers, NO lot multiplication after a loss Max historical drawdown under 30% Minimum 5 trades per
Hello, I trade on HFM MT5. Need SCALPING EA for scalping, budget $30. SYMBOLS: XAUUSD (GOLD), US30, NAS100, GER40, EURUSD TIMEFRAME: M1 and M5 PLATFORM: MT5, must work on HFM VPS STRATEGY: - EMA 9 crosses EMA 21 - RSI 14: BUY only if RSI >45, SELL only if RSI <55 - Bollinger Bands: Only trade when price returns inside BB after breakout - 1 trade at a time per symbol - SL: 150 points Gold / 100 points indices (must be
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
I need an MT5 Expert Advisor for XAUUSD (Gold) running on an Exness account. STRATEGY LOGIC The exact entry and exit rules will be provided in writing before development starts. Please quote for a single rule-based strategy with clearly separated logic, so the rules can be adjusted later without rewriting the whole EA. RISK MANAGEMENT (this is the priority of the project) - Risk per trade as a percentage of account
Modification of Trade_Panel_7 7.05 Objective . I have this utility “Trade_Panel_7 7.05” with which I open and close positions. Please refer to attached “Trade Panel Modification.jpg”. It shows an input parameter “Volume Step”. This parameter has the initial value of 0.02 as shown. This feature needs to be amended. Present Status . Value of lot size is increased by this “Volume Step”. I have built a whole series of
Indicador Maximas e Minimas + Super Trend O Indicador MAX/MIN é um indicador de análise técnica para o MetaTrader 5 , desenvolvido para ajudar você a identificar regiões importantes de preço e possíveis oportunidades de compra e venda. O que ele faz MAX/MIN: identifica máximas e mínimas relevantes do mercado e mostra os preços no gráfico. HH / HL / LH / LL: ajuda a visualizar a estrutura do mercado, mostrando quando
Subject: Custom MT5 Multi-Currency EA Request - Multi-Timeframe Strategy with Trailing Stop Hi, I am looking for a developer to create a custom Expert Advisor (EA) for MetaTrader 5 (MT5) . The EA must be optimized for multi-currency testing and trading , allowing me to run it across multiple currency pairs simultaneously. The trading logic should be based on a multi-timeframe approach using the following indicators

Información sobre el proyecto

Presupuesto
30 - 150 USD
Plazo límite de ejecución
de 3 a 7 día(s)

Cliente

Encargos realizados2
Número de arbitrajes0