오실레이터 OscillatorExhaustionReversal Builder에서 사용 가능

DeMarker

DeMarker compares how much of the recent range came from new highs against how much came from new lows, and returns the result as a ratio between 0 and 1. It answers a narrower question than RSI — it reads the bar extremes rather than the closes — and its scale is 0 to 1, not 0 to 100.

Default period
14
Overbought
0.7
Oversold
0.3
0.7 — overbought0.3 — oversoldMidpoint 0.5DeMarker(14) — scale is 0 to 1, not 0 to 100

예시용 — 합성 데이터로, 실시간 호가가 아닙니다.

What DeMarker tells you

DeMarker asks which side of the market has been making progress. For each bar it measures how far the high extended beyond the previous high, and how far the low extended below the previous low. Averaged over the period, the two are expressed as one ratio: near 1 almost all the movement has been upward extension, near 0 almost all of it downward. The reading is about the extremes of the bars, which is why it can look different from an oscillator built on closes.

  • Above 0.7: buyers have been taking almost all the new ground
  • Below 0.3: sellers have
  • The scale is 0 to 1 — 0.7 here is not the same number as RSI's 70
  1. 1 Measure how far each high beat the previous high
  2. 2 Measure how far each low undercut the previous low
  3. 3 Average both and take up ÷ (up + down)
공식 및 계산 세부 정보 표시

DeMarker is a ratio built from bar extremes rather than closing prices:

  1. For each bar, take DeMax = high − high[1] when this high is above the previous one, and 0 otherwise.
  2. Take DeMin = low[1] − low when this low is below the previous one, and 0 otherwise.
  3. Average both over the period and divide: DeM = SMA(DeMax) / (SMA(DeMax) + SMA(DeMin)).

Because the numerator is part of the denominator, the result cannot leave the range 0 to 1. A value of 0.5 means new highs and new lows have extended by the same total amount over the window; 0.9 means almost all the new ground has been made upward.

In MQL5 the call is iDeMarker(symbol, period, ma_period) — a period and nothing else. There is deliberately no applied-price argument: the formula already names which prices it uses, and no single series could stand in for both the high and the low.

The scale is the thing to get right. DeMarker’s boundaries are conventionally 0.3 and 0.7, and they are not RSI’s 30 and 70 with a decimal point moved for convenience — they are the actual numbers this indicator produces. A rule written as DeMarker < 30 is legal MQL5, compiles without complaint, and is true on every bar the market has ever printed, because the maximum possible reading is 1. The condition then contributes nothing and the EA trades on whatever else is in the flow. This is the single most common way the indicator is misused, and nothing in the platform warns about it. The subtler version of the same mistake is worth knowing too: a threshold can be on the right scale and still mean something different. The Ultimate Oscillator runs 0 to 100 exactly as RSI does and is drawn with the same 70 and 30 lines, yet measured on identical series it sits above 70 for 1.13% of bars against RSI’s 4.94% — legal, plausible, and four times rarer than intended.

The other thing worth knowing is what an extreme actually means. DeMarker at 0.85 says buyers have taken nearly all the new ground over the last fourteen bars. That is a description of what has happened, not a prediction that it will stop — in a real trend the reading can stay up there for dozens of bars while price keeps making highs. Which is why the Builder’s template does not trade 0.3 on its own: it first requires ATR to be below its value twenty bars earlier, so the rule only fires once the market has stopped extending. The extreme says where price is; the volatility condition says whether fading it is a sensible thing to do.

신호

DeM이 제공하는 백테스트 가능한 뚜렷한 신호 — 및 각 신호에 적합한 시장 상황.

Oversold and Overbought

Builder로 구현 가능
조건
DeMarker below 0.3, or above 0.7
최적 시장 상황
Ranging
일반적인 사용
Fade an extreme once something else says the market is not trending

Midpoint Crossover

Builder로 구현 가능
조건
DeMarker crosses 0.5
최적 시장 상황
Either regime
일반적인 사용
Read which side is currently taking the new ground

Exhaustion in a Trend

Builder로 구현 가능
조건
DeMarker stays above 0.7 while price keeps climbing
최적 시장 상황
Trending
일반적인 사용
A warning that the trend is mature — not a reversal signal on its own

Divergence from Price

고급 로직
조건
Price makes a new extreme, DeMarker does not
최적 시장 상황
Trend exhaustion
일반적인 사용
A discretionary read that the extension is weakening

MT5 구현

MetaTrader 5가 실제로 계산하고 그리는 내용 — 이 페이지의 모든 규칙이 기준으로 삼는 사양입니다.

버퍼

인덱스 버퍼 MT5 표시 방식 저장 값
0 MAIN_LINE Line The ratio itself, bounded between 0 and 1. There is one buffer and no signal line — anything drawn over DeMarker on a chart is a second indicator.

플랫폼 참고

가장 잘 작동하는 경우 / 주의해서 사용

어떤 지표도 보편적인 우위를 가지지 않습니다. DeM이 도움이 되는 곳 — 그리고 오해를 일으키는 곳.

가장 잘 작동하는 경우

  • Ranging or contracting markets
  • Together with a filter that establishes there is no trend
  • Instruments whose highs and lows are meaningful (not heavily gapped)
  • Higher timeframes, where single spikes matter less

주의해서 사용

  • Trending markets — the reading can sit above 0.7 for a long time
  • Reading 0.7 / 0.3 as if they were RSI's 70 / 30
  • Acting on an extreme with no second condition
  • Very short periods, where one wide bar moves the whole ratio

