CFDs and forex are complex instruments and come with a high risk of losing money rapidly due to leverage. Risk disclosure

DeMarker Indicator Explained

This guide explains what the DeMarker indicator measures, how it is calculated, how to set it up in MetaTrader and where its readings can mislead you.

Extrade Pakistan editorial team ·

On this page
  1. What the DeMarker indicator shows
  2. Formula
  3. DeMarker settings in MT4 and MT5
  4. How to use DeMarker: reading an example
  5. When DeMarker misleads
  6. Frequent questions

What the DeMarker indicator shows

The DeMarker indicator is an oscillator. An oscillator is a line that moves inside a fixed range below the price chart. DeMarker compares each bar's high and low with the high and low of the bar before it.

Readings near the top are often called overbought, and readings near the bottom oversold. Our overbought and oversold guide explains what these labels mean and what they do not mean.

overbought 0.7oversold 0.3DeMarker 14
DeMarker under the price chart. Above the upper level the market is called overbought, below the lower level oversold. In a strong trend it can stay there for long. Illustrative example: made-up numbers for learning, not real prices or a broker's conditions.

Formula

For each bar:

Then, over a chosen period N:

DeMarker = SMA(DeMax, N) ÷ (SMA(DeMax, N) + SMA(DeMin, N))

SMA is a simple moving average, explained on our SMA indicator page. DeMarker uses only highs and lows, not closes. This is how it differs from the RSI indicator, which uses closing prices.

DeMarker settings in MT4 and MT5

In MetaTrader 4 and MetaTrader 5, open Insert → Indicators → Oscillators → DeMarker. You can also drag it from the Navigator window onto the chart.

A shorter period makes the line react faster and produces more extreme readings. A longer period smooths it and keeps it near the middle for longer. Test any change on a demo account before relying on it.

How to use DeMarker: reading an example

The sketch below is a drawing, not real market data:

In the drawing, price makes a higher peak on the right, but the DeMarker peak is lower. This mismatch is called divergence (see divergence trading). It shows that the push to new highs was weaker. It does not say what price will do next.

Common ways traders use DeMarker:

When DeMarker misleads

No indicator setting removes these problems. Leveraged forex and CFD trading can lose money fast, so read risk management before trading with any oscillator.

Frequent questions

Is DeMarker a leading or lagging indicator?

It is built on moving averages, so it lags price. See leading vs lagging indicators for more.

Does DeMarker repaint?

No. Values on closed bars do not change. The value on the current bar changes until that bar closes.

Is there a best DeMarker strategy?

No setting or strategy works in all conditions. Treat DeMarker as one input among several, not as a signal on its own.

How is DeMarker different from Williams %R?

Williams %R places the close within a recent range. DeMarker compares bar-to-bar changes in highs and lows.

Related pages