Supply and demand EA / nested zones with trend aka sam seiden

Specification

A SPECIFICATION: NESTED MULTI-TIMEFRAME MOMENTUM (NMTM)

1. CORE OBJECTIVE

The EA is designed to identify institutional Supply and Demand zones on the

H4 timeframe that are "nested" within Daily (D1) zones. It filters for high-

momentum "Leg-Out" moves and only trades in the direction of the Daily

trend.

2. PHASE 1: TREND & CONTEXT FILTERS (DAILY)

The EA must first confirm the Daily bias. No H4 zones are valid if they

contradict the D1 trend.

A. Trend Definition

• Bullish Trend (Longs Only): * 20 EMA is above the 50 SMA.

• Current Price is above the 50 SMA.

• Bearish Trend (Shorts Only): * 20 EMA is below the 50 SMA.

• Current Price is below the 50 SMA.

• Trend Invalidation: If the Daily price closes on the opposite side of the 50

SMA, the trend is considered finished, and all pending limit orders for that

direction must be cancelled.

B. Higher Timeframe (HTF) Nesting

• H4 Demand: The H4 zone (High to Low) must be physically located within

the boundaries of a Daily Demand Zone.

• H4 Supply: The H4 zone (High to Low) must be physically located within

the boundaries of a Daily Supply Zone.

3. PHASE 2: H4 ZONE IDENTIFICATION (THE BASE)

The EA identifies the "Base" using four specific price action formations:

1. RBR (Rally-Base-Rally): Bullish continuation.

2. DBR (Drop-Base-Rally): Bullish reversal.

3. DBD (Drop-Base-Drop): Bearish continuation.

4. RBD (Rally-Base-Drop): Bearish reversal.

The Base Span: Defined as the vertical distance (in pips) between the

highest high and lowest low of the consolidation candles (the "Base") before

the explosive move.

4. PHASE 3: THE "EXPLOSIVE LEG-OUT" QUALITY CONTROL

A zone is only valid if the candle that exits the base (the "Leg-Out")

represents an abnormal institutional footprint.

A. Momentum Ratio (The 70% Rule)

The Leg-Out candle must have a high body-to-range ratio to ensure minimal

price rejection (small wicks).

• Formula: \frac{|Open - Close|}{High - Low} \ge 0.70

• Note: The candle body must represent at least 70% of the total candle

range.

B. Size Requirement

The Leg-Out candle must be "abnormally larger" than the candles forming

the Base. (Recommended: at least 2x the average size of the previous 3

candles).

5. PHASE 4: THE "FOLLOW-THROUGH" (3X MOVE VALIDATION)The EA will not place a limit order immediately. It must wait for the move

to "complete" to verify the profit potential.

1. Move Tracking: Monitor the sequence of candles following the Leg-Out

that are the same color as the Leg-Out.

2. Termination: The "Move" ends when a candle of a different color closes.

3. The 3x Validation Rule:

• Calculation: Total distance of the move (from the edge of the Base to the

highest/lowest point of the same-colored sequence).

• Requirement: The Move must be at least 3 times the size of the Base

Span.

• Logic: MoveDistance \ge (BaseSpan \times 3)

6. PHASE 5: EXECUTION & TRADE MANAGEMENT

A. Entry (Limit Orders Only)

• Buy Limit: Placed at the Proximal Line (top) of the H4 Demand Base.

• Sell Limit: Placed at the Proximal Line (bottom) of the H4 Supply Base.

B. Stop Loss (SL)

• Long: Placed at the Distal Line (bottom) of the H4 Demand Base.

• Short: Placed at the Distal Line (top) of the H4 Supply Base.

C. Order Invalidation

• Delete the Limit Order if the Daily trend changes (Price closes on the

wrong side of 50 SMA).

• Delete the Limit Order if price returns to the zone and "touches" it before

the 3x move was completed.

Summary of Mathematical Constraints for Developer:

• Trend: (EMA20 > SMA50) && (Close > SMA50) = Longs Only

