PROTECTED SOURCE SCRIPT
DMcTrades Trading Engine

DMcTrades Trading Engine
Multi-Layer Trend, Structure & Momentum Analysis
This indicator is a comprehensive, rule-based trading framework designed to identify high-quality buy and sell opportunities through multi-timeframe confluence, trend alignment, and price-action confirmation. It combines structure breaks, moving-average alignment, volatility filters, and momentum confirmation into a single, unified visual system.
The script is intended for intraday and short-term swing trading, with particular effectiveness on lower timeframes when higher-timeframe trend alignment is respected.
Core Architecture
The indicator is divided into two independent but complementary engines:
1) Multi-Timeframe Structure & Trend Engine
This engine focuses on directional bias and structural validation.
Key components:
Multi-timeframe EMA alignment (fast and slow timeframes)
Supertrend direction agreement across timeframes
Swing-based Break of Structure (BOS) detection
Configurable trend strictness (Conservative / Balanced / Aggressive)
Optional wick-based or close-based structure confirmation
Signals generated here establish trend-qualified entry permission, not standalone entries.
2) Momentum & Breakout Signal Engine
This engine evaluates entry quality and follow-through probability.
Key components:
Breakout and breakdown detection from recent swing levels
ATR-adjusted volatility and impulse candle filtering
MACD and RSI momentum confirmation
VWAP and higher-timeframe EMA confluence (optional)
Retest-based and impulse-based entry logic
Overextension protection to avoid late entries
Signals are classified as:
CONFIRMED (strong multi-filter confluence)
BASE (core conditions met, fewer filters passed)
Signal Types & Visuals
The indicator provides multiple visual layers:
BUY / SELL triangles for core entries
CONFIRMED BUY / SELL labels for high-confluence setups
Classification boxes highlighting active signal zones
Supertrend overlays (current timeframe + optional 5-minute overlay)
EMA stack visualization (9 / 21 / 50 / 200)
Impulse candle highlighting
Optional reversal warning triangles based on momentum divergence
All visuals are fully configurable and can be enabled or disabled independently.
Risk & Trade Context Features
To help filter lower-probability trades, the suite includes:
Minimum ATR and volume thresholds
Trend stability checks (avoids fresh flips unless momentum is strong)
EMA slope and distance validation
Liquidity sweep and recent structure awareness
Optional higher-timeframe trend agreement
These filters are designed to reduce over-trading and improve signal quality during ranging or low-volatility conditions.
Recommended Usage
Best suited for 1-minute to 15-minute charts
Designed for trend-following and momentum continuation
Works across Forex, indices, commodities, and crypto
Use in conjunction with proper risk management and session awareness
This indicator does not provide take-profit or stop-loss levels and should be used as a decision-support tool, not an automated trading system.
Disclaimer
This script is provided for educational and analytical purposes only.
It does not constitute financial advice. Trading involves risk, and past performance does not guarantee future results.
Multi-Layer Trend, Structure & Momentum Analysis
This indicator is a comprehensive, rule-based trading framework designed to identify high-quality buy and sell opportunities through multi-timeframe confluence, trend alignment, and price-action confirmation. It combines structure breaks, moving-average alignment, volatility filters, and momentum confirmation into a single, unified visual system.
The script is intended for intraday and short-term swing trading, with particular effectiveness on lower timeframes when higher-timeframe trend alignment is respected.
Core Architecture
The indicator is divided into two independent but complementary engines:
1) Multi-Timeframe Structure & Trend Engine
This engine focuses on directional bias and structural validation.
Key components:
Multi-timeframe EMA alignment (fast and slow timeframes)
Supertrend direction agreement across timeframes
Swing-based Break of Structure (BOS) detection
Configurable trend strictness (Conservative / Balanced / Aggressive)
Optional wick-based or close-based structure confirmation
Signals generated here establish trend-qualified entry permission, not standalone entries.
2) Momentum & Breakout Signal Engine
This engine evaluates entry quality and follow-through probability.
Key components:
Breakout and breakdown detection from recent swing levels
ATR-adjusted volatility and impulse candle filtering
MACD and RSI momentum confirmation
VWAP and higher-timeframe EMA confluence (optional)
Retest-based and impulse-based entry logic
Overextension protection to avoid late entries
Signals are classified as:
CONFIRMED (strong multi-filter confluence)
BASE (core conditions met, fewer filters passed)
Signal Types & Visuals
The indicator provides multiple visual layers:
BUY / SELL triangles for core entries
CONFIRMED BUY / SELL labels for high-confluence setups
Classification boxes highlighting active signal zones
Supertrend overlays (current timeframe + optional 5-minute overlay)
EMA stack visualization (9 / 21 / 50 / 200)
Impulse candle highlighting
Optional reversal warning triangles based on momentum divergence
All visuals are fully configurable and can be enabled or disabled independently.
Risk & Trade Context Features
To help filter lower-probability trades, the suite includes:
Minimum ATR and volume thresholds
Trend stability checks (avoids fresh flips unless momentum is strong)
EMA slope and distance validation
Liquidity sweep and recent structure awareness
Optional higher-timeframe trend agreement
These filters are designed to reduce over-trading and improve signal quality during ranging or low-volatility conditions.
Recommended Usage
Best suited for 1-minute to 15-minute charts
Designed for trend-following and momentum continuation
Works across Forex, indices, commodities, and crypto
Use in conjunction with proper risk management and session awareness
This indicator does not provide take-profit or stop-loss levels and should be used as a decision-support tool, not an automated trading system.
Disclaimer
This script is provided for educational and analytical purposes only.
It does not constitute financial advice. Trading involves risk, and past performance does not guarantee future results.
Скрипт с защищённым кодом
Этот скрипт опубликован с закрытым исходным кодом. Однако вы можете использовать его свободно и без каких-либо ограничений — читайте подробнее здесь.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с защищённым кодом
Этот скрипт опубликован с закрытым исходным кодом. Однако вы можете использовать его свободно и без каких-либо ограничений — читайте подробнее здесь.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.