Scalping Reaction Zones + Valid Order Blocks

Şartname

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.

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(618)
Projeler
721
33%
Arabuluculuk
46
48% / 41%
Süresi dolmuş
14
2%
Yüklendi
2
Geliştirici 2
Derecelendirme
(9)
Projeler
10
10%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
3
Geliştirici 3
Derecelendirme
(15)
Projeler
22
45%
Arabuluculuk
6
33% / 33%
Süresi dolmuş
2
9%
Yüklendi
Yayınlandı: 7 makale, 35 kod
4
Geliştirici 4
Derecelendirme
(13)
Projeler
22
41%
Arabuluculuk
8
0% / 50%
Süresi dolmuş
3
14%
Serbest
5
Geliştirici 5
Derecelendirme
(3)
Projeler
9
67%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
0
Çalışıyor
6
Geliştirici 6
Derecelendirme
(52)
Projeler
64
39%
Arabuluculuk
15
27% / 60%
Süresi dolmuş
1
2%
Çalışıyor
7
Geliştirici 7
Derecelendirme
(8)
Projeler
10
30%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
2
20%
Yüklendi
Yayınlandı: 1 kod
8
Geliştirici 8
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
9
Geliştirici 9
Derecelendirme
(2)
Projeler
2
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
10
Geliştirici 10
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
0
Süresi dolmuş
1
100%
Serbest
11
Geliştirici 11
Derecelendirme
(3)
Projeler
7
29%
Arabuluculuk
0
Süresi dolmuş
4
57%
Serbest
12
Geliştirici 12
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
13
Geliştirici 13
Derecelendirme
(64)
Projeler
144
46%
Arabuluculuk
20
40% / 20%
Süresi dolmuş
32
22%
Çalışıyor
14
Geliştirici 14
Derecelendirme
(6)
Projeler
8
38%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
2
25%
Serbest
15
Geliştirici 15
Derecelendirme
(177)
Projeler
189
47%
Arabuluculuk
3
33% / 33%
Süresi dolmuş
1
1%
Yüklendi
16
Geliştirici 16
Derecelendirme
(2675)
Projeler
3414
68%
Arabuluculuk
77
48% / 14%
Süresi dolmuş
342
10%
Serbest
Yayınlandı: 1 kod
17
Geliştirici 17
Derecelendirme
(25)
Projeler
31
13%
Arabuluculuk
13
0% / 77%
Süresi dolmuş
9
29%
Serbest
18
Geliştirici 18
Derecelendirme
(6)
Projeler
10
10%
Arabuluculuk
9
0% / 89%
Süresi dolmuş
1
10%
Serbest
19
Geliştirici 19
Derecelendirme
(47)
Projeler
61
54%
Arabuluculuk
7
86% / 0%
Süresi dolmuş
2
3%
Çalışıyor
20
Geliştirici 20
Derecelendirme
(7)
Projeler
10
30%
Arabuluculuk
0
Süresi dolmuş
1
10%
Yüklendi
21
Geliştirici 21
Derecelendirme
(453)
Projeler
566
26%
Arabuluculuk
24
42% / 38%
Süresi dolmuş
85
15%
Serbest
Yayınlandı: 6 kod
22
Geliştirici 22
Derecelendirme
(209)
Projeler
272
21%
Arabuluculuk
24
54% / 17%
Süresi dolmuş
0
Serbest
23
Geliştirici 23
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
24
Geliştirici 24
Derecelendirme
(4)
Projeler
7
57%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
0
Serbest
25
Geliştirici 25
Derecelendirme
(13)
Projeler
20
40%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
1
5%
Serbest
26
Geliştirici 26
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
27
Geliştirici 27
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
28
Geliştirici 28
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Yayınlandı: 3 kod
29
Geliştirici 29
Derecelendirme
(10)
Projeler
14
43%
Arabuluculuk
0
Süresi dolmuş
3
21%
Serbest
30
Geliştirici 30
Derecelendirme
(45)
Projeler
53
57%
Arabuluculuk
2
100% / 0%
Süresi dolmuş
1
2%
Serbest
Yayınlandı: 5 kod
31
Geliştirici 31
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
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

Proje bilgisi

Bütçe
30 - 150 USD
Son teslim tarihi
from 3 to 7 gün

Müşteri

Verilmiş siparişler2
Arabuluculuk sayısı0