OPEN-SOURCE SCRIPT

WB Market Alignment V3.1 Optimised

310
WB Market Alignment V3.1
Multi-Factor Trend, Pullback & Momentum Confirmation System

WB Market Alignment V3.1 is a trend-following pullback indicator designed to identify high-probability continuation setups by combining multiple layers of market confirmation into a single signal.

The indicator scores market conditions using trend, momentum, volatility, volume, session timing and pullback structure before generating a LONG or SHORT trade signal. Instead of relying on a single indicator, WB Market Alignment uses an 8-point alignment model to help traders focus on quality setups and avoid low-conviction entries.

The goal is simple:

Trade with the dominant trend, enter on pullbacks, and only participate when multiple market factors are aligned.

Core Features
Trend Alignment

The indicator confirms trend direction using:

Fast Pullback EMA (default: 21 EMA)
Major Trend EMA (default: 200 EMA)
Higher-Timeframe EMA confirmation

This creates a multi-timeframe trend filter to help keep traders trading in the direction of the broader market.

VWAP Confirmation

Optional VWAP filtering ensures long setups occur above VWAP and short setups occur below VWAP.

This helps avoid trades that are fighting session order flow.

RSI Momentum Filter

Momentum is measured using RSI.

Default requirements:

RSI ≥ 55 for long setups
RSI ≤ 45 for short setups

This reduces entries during weak or indecisive conditions.

ATR Volatility Filter

The indicator compares current ATR against its historical baseline.

Signals can be blocked when:

Volatility is too low
Volatility is excessively high

This helps avoid dead markets and extreme conditions.

Relative Volume Confirmation

Volume is compared to average volume.

Higher relative volume generally indicates stronger participation and improves setup quality.

EMA Pullback Logic

The system waits for price to revisit the fast EMA before signalling.

For a long setup:

Price pulls back into the EMA zone
Price closes back above the EMA
Optional bullish candle confirmation

For a short setup:

Price pulls back into the EMA zone
Price closes back below the EMA
Optional bearish candle confirmation

This helps traders avoid chasing extended moves.

Setup Scoring System

Eight market conditions are evaluated:

Chart trend
Higher-timeframe trend
VWAP position
RSI momentum
EMA pullback confirmation
EMA slope
ATR conditions
Relative volume

Signals only trigger when the minimum score requirement is met.

Default score:

7 out of 8

This keeps the system highly selective.

ATR-Based Risk Projection

When a signal appears, the indicator automatically plots:

Suggested entry level
ATR-based stop loss
Target 1
Target 2

These levels are calculated using risk multiples and ATR volatility.

Professional Dashboard

The dashboard provides a real-time overview of:

Trend direction
Higher-timeframe confirmation
VWAP status
RSI strength
Relative volume
ATR conditions
Session status
News filter status
Long setup score
Short setup score
Current trade readiness
How To Use
Long Setup

Look for:

✅ Bullish chart trend

✅ Higher-timeframe trend bullish

✅ Price above VWAP

✅ RSI above bullish threshold

✅ Pullback into the EMA zone

✅ Bullish reclaim candle

✅ Minimum score achieved

When all required conditions align, a LONG signal will appear.

Short Setup

Look for:

✅ Bearish chart trend

✅ Higher-timeframe trend bearish

✅ Price below VWAP

✅ RSI below bearish threshold

✅ Pullback into the EMA zone

✅ Bearish rejection candle

✅ Minimum score achieved

When all required conditions align, a SHORT signal will appear.

Suggested Timeframes

The indicator can be used on most liquid markets, including:

Indices
Forex
Stocks
Futures
ETFs
Cryptocurrencies

Suggested combinations:

Entry Chart Higher Timeframe5 Minute 1 Hour
15 Minute 1 Hour
15 Minute 4 Hour
1 Hour Daily
4 Hour Daily
Risk Management

This indicator does not predict future price movements.

Always:

Use appropriate position sizing
Respect stop losses
Consider market news and events
Wait for candle close confirmation
Trade within your own risk tolerance

The built-in ATR projections are intended as a planning tool and should not be considered financial advice.

Best Results

WB Market Alignment V3.1 performs best in:

Strong trending markets
Pullback continuation environments
High-liquidity instruments
Active trading sessions

It is intentionally selective and may produce fewer signals than conventional crossover-based systems.

The focus is on quality over quantity.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.