DeM 전략 구축

신호를 진입 및 청산 규칙에 연결하고, 컴파일 가능한 MT5 EA를 내보내세요 — 코드 없이.

  1. DeMarker read at the current bar
  2. Compare it against 0.3 for the long side, 0.7 for the short side
  3. ATR read at the current bar, and a second ATR node read 20 bars back
  4. Compare the two — the current one being smaller means volatility is contracting
  5. DeMarker below 0.3 and ATR contracting → Open Buy · SL 40 / TP 80
  6. Stop then trails at 2× ATR

DeM을 다른 지표와 결합

하나의 지표만으로는 충분하지 않습니다. 이 조합들이 DeM의 취약점을 보완합니다.

DeM + ATR

  1. DeMarker below 0.3
  2. ATR below its value 20 bars ago
  3. Buy
이유
DeMarker's weakness is the trending market, where an extreme reading simply persists; ATR contracting against its own recent value is a way of saying the market has stopped extending, which is exactly when fading an extreme has a chance
최적 시장 상황
Ranging
이 전략 구축 →

DeM + ADX

  1. ADX below 20
  2. DeMarker below 0.3
  3. Buy
이유
The same idea stated with a trend-strength gauge instead of a volatility one — take the reversal only when ADX says no trend is in control
최적 시장 상황
Ranging

No single-flow template pairs DeMarker with ADX. Start from DeMarker Reversal + ATR Squeeze and replace the ATR comparison with an ADX node and a Compare at 20.

Builder 열기 →

DeM + Bollinger Bands

  1. Price at the lower band
  2. DeMarker below 0.3
  3. Buy
이유
Require price to be at a statistical extreme as well as the ratio, so the entry needs both the distance and the exhaustion to agree
최적 시장 상황
Ranging

No single-flow template pairs DeMarker with Bollinger Bands. Start from DeMarker Reversal + ATR Squeeze and add a Bollinger node with a Compare against Price.

Builder 열기 →

매개변수

자신의 통화쌍과 시간 프레임에서 검증할 초기값 — 보장된 설정이 아닙니다.

매개변수 기본값 권장 테스트 범위 기능
Period 14 5–50 How many bars of highs and lows the ratio averages. Shorter periods swing between the extremes on a single wide bar; longer ones describe the week rather than the moment. 14 is the documented default and a baseline to re-validate, not portable truth.
Shift 0 0–30 Which bar back the node reads the buffer from. Two DeMarker nodes at different shifts is how a rule expresses 'the reading is turning', since the indicator has no signal line of its own.
Applied price There is none. The calculation reads each bar's high and low directly, so there is no single series to choose. An applied-price input on a DeMarker is a sign the indicator is not MT5's standard one.

초기 프리셋

Fast 7 Reacts within the session; more extreme readings
Standard 14 MT5's default, and the template's
Slow 25 Fewer extremes, each meaning more

시장 예시

DeM이 작동하는 곳, 실패하는 곳, 그리고 필터가 결과를 어떻게 바꾸는지.

성공

Fade inside a quiet range

DeMarker drops below 0.3 while ATR is well under its level twenty bars earlier. The market has stopped extending, and the reversal has room to work.

실패

The same reading inside a trend

DeMarker is below 0.3 but ATR is expanding — price is making genuinely new lows. Buying here is fading a move that has not finished, which is the case the volatility condition exists to remove.

필터링됨

The ATR condition blocks the trade

A run of extreme readings during a volatility expansion is skipped entirely, and the account avoids a sequence of entries against the dominant direction.

FAQ

Is DeMarker just RSI with different numbers?
No. They answer similar questions but read different data. RSI averages the size of up closes against down closes; DeMarker measures how far each bar's high extended beyond the previous high and how far each low undercut the previous low. A bar that swings widely and closes unchanged barely moves RSI but does move DeMarker. The two also live on different scales — 0 to 1 here, 0 to 100 there.
Why is my DeMarker rule always true?
Almost certainly because the threshold was written as 30 or 70. DeMarker cannot exceed 1, so 'below 30' is true on every bar and 'above 70' is never true. Nothing errors — the condition is simply meaningless, and the EA trades on whatever else is in the flow. Use 0.3 and 0.7.
What period should I use?
14 is MT5's default and the right starting point. Below about 7 a single wide bar can push the ratio to an extreme, and above about 25 the readings describe the week rather than the current move. Treat any number as something to re-validate on your pair and timeframe rather than as a setting that transfers.
Can I trade DeMarker extremes on their own?
Not reliably. In a trending market the reading stays at an extreme while price keeps going, so an unfiltered rule fades every leg of a move that is still running. That is why the Builder template requires ATR to be contracting before it acts — the extreme says where the market is, and something else has to say whether fading it is sensible.
Can I build a DeMarker EA without coding?
Yes. The DeMarker Reversal + ATR Squeeze template compares DeMarker against 0.3 and 0.7, and requires ATR to be below its value twenty bars back before either side can fire. The period, both levels, the ATR lookback and the trailing multiple are all EA inputs.
How should I validate settings before going live?
Backtest on quality tick data, then run on a demo account before risking money. Because this is a reversal rule, pay particular attention to how the equity curve behaves during strong trends rather than to the headline profit — that is where this family of strategies does its damage. Hold back data the search never saw and prefer settings that stay profitable across periods.

Glossary

핵심 용어