• Candle Quality: Body / (High - Low) >= 0.7

• Reward/Risk Potential: Move_Sequence_Pips >= (Base_Pips * 3)

And SL 33% SL buffer on H4 chart

Stoplossto BE function with R multiples / Take profit R multiples

calculate position size based on dollar risk


Responded

1
Developer 1
Rating
(395)
Projects
556
41%
Arbitration
30
57% / 3%
Overdue
57
10%
Free
Published: 11 codes
2
Developer 2
Rating
(22)
Projects
28
7%
Arbitration
9
33% / 33%
Overdue
1
4%
Working
3
Developer 3
Rating
(3)
Projects
3
0%
Arbitration
1
0% / 100%
Overdue
0
Free
4
Developer 4
Rating
(13)
Projects
20
40%
Arbitration
3
0% / 67%
Overdue
3
15%
Free
5
Developer 5
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
6
Developer 6
Rating
(438)
Projects
649
53%
Arbitration
35
63% / 20%
Overdue
7
1%
Working
7
Developer 7
Rating
(24)
Projects
32
38%
Arbitration
4
50% / 25%
Overdue
5
16%
Working
8
Developer 8
Rating
(45)
Projects
53
57%
Arbitration
2
100% / 0%
Overdue
1
2%
Free
Published: 5 codes
9
Developer 9
Rating
(2352)
Projects
2958
63%
Arbitration
125
44% / 26%
Overdue
429
15%
Free
10
Developer 10
Rating
(30)
Projects
38
45%
Arbitration
4
50% / 50%
Overdue
3
8%
Working
11
Developer 11
Rating
(5)
Projects
7
0%
Arbitration
8
13% / 75%
Overdue
3
43%
Free
12
Developer 12
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
13
Developer 13
Rating
(2678)
Projects
3426
68%
Arbitration
78
49% / 14%
Overdue
343
10%
Working
Published: 1 code
14
Developer 14
Rating
(7)
Projects
6
0%
Arbitration
4
25% / 75%
Overdue
2
33%
Free
15
Developer 15
Rating
(319)
Projects
574
35%
Arbitration
83
31% / 45%
Overdue
207
36%
Free
16
Developer 16
Rating
(23)
Projects
32
41%
Arbitration
9
22% / 33%
Overdue
4
13%
Loaded
Published: 8 articles, 35 codes
17
Developer 17
Rating
(10)
Projects
17
18%
Arbitration
2
0% / 50%
Overdue
3
18%
Loaded
18
Developer 18
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
19
Developer 19
Rating
(10)
Projects
13
0%
Arbitration
24
0% / 79%
Overdue
4
31%
Free
20
Developer 20
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
21
Developer 21
Rating
(215)
Projects
282
21%
Arbitration
28
57% / 14%
Overdue
0
Working
22
Developer 22
Rating
(4)
Projects
4
25%
Arbitration
0
Overdue
0
Free
23
Developer 23
Rating
(4)
Projects
7
57%
Arbitration
1
100% / 0%
Overdue
0
Free
24
Developer 24
Rating
(370)
Projects
460
55%
Arbitration
24
58% / 17%
Overdue
31
7%
Working
25
Developer 25
Rating
(55)
Projects
68
43%
Arbitration
15
27% / 60%
Overdue
1
1%
Working
26
Developer 26
Rating
(80)
Projects
109
56%
Arbitration
5
80% / 20%
Overdue
5
5%
Working
27
Developer 27
Rating
(1)
Projects
1
100%
Arbitration
0
Overdue
0
Free
Published: 7 codes
28
Developer 28
Rating
(55)
Projects
92
24%
Arbitration
8
75% / 13%
Overdue
44
48%
Free
29
Developer 29
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
30
Developer 30
Rating
(8)
Projects
8
0%
Arbitration
2
50% / 0%
Overdue
1
13%
Working
31
Developer 31
Rating
(10)
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
32
Developer 32
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
33
Developer 33
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
34
Developer 34
Rating
Projects
2
0%
Arbitration
0
Overdue
1
50%
Free
Similar orders
AI Forex Trading Bot for MT4 and MT5 I need an advanced Forex trading robot (Expert Advisor) that works on both MetaTrader 4 and MetaTrader 5. The robot should automatically analyse the Forex market, identify BUY and SELL opportunities, and execute trades when the trading conditions are met. It should support GBPUSD, EURUSD, USDJPY and GBPJPY. The robot should use EMA, RSI, MACD, price action and trend analysis
Name: SteelEdge Platform: MetaTrader 5 (MQL5) Expert Advisor Instruments: XAUUSD, EURUSD, US30 Timeframe: H1 (inputs to change it) STRATEGY - Trend filter: buy only when price is above the 200 EMA, sell only when below - Entry: price pulls back to the 50 EMA and a bullish (buy) or bearish (sell) engulfing candle closes - Confirmation: RSI(14) above 50 for buys, below 50 for sells - Stop loss: 1.5 x ATR(14) - Take
Aziz Toure 50 - 400 USD
I am an independent trader and entrepreneur based in Côte d’Ivoire. I work in financial markets, analyze trading opportunities, and provide digital financial services. I am also interested in international trade, online business, and developing long-term business activities
SMC Bot Creation 350 - 550 USD
Hello, I am interested in developing a professional MT5 Expert Advisor similar in functionality and technical sophistication to your reference product, Institutional SMC Robot: https://www.mql5.com/en/market/product/187011 I want to develop my own independent EA based on advanced Smart Money Concepts (SMC), with a strong focus on institutional price action, liquidity and market structure. The key functionalities I
Phixfx 30 - 150 USD
Project Brief: Multi-Asset EA/Indicator Optimization, Debugging, and Futures Strategy Refinement ​1. Project Overview & Objective ​I am looking for an experienced algorithmic developer to inspect, debug, optimize, and enhance an existing automated trading system. The system combines custom indicators and execution logic across Forex and Futures markets. ​The primary goals of this project are: ​Debug existing logic
​I am looking for an experienced MQL5 developer to build a fully automated MetaTrader 5 Expert Advisor (EA) optimized primarily for XAUUSD (Gold), featuring a clean Tkinter-style telemetry dashboard control concept or customizable input parameters. ​1. Core Strategy Rules (Full-Body Engulfing) ​Signal Identification: The EA must scan completed candles across multiple selectable timeframes (e.g., 1M, 5M, 15M, 30M, 1H)
I am commissioning the development and reverse-engineering of a commercial-grade, multi-strategy quantitative trading portfolio modeled on proven institutional frameworks (Reference methodology: https://whop.com/the-agent-algo/products/ ). The goal is to develop a standalone, fully owned commercial trading system covering Nasdaq (NQ) and Gold (XAUUSD) with an integrated licensing engine ready for commercial
Exir AI 30 - 200 USD
I need an experienced MQL5 developer to build a custom AI-assisted Expert Advisor (EA) for MetaTrader 5. The EA will run on a live MT5 account with Tickmill and must support Forex and Crypto CFDs. Required instruments: - EURUSD - GBPUSD - USDJPY - XAUUSD - BTCUSD - ETHUSD Required timeframes: - M5, M15, and M30 Trading logic: - M30 determines the overall trend. - M15 identifies entry zones, support/resistance, and
Hello, I am an independent developer selling an Expert Advisor (EA) on the MQL5 Market. I am looking for an experienced Forex affiliate marketing company or professional marketer to promote my existing MT5 trading robot to customers worldwide. My proposed partnership offers a 35% commission per verified sale, with the possibility of a long-term collaboration. I would like to know: Do you promote third-party MT5
USD54 Applications The bot should open trades when the price breaks out of the band by a specified percentage, for example, 0.10%. If the price breaks above the band, the bot should open a long position. If the price breaks below the band, it should open a short position. The bot should also open trades when the price touches a band: Bullish band cross: When a bullish cross occurs between the bands, the bot should

Project information

Budget
30 - 300 USD
Deadline
to 7 day(s)