Demarker Indicator Formula: How Does It Actually Work?
Camovia Tray Team · 2026-10-04
If you've ever stared at a chart wondering why price suddenly reversed, you've probably wished for a tool that could signal those turning points before they happen. The DeMarker indicator is one such tool—a momentum oscillator that tracks buying and selling pressure to help traders spot potential reversals. But what exactly goes into the DeMarker indicator formula, and why does it matter for your trading decisions?
What Is the DeMarker Indicator?
The DeMarker indicator, often abbreviated as DeM, is a technical oscillator developed by Thomas DeMark. Unlike some indicators that focus on closing prices, the DeMarker indicator focuses specifically on intra-period highs and lows to measure demand for an asset. It generates values between 0 and 1, with readings above 0.7 suggesting overbought conditions and readings below 0.3 indicating oversold conditions.
The core idea is simple: by comparing the current period's price extremes to the previous period's extremes, the indicator reveals whether buying or selling pressure is dominating.
The DeMarker Indicator Formula Explained
The DeMarker indicator formula might look intimidating at first, but breaking it down step by step makes it manageable. The calculation involves four key components.
Step 1: Calculate DeMax (Buying Pressure)
For each period, you compare the current high to the previous high:
- If the current high is greater than the previous high: DeMax = Current High − Previous High
- If the current high is equal to or lower than the previous high: DeMax = 0
This captures the upward momentum—how much higher the market pushed compared to the last bar.
Step 2: Calculate DeMin (Selling Pressure)
Similarly, you compare the current low to the previous low:
- If the current low is less than the previous low: DeMin = Previous Low − Current Low
- If the current low is equal to or greater than the previous low: DeMin = 0
This captures downward pressure—how much lower the market dropped.
Step 3: Apply Simple Moving Average
Both DeMax and DeMin are then smoothed using a Simple Moving Average (SMA) over N periods. The default period is typically 14.
Step 4: Calculate the Final Value
The DeMarker value is calculated as:
DeMarker = SMA(DeMax, N) ÷ [SMA(DeMax, N) + SMA(DeMin, N)]
Where N is the number of periods used for calculation.
This formula normalizes the result between 0 and 1, making it easy to interpret across different assets and timeframes.
How to Interpret DeMarker Readings
Once you understand the DeMarker indicator formula, interpreting the output becomes straightforward. The indicator oscillates between 0 and 1, with the midpoint at 0.5 serving as a neutral baseline.
Overbought Zone (Above 0.7): When the DeMarker indicator rises above 0.7, it suggests the market may be overbought. A bearish reversal could be imminent, especially if the line crosses back below 0.7.
Oversold Zone (Below 0.3): When the indicator falls below 0.3, it indicates oversold conditions. A bullish reversal might be on the horizon, particularly if the line crosses back above 0.3.
Neutral Zone (Between 0.3 and 0.7): Readings in this range suggest the market is trading sideways with lower volatility.
Divergence Signals: Perhaps the most powerful use of the DeMarker indicator is spotting divergences. If price makes a new high but the indicator fails to reach a new peak, it suggests weakening momentum and a potential trend change.
DeMarker Indicator MT5 and TradingView: Platform Considerations
The DeMarker indicator is available on multiple trading platforms, making it accessible to a wide range of traders.
DeMarker Indicator MT5: MetaTrader 5 includes DeMarker as a built-in indicator. You can access it through the Navigator panel under Indicators > Oscillators > DeMarker. The MT5 version uses the standard 14-period setting and displays values between 0 and 1.
DeMarker Indicator TradingView: On TradingView, the DeMarker indicator can be added through Pine Script or by using community-built scripts. Traders can customize the period length, overbought/oversold levels, and visual appearance. Some versions allow adjustments to the threshold levels—for instance, using 0.8 and 0.2 for more volatile assets like cryptocurrencies.
Both platforms offer the same core functionality, so your choice depends on your preferred trading environment.
Practical Applications in Trading
Understanding the DeMarker indicator formula is one thing; applying it effectively is another. Here are some practical ways traders use this oscillator.
Identifying Potential Reversals: The primary use case is spotting trend exhaustion. When DeMarker reaches extreme levels, it signals that the current trend may be losing steam.
Confirming Other Signals: The DeMarker indicator works best when combined with other technical tools. For example, you might use it alongside moving averages, support and resistance levels, or Fibonacci extensions to confirm potential entry and exit points.
Setting Stop-Loss and Take-Profit Levels: Extreme DeMarker readings can help inform where to place protective stops or lock in profits.
Trend Assessment: Longer period settings help identify long-term market tendencies, while shorter periods allow for more precise entry timing.
A Note on Monitoring Positions
For traders who actively use indicators like the DeMarker, keeping an eye on open positions while watching for signals can be challenging—especially when you're not sitting in front of your trading terminal. This is where tools like Camovia Tray come in. It turns your MT5 or MT4 into a system tray tool, letting you hover over the tray icon to check live quotes and view open positions without opening the full terminal. When the DeMarker indicator suggests a reversal might be forming, you can quickly check your exposure and close positions with a click—all while keeping your market data local on your computer.
Key Takeaways
The DeMarker indicator formula provides a systematic way to measure buying and selling pressure by comparing price extremes across periods. The resulting oscillator helps traders identify overbought and oversold conditions, spot potential divergences, and time their entries and exits more effectively.
Whether you're using the DeMarker indicator on MT5, TradingView, or another platform, the core principles remain the same: values above 0.7 suggest caution for bulls, values below 0.3 suggest opportunity for bears, and divergences often precede significant price moves. Like any technical tool, it works best when combined with other analysis methods and proper risk management.
MT4/MT5 Tray Assistant
Silent tracking, one-click close - check quotes and manage positions right from the tray.
Download Camovia TrayFrequently Asked Questions
Which languages are supported?
Chinese and English, switchable on both the website and the client.
How do I download it?
Install from the Microsoft Store - the download page on this site has the link.
How do I report issues or contact you?
Send an email to [email protected].
Where are the privacy policy and user agreement?
The "Privacy" and "EULA" links in the footer of this site, with GDPR/CCPA information included.
Online Tools
Popular Symbols Trading Hours
Open/close times, weekend hours & live market status:
Related Articles
XAUUSD Opening Time EST: What Traders Get Wrong About “Gold Never Sleeps”
XAUUSD opening time EST explained: why the Sunday 6 PM open is not the session that matters. Understand XAUUSD trading hours, broker vs. market time, and how Camovia Tray helps you monitor gold quotes and positions from the system tray.
The “Headless” MetaTrader Trap: What 2026 Actually Demands
Discover why the 2026 "headless MetaTrader" trend is misunderstood. Camovia Tray turns MT5/MT4 into a native tray tool for quotes & positions—no server hacks needed.
MT4 Error 131: What Causes "Invalid Trade Volume" and How to Fix It
Learn what causes MT4 error 131 (invalid trade volume) and how to fix it. Camovia Tray helps you manage positions from the system tray after placing trades.
Stop Loss? I Don’t Want to Use It – And Here’s Why That Might Be Okay
Stop loss not for you? Camovia Tray lets you monitor open positions from the system tray without hard stops. Live quotes, one-click close, local data, and full privacy. Stay aware, stay in control.
How to Calculate Profit in Gold Trading (XAUUSD Math)
Gold profit math step by step: contract size, points moved and dollars per 0.01 lot on XAUUSD, and Camovia Tray keeps lot size and open risk visible.
More Articles
Gold Volatility Indicators: Reading XAUUSD Session Swings
Measure gold volatility before sizing a trade: average daily range and session swings on XAUUSD, and Camovia Tray keeps daily loss and trade count visible.
Top Crypto Signals Telegram Channel: A Comparative Look at What Works and What Doesn‘t
Compare top crypto signals Telegram channels, the best crypto signals Telegram channels, and the best Bitcoin signals Telegram channel—plus how Camovia Tray streamlines MT5/MT4 trade execution.
MT5 Native Terminal vs a Tray Tool: Which Is Better for Watching the Market?
Is the native MT5 terminal enough? Compare opening the terminal to check quotes with checking them from the system tray - and find the more efficient setup for daily market watching.
MetaTrader Market Open Hours: A Practical Guide for Traders Who Watch the Clock
MetaTrader market open hours explained for traders, including MetaTrader 5 market open time in India. Track sessions easily with Camovia Tray.
The Backtest Mirage: Why Your MT5 Strategy Tester Results Might Be Lying to You (And How to Fix It)
Discover the hidden traps in MT5 backtesting and how to avoid them. Learn to stress-test strategies effectively and streamline your workflow with Camovia Tray.