Sam Seiden Supply Demand Indicator for MT4 and MT5

Written by Dominic Walsh · Published · Last updated

Sam Seiden’s approach looks for a quiet base of small candles followed by a strong departure. The sam seiden supply demand indicator measures both against the average range, boxes the base as demand or supply, and marks a candle that returns to the zone and closes back out of it.

This build ships as a compiled .ex4 for MT4 and .ex5 for MT5.

Platforms MT4 (.ex4) + MT5 (.ex5)
Chart window Main price chart
Plots 4: SD Buy, SD Sell, Demand, Supply
Alerts popup, push notification, email, sound
Inputs 16

What the file declares

Zone boxes, two lines and two marks.

`DemandColor` `clrSeaGreen` fills demand boxes.

`SupplyColor` `clrIndianRed` fills supply boxes.

`Demand` and `Supply` lines trace the live zone edges.

`SD Buy` prints lime with arrow 233.

`SD Sell` prints red with arrow 234.

  • SD Buy: arrow, lime, width 2, arrow code 233
  • SD Sell: arrow, red, width 2, arrow code 234
  • Demand: line, sea green, width 1
  • Supply: line, indian red, width 1
sam seiden supply demand indicator: Demand and supply zones with returns marked, EURUSD H1.
Demand and supply zones with returns marked, EURUSD H1.

How the source computes it

The departure

A candle body of at least `LegFactor` `1.2` ranges counts as a leg. A rally leg builds demand, a drop leg builds supply.

The base

Up to `MaxBase` `3` candles behind it must have bodies of `BaseFactor` `0.5` ranges or less. Their body top and low set the demand zone.

The return

A bar that reaches the zone’s near edge, holds above its far edge and closes bullish prints SD Buy. A close through the far edge retires the zone.

Reading it correctly

Green boxes sit under price, red above.

Each box starts at the base and runs right.

A mark means the zone held on a return.

A close through a zone removes it.

`MaxZones` `6` per side stay live.

`ZoneRightBars` `80` sets box length.

Alert channels in this build: popup, push notification, email and sound, one message per closed bar.

Returns to a live zone produce one message per bar. `EnableAlerts` holds the gate, and a popup sits ready from the start; the other three routes stay off until you switch them on.

Every Sam Seiden Supply Demand Indicator input

Core settings

Setting What it does Default
AtrPeriod ATR period (candle-size reference). Range window for candle sizes, `14`. 14
LegFactor Departure body >= x ATR (rally/drop). Departure body in ranges, `1.2`. 1.2
BaseFactor Base candle body <= x ATR (small body). Largest base body in ranges, `0.5`. 0.5
MaxBase Max base candles behind the leg. Base candles at most, `3`. 3
MaxZones Max concurrent zones per side. Live zones per side, `6`. 6
ZoneRightBars Bars each zone extends to the right. Box length in bars, `80`. 80
FillZones Filled boxes (never combined with BACK). Filled boxes, `false`. off
ObjectPrefix (see inputs panel) SamSD_

Display settings

Setting What it does Default
DemandColor Demand box colour, `clrSeaGreen`. sea green
SupplyColor Supply box colour, `clrIndianRed`. indian red

Alert settings

Setting What it does Default
EnableAlerts Switch for zone messages, `true`. on
EnablePopup (see inputs panel) on
EnablePushNotify (see inputs panel) off
EnableEmail (see inputs panel) off
EnableSound (see inputs panel) off
SoundFile (see inputs panel) alert.wav
sam seiden supply demand indicator: Inputs panel, candle-size rules above the zone limits.
Inputs panel, candle-size rules above the zone limits.

Matching it to your chart

Strong departures from quiet bases stand out on hourly charts. EURUSD H1 is the reference chart, with a few new zones a day. On M15 zones come fast. On H4 and D1 they match Seiden’s own examples.

Known weak points

Fresh zones tend to hold better than tested ones.

A strong trend runs through old zones.

Base rules miss wide, messy bases.

Only a popup reports by default.

Copy the compiled Sam Seiden Supply Demand Indicator file into your MQL4/Indicators folder, and the MT5 build into MQL5/Indicators, then restart the terminal and drag it onto a chart. The step-by-step guide with screenshots is at how to install MT4 and MT5 indicators.

Related on forexmt4systems.com: Supply and Demand Strategy.

Download the Sam Seiden Supply Demand Indicator for MT4 and MT5

The zip holds the compiled Sam Seiden Supply Demand Indicator build for MT4 and MT5, plus a short README. Compiled files only, no source. Enter your email below and the download link arrives in your inbox.

Download this indicator free

Enter your email and the file is yours. You also get the full MT4 and MT5 library.

  • 1,380+ indicators
  • MT4 and MT5 files
  • No spam, unsubscribe any time

FAQ

What counts as a base for LegFactor 1.2?

One to three candles with bodies of half a range or less, sitting right behind a candle whose body is at least 1.2 ranges. That quiet-then-strong shape is the core of the method.

Why do boxes show solid even with FillZones false?

MT4 fills rectangle objects drawn in the background by default. The input changes how the build requests the fill, so boxes can still show as solid on some terminals.

When does SD Buy print at a demand zone?

When a bar reaches the top of a live demand zone, stays above its low, and closes higher than it opened. Only one mark per side can print on a bar.

What removes a demand zone?

A close below its low. The zone stops being live at once and can no longer produce a mark, even if price comes back later.

Are results guaranteed?

No. Trading involves risk. Results are not guaranteed; past performance is not indicative of future results. Use the Sam Seiden Supply Demand Indicator as one input. Always backtest before trading live.

Category: this is part of our Trend collection. Browse more Trend for MetaTrader, or explore every MT4 indicator and MT5 indicator on the site.

External references

Dominic Walsh - Forex trader and MT4/MT5 developer

About the author

Written by Dominic Walsh, a Forex trader and MT4/MT5 indicator, Expert Advisor and script developer. Every tool on forexmt4systems.com is tested on live charts before release and ships with ready-to-use compiled MT4 (.ex4) and MT5 (.ex5) files. Learn more about the trader and developer behind this site.

How we build, test and correct every tool: Editorial & Testing Policy. Trading carries risk; see the disclaimer.

Leave a Comment