OPEN-SOURCE SCRIPT
Cập nhật DEMATR Strategy

The DEMATR Guard is a sophisticated trend-following strategy built to capture momentum while shielding you from high-volatility traps. It leverages the speed of Double EMAs, the structural context of the Ichimoku Cloud, and an adaptive volatility engine.
Core Logic
What the DEMATR Guard Handles Automatically
The script takes care of the mechanical heavy lifting: DEMA crossovers, Ichimoku Cloud positioning, EMA 50 floor exits, and the rejection of excessive volatility (ATR Filter).
Your Essential Checklist (Human Discretion)
While the script handles the math, your value as a trader comes from analyzing what a backtest cannot see. When you see a BUY triangle, check these points:
Interpreting "ATR!" Markers
The orange "ATR!" cross signals a rejected entry. This means the trend was valid, but the price move was too violent or overextended. These markers are designed to protect you from "buying the peak" of an exhausted rally.
Core Logic
- The Engine: Dual DEMA cross (8/21) for rapid signal detection with less lag than traditional moving averages.
- The Trend Shield: Ichimoku Cloud filter ensuring entries only occur in bullish territory (above Span A and B).
- Volatility Guard: Automatic ATR-based filtering that rejects signals when the market is overextended or hyper-volatile.
- The Safety Floor: A 50 EMA baseline used as a structural exit to preserve capital during trend reversals.
What the DEMATR Guard Handles Automatically
The script takes care of the mechanical heavy lifting: DEMA crossovers, Ichimoku Cloud positioning, EMA 50 floor exits, and the rejection of excessive volatility (ATR Filter).
Your Essential Checklist (Human Discretion)
While the script handles the math, your value as a trader comes from analyzing what a backtest cannot see. When you see a BUY triangle, check these points:
- Volume: Is there a noticeable volume spike on the signal candle?
- VRVP: Is there a heavy "volume wall" (resistance) right above you? If the path is clear, it's a higher-quality trade.
- Space to Run: Ensure there is at least 2-3% of room before the next major horizontal resistance.
- Future Cloud: Look to the right—is the Ichimoku cloud green for the future period?
- ADX: Is the trend strength above 15? Avoid taking signals in dead or sideways markets.
Interpreting "ATR!" Markers
The orange "ATR!" cross signals a rejected entry. This means the trend was valid, but the price move was too violent or overextended. These markers are designed to protect you from "buying the peak" of an exhausted rally.
Phát hành các Ghi chú
DEMATR Guard: High-Precision Trend MomentumThe DEMATR Guard is a sophisticated trend-following strategy built to capture momentum while shielding you from high-volatility traps. It leverages the speed of Double EMAs, the structural context of the Ichimoku Cloud, and an adaptive volatility engine.
Core Logic
- The Engine: Dual DEMA cross (8/21) for rapid signal detection with less lag than traditional moving averages.
- The Trend Shield: Ichimoku Cloud filter ensuring entries only occur in bullish territory (above Span A and B).
- Volatility Guard: Automatic ATR-based filtering that rejects signals when the market is overextended or hyper-volatile.
- The Safety Floor: A 50 EMA baseline used as a structural exit to preserve capital during trend reversals.
What the DEMATR Guard Handles Automatically
The script takes care of the mechanical heavy lifting: DEMA crossovers, Ichimoku Cloud positioning, EMA 50 floor exits, and the rejection of excessive volatility (ATR Filter).
Your Essential Checklist (Human Discretion)
While the script handles the math, your value as a trader comes from analyzing what a backtest cannot see. When you see a BUY triangle, check these points:
- Volume: Is there a noticeable volume spike on the signal candle?
- VRVP: Is there a heavy "volume wall" (resistance) right above you? If the path is clear, it's a higher-quality trade.
- Space to Run: Ensure there is at least 2-3% of room before the next major horizontal resistance.
- Future Cloud: Look to the right—is the Ichimoku cloud green for the future period?
- ADX: Is the trend strength above 15? Avoid taking signals in dead or sideways markets.
Interpreting "ATR!" Markers
The orange "ATR!" cross signals a rejected entry. This means the trend was valid, but the price move was too violent or overextended. These markers are designed to protect you from "buying the peak" of an exhausted rally.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.