PROTECTED SOURCE SCRIPT

QuantTrader MTF Momentum — QUIET v5(TG-clean + Panel)

12
Here’s a clean, plain-English description of the indicator you’re running (“QuantTrader MTF Momentum — QUIET”):

# What it does

* **Finds momentum-aligned breakouts** in the direction of the prevailing trend and a higher-timeframe EMA slope.
* **Filters out chop/noise** using ATR regime, ADX (optional), a choppiness score, and a minimum real-body vs ATR.
* **Confirms with momentum** (RSI, MACD, Stochastic). Each can add +1 to a 0–3 score.
* **Plots risk levels** (stop + 1R/1.5R/2R targets) based on ATR.
* **Shows a Status Panel** (“Metric / Status”) that tells you—bar by bar—what’s OK vs BLOCK.
* **Emits Telegram-ready JSON** when a Buy/Sell triggers and when TP/SL events hit (for TradingView webhook alerts).

# How a signal is built (Quiet Mode = ON)

A **BUY** plots only when, at bar close:

1. **Session**: current bar is inside an enabled session (if “Trade only in active sessions” is ON).
2. **Trend OK (UP)**: price above the chosen baseline (EMA/HMA/Supertrend) **and** HTF EMA slope > +0.02% with price above the HTF EMA.
3. **Confluence UP**: momentum score ≥ your “Min Momentum Signals” (0–3 from RSI/MACD/Stoch):

* **RSI** ≥ Buy level and **rising** (3-bar test) → +1
* **MACD** line **crosses above** signal and histogram > 0 → +1
* **Stoch** %K **crosses above** %D and both < Oversold → +1
4. **ATR Regime**: current ATR within [Min×medianATR, Max×medianATR].
5. **ADX**: ADX ≥ threshold (only if enabled).
6. **Choppiness**: ≤ max limit.
7. **Body vs ATR**: candle real-body ≥ (MinBody × ATR).
8. **Donchian**: if required, close > prior Donchian High.

A **SELL** mirrors the above in the opposite direction (below baseline, HTF slope < −0.02%, RSI falling, MACD crossunder, Stoch crossunder, etc.).

> If **Quiet Mode = OFF** the rules relax: Trend OK + (momentum score ≥ 1) + ATR Regime are enough. Use this for more frequent/earlier entries.

# Plots & visuals

* **Triangles** below/above bars = Buy/Sell trigger on bar close.
* **Risk overlay** (if enabled): stop and 1R/1.5R/2R target lines auto-scaled by ATR.
* **Session shading** (optional): different tints for Asian/London/NY.

# Status Panel (Metric / Status)

Turn on **Inputs → Status Panel → Show Metric / Status Panel**.
Each row shows **OK** (green) or **BLOCK** (red) for the current bar:

* Session, Trend OK (UP/DN), Confluence UP/DN, ATR Regime, ADX, Choppiness, Body vs ATR, Donchian, and **MomScore U/D** (e.g., `2/0` means 2 components long, 0 short).

# Presets & HTF confirm

* **Presets** load sensible thresholds for different markets/speeds (e.g., “Forex Fast”, “Gold Momentum”, “BTC Intraday”, or London-focused variants).
* **HTF EMA slope** checks slope and price vs an EMA on a higher timeframe you choose (defaults 60m; presets can override).

# Inputs you’ll touch most

* **Baseline** & its length (EMA/HMA/Supertrend).
* **HTF Timeframe** & EMA length.
* **RSI/MACD/Stoch** lengths and levels.
* **ATR/ADX/Chop/Min Body** filters.
* **Donchian breakout** length (or disable it).
* **Quiet Mode** ON for cleaner signals, OFF for more signals.
* **Risk overlay** stop multiple and target Rs.
* **Panel**: toggle & corner.

# Alerts & Telegram

* The script’s `alert()` calls produce **JSON payloads** (Buy/Sell + TP/SL hits).
* Create a TradingView alert with **Webhook URL** pointing to your Telegram bridge/service and **Message** set to `{{strategy.order.alert_message}}` if your bridge reads the alert body, **or** just leave it since the script already calls `alert()` with the JSON.
* TP/SL alerts use typed `rr` (e.g., 1.0, 1.5, 2.0) and pass `na` when not applicable.

# Tips for use (EURUSD 5m/15m, London)

* Start with **Preset = “Balanced 5m London”** on 5m; **“15m London”** on 15m.
* Keep **Quiet Mode ON** for fewer, higher-quality entries.
* If signals are sparse: lower **Min Momentum Signals** to 1, or disable **Donchian**.
* If signals are noisy: raise **Min Body**, raise **ADX ≥**, or tighten **ATR range** (increase min & decrease max).
* Consider only taking buys when **MomScore U/D** shows `≥ Min` on the UP side and the DOWN side is 0 (and vice-versa for sells).

That’s the whole logic + how to read it. If you want me to tailor a “minimal-noise” profile for your exact broker feed, tell me the symbol and timeframe and I’ll give you concrete input values.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.