OPEN-SOURCE SCRIPT
MTM Sensei for alerts

MTM — Sensei X
A multi‑confirmation trading framework: reads trend, structure, order flow and volatility, then draws a complete, ready‑to‑manage trade — entry, stop, four exits, breakeven and trailing — with clean on‑chart panels and webhook‑ready alerts.
What it does
Sensei X scores every setup against 20 confirmations grouped into four engines and only triggers when enough of them align in the same direction:
Trend (DEMA): DEMA 15 / 50 / 238 alignment, slope and price location.
Momentum · Volume · Order Flow: volume validation, ADX strength, RSI regime, and real buy/sell delta computed from a lower timeframe (with an on‑chart proxy fallback), plus imbalance and absorption reads.
Market Structure (SMC): CHoCH, BOS, IDM, liquidity sweeps, Order Blocks and swing points.
Sensei / Phase / Volatility: Sensei Bands (1σ) + adaptive cloud, momentum/exhaustion phase and a volatility‑safety check.
Phase engine
Choose how signals fire:
Momentum – triggers on setup completion (continuation). Best for Scalp / Intraday / Aggressive.
Exhaustion – triggers on a full countdown (reversal). Best for Swing / Conservative.
Trading styles (one click)
A multi‑confirmation trading framework: reads trend, structure, order flow and volatility, then draws a complete, ready‑to‑manage trade — entry, stop, four exits, breakeven and trailing — with clean on‑chart panels and webhook‑ready alerts.
What it does
Sensei X scores every setup against 20 confirmations grouped into four engines and only triggers when enough of them align in the same direction:
Trend (DEMA): DEMA 15 / 50 / 238 alignment, slope and price location.
Momentum · Volume · Order Flow: volume validation, ADX strength, RSI regime, and real buy/sell delta computed from a lower timeframe (with an on‑chart proxy fallback), plus imbalance and absorption reads.
Market Structure (SMC): CHoCH, BOS, IDM, liquidity sweeps, Order Blocks and swing points.
Sensei / Phase / Volatility: Sensei Bands (1σ) + adaptive cloud, momentum/exhaustion phase and a volatility‑safety check.
Phase engine
Choose how signals fire:
Momentum – triggers on setup completion (continuation). Best for Scalp / Intraday / Aggressive.
Exhaustion – triggers on a full countdown (reversal). Best for Swing / Conservative.
Trading styles (one click)
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.