MASU+ v7.2 (NW+ELM+BOS)# MASU+ v7.2 — Institutional Multi-Strategy Framework (NW + ELM + BOS)
## Overview
MASU+ v7.2 is an advanced multi-strategy trading system that combines institutional-grade Smart Money Concepts (SMC), machine learning signal filtering, and adaptive risk management into a single unified framework. The strategy is designed for intraday and swing trading across forex, indices, and commodities.
The core philosophy is **high-confluence entries only** — every trade must pass through multiple independent filters before execution, ensuring that only the strongest setups are taken.
---
## Key Components
### 1. Nadaraya-Watson Kernel Ribbon
An 8-line non-parametric regression ribbon built on a Fibonacci bandwidth grid (3, 5, 8, 13, 21, 34, 55, 89). The ribbon acts as a dynamic trend filter with three operating modes:
- **Strict** — all 8 lines must be perfectly ordered
- **Relaxed** — a configurable threshold of ordered pairs (default 6/7)
- **Expansion** — ribbon width is increasing in the trend direction
The bandwidth can operate in **Fixed** or **Adaptive** mode. In Adaptive mode, bandwidth auto-scales based on ATR-normalized volatility, making the ribbon more responsive in volatile conditions and smoother in calm markets.
### 2. ELM Neural Filter (Extreme Learning Machine)
A lightweight online-learning neural network that trains in real time on 7 normalized features:
- RSI, Rate of Change, Distance from EMA 200, ADX, NW Kernel Slope, Ribbon Order Score, and Relative Volume
The ELM predicts price direction over a configurable lookahead window (default: 5 bars) and outputs a probability score (0–1). Key v7.2 improvements include:
- **Weight decay regularization** to prevent parameter drift
- **Real-time accuracy calibration** — the ELM tracks its own prediction accuracy and adjusts its voting weight accordingly. An ELM with <50% accuracy effectively gets silenced.
- The ELM can act as a soft vote (bonus confluence), a hard blocker, or influence position sizing — all configurable.
### 3. Smart Money Concepts (SMC)
Full institutional order flow toolkit:
- **Order Blocks** — bullish/bearish engulfing patterns with body-to-range ratio filtering
- **Fair Value Gaps (FVG)** — imbalance detection with ATR-scaled minimum size
- **Liquidity Sweeps** — stop hunt detection at recent swing highs/lows
- **Break of Structure (BOS)** — pivot-based market structure tracking
- **Demand/Supply Zones** — impulse-based zones that auto-expire when violated
### 4. BOS Immediate Entry (v7.2)
A dedicated scalp-style entry that fires **immediately** when a Break of Structure is detected — no confirmation bars required. Features:
- **TP = 0.75 × ATR** — tight scalp target for quick profit capture
- **Aggressive trailing** — activates at just 0.1 × ATR from entry with a 0.15 × ATR offset
- **Full confluence gate** — BOS entries require the same high confluence score (≥ 7.0) as all other entries, preventing low-quality breakout chasing
### 5. Multi-Timeframe (MTF) Filter
Higher timeframe EMA alignment check (default: 4H). Both fast and slow EMAs on the higher timeframe must agree with the trade direction, and price must be on the correct side of the fast EMA.
### 6. Order Flow Analysis
- **VWAP** with 3 standard deviation bands (±1σ, ±2σ, ±3σ)
- **Cumulative Volume Delta (CVD)** — divergence detection between price and volume delta
- **Volume Profile POC** — Point of Control visualization
---
## Confluence Engine (v7.2)
Every entry — whether trend-following, breakout, mean-reversion, or BOS — must achieve a **minimum weighted confluence score of 7.0** (out of a maximum 7.5 with default weights).
Each filter contributes a configurable weight:
| Filter | Default Weight |
|---|---|
| MTF Alignment | 2.0 |
| NW Ribbon | 1.5 |
| ELM AI | 1.0 (calibration-adjusted) |
| Order Flow | 1.0 |
| Smart Money | 1.0 |
| ADX Trend Strength | 0.5 |
| NW Slope Direction | 0.5 |
| **Total** | **7.5** |
With the default threshold of 7.0, nearly all filters must agree before a trade is placed. This dramatically reduces noise trades and false signals.
---
## Risk Management
### Volatility Regime Adaptation
The strategy classifies the market into 4 regimes and adapts SL/TP accordingly:
| Regime | SL Mult | TP Mult |
|---|---|---|
| High Vol + Trending | 1.5× ATR | 2.5× ATR |
| High Vol + Ranging | 1.2× ATR | 1.8× ATR |
| Low Vol + Trending | 1.5× ATR | 2.5× ATR |
| Low Vol + Ranging | 1.0× ATR | 1.5× ATR |
### Trailing Stop
Configurable trailing stop that activates at 25% of the TP distance (default) with a tight 0.2 × ATR offset. Designed to lock in profits early while giving trades room to breathe.
### Kelly Criterion Sizing
Position size is dynamically calculated using the Kelly formula based on real-time win rate and win/loss ratio, capped at 25% to prevent over-leverage.
### Quality-Based Sizing
Signal confluence score directly affects position size: high-quality setups get full allocation, moderate setups get 80%, and weaker setups get 60%.
### Equity Guard
Automatic circuit breaker that pauses trading after a configurable number of consecutive losses (default: 5) or when drawdown exceeds a threshold (default: 15%). Resumes after a cooldown period to prevent emotional revenge trading.
### Cost-Aware Filter
Estimates total round-trip cost (spread + commission) and blocks entries where ATR is too small relative to trading costs. Prevents churning in low-volatility environments.
---
## Entry Types
1. **Trend Following** — EMA crossover + volume spike + bullish/bearish trend confirmation
2. **Breakout** — New high/low break + volume spike + EMA filter alignment
3. **Mean Reversion** — Bollinger Band extreme + RSI oversold/overbought + ranging regime
4. **BOS Scalp** — Immediate entry on Break of Structure with tight TP and aggressive trailing
All entries require: session filter ✓ | confluence ≥ 7.0 ✓ | R:R check ✓ | cost filter ✓ | equity guard clear ✓ | ELM not blocking ✓
---
## Dashboard
A comprehensive real-time institutional dashboard displays:
- Multi-timeframe trend alignment (15M / 1H / 4H)
- NW Ribbon state and bandwidth scale
- ELM AI probability, accuracy, and confidence weight
- Volatility regime classification
- Order flow and Smart Money signals
- Confluence score with quality rating
- Adapted SL/TP levels with regime multipliers
- Kelly position sizing
- Equity guard status with drawdown tracking
- BOS entry status
- Session detection (London / New York / Asia / Overlap)
- Active demand/supply zone count
---
## What's New in v7.2
- **Confluence threshold raised to 7.0** for all entry types — only the highest-conviction trades are taken
- **BOS immediate entry** — no confirmation bar delay; enters on the breakout candle itself
- **BOS TP = 0.75 × ATR** — tighter scalp target optimized for quick captures with trailing doing the heavy lifting
- **Unified confluence gate** — BOS entries now use the same min_confluence_score as standard entries (no separate hardcoded threshold)
---
## Recommended Settings
- **Timeframe:** 1H (primary), with 4H MTF filter
- **Session:** 09:00–22:00 (covers London + New York)
- **Assets:** Forex majors, Gold (XAUUSD), US indices (NAS100, SPX500)
- **Account:** Works with standard lot sizing; commission and spread inputs should be adjusted to your broker
---
## Disclaimer
This strategy is provided for educational and research purposes. Past performance does not guarantee future results. Always backtest thoroughly and trade with proper risk management. The ELM neural component learns in real time and its accuracy varies across market conditions.
Pine Script® strategy






















