OPEN-SOURCE SCRIPT
Atualizado 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.
Notas de Lançamento
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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.