MT4 Liquidity Sweep EA

Specification

Requirements Specification for Asian Range Breakout EA

1. Introduction

This document outlines the functional and technical requirements for the Asian Range Breakout Expert Advisor (EA) for MetaTrader 4 (MT4). The EA identifies a trading range during a specified time window (Asian Range) and executes trades based on specific breakout conditions.

2. Functional Requirements

2.1 Asian Range Identification

  • The EA must define the Asian Range based on a time window specified by the user.

  • Default range: 19:00 EST to 24:00 EST.

  • The user must be able to configure the start and end hours in the input parameters.

  • The EA must account for Daylight Saving Time (DST) in EST and adjust accordingly.

  • The Asian Range High and Low should be determined based on the highest and lowest price between the defined start and end hours.

2.2 Entry Conditions

  • Long Trade Entry:

    • A long position must be entered when a candle wicks below the Asian Range Low but closes above it.

    • The trade must be executed at the close of the triggering candle.

  • Short Trade Entry:

    • A short position must be entered when a candle wicks above the Asian Range High but closes below it.

    • The trade must be executed at the close of the triggering candle.

  • The EA should execute trades based on the timeframe of the chart it is running on (e.g., 15-minute timeframe means candles are 15-minute).

2.3 Stop Loss (SL) & Take Profit (TP)

  • The Stop Loss (SL) should be set below the low of the wick candle for long trades and above the high of the wick candle for short trades.

  • The user must be able to define a buffer in pips to adjust the SL beyond the wick level.

  • The SL must be at least 5 pips. If the calculated SL is smaller, it must be overridden to 5 pips.

  • The Take Profit (TP) should be set based on a Risk-to-Reward Ratio (RRR) specified by the user.

    • TP = Entry Price + (Risk × Risk-to-Reward Ratio) for long trades.

    • TP = Entry Price - (Risk × Risk-to-Reward Ratio) for short trades.

2.4 Position Sizing Based on Account Balance

  • The EA must provide an option for position sizing based on a fixed lot size or a percentage of account balance.

  • The user must be able to define a percentage of the account balance to risk per trade (e.g., 1%).

  • If SL is hit, the total loss should equal the specified percentage of the account balance.

  • The EA must dynamically calculate the trade lot size based on the user-defined risk percentage and the distance of SL from the entry price.

3. Technical Requirements

3.1 MetaTrader 4 Compatibility

  • The EA must be developed in MQL4.

  • The EA should work on any currency pair and timeframe.

  • The EA should use Magic Numbers to distinguish its trades.

  • The EA should allow for user-defined inputs:

    • Asian Range Start & End Hours (EST)

    • Lot Size

    • Slippage

    • Magic Number

    • Stop Loss Buffer (pips)

    • Minimum Stop Loss (pips)

    • Risk-to-Reward Ratio

    • Risk Percentage of Account Balance

3.2 Broker Time & DST Handling

  • The EA must adjust for broker time zone differences.

  • The EA must handle Daylight Saving Time (DST) automatically based on North American DST rules:

    • DST starts on the second Sunday of March.

    • DST ends on the first Sunday of November.

  • The EA must calculate the correct broker time adjustments based on whether DST is active.

3.3 Trade Execution & Risk Management

  • The EA must place orders with defined slippage.

  • The EA should avoid duplicate trades by ensuring that it does not enter multiple trades on the same signal.

  • The EA should manage active trades independently and avoid interference with manual trades.

4. Performance & Logging

  • The EA should log key events and errors for debugging purposes.

  • The EA should handle unexpected broker rejections or execution errors gracefully.

  • The EA should include basic debugging logs for identifying potential issues in execution.

5. Future Considerations

  • Potential addition of trade filtering conditions such as trend filters, volatility filters, or time-based restrictions.

  • Implementation of partial take profit or trailing stop mechanisms for optimizing profits.

6. Acceptance Criteria

  • The EA correctly identifies the Asian Range based on the user’s configured time.

  • The EA enters long and short trades as per the defined conditions.

  • The EA correctly calculates SL and TP based on the rules provided.

  • The EA correctly adapts to DST changes.

  • The EA does not interfere with manual trades.

  • The EA correctly calculates position sizing based on either fixed lot size or risk percentage of account balance.



Responded

1
Developer 1
Rating
(2)
Projects
3
0%
Arbitration
8
13% / 88%
Overdue
1
33%
Free
2
Developer 2
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
3
Developer 3
Rating
(328)
Projects
514
19%
Arbitration
35
46% / 31%
Overdue
34
7%
Working
4
Developer 4
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
5
Developer 5
Rating
(4)
Projects
9
11%
Arbitration
11
18% / 64%
Overdue
4
44%
Free
6
Developer 6
Rating
(78)
Projects
246
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
7
Developer 7
Rating
(211)
Projects
222
76%
Arbitration
0
Overdue
0
Free
8
Developer 8
Rating
(160)
Projects
206
61%
Arbitration
10
80% / 0%
Overdue
0
Free
Published: 1 code
9
Developer 9
Rating
(171)
Projects
195
42%
Arbitration
13
8% / 54%
Overdue
9
5%
Free
Published: 3 codes
10
Developer 10
Rating
(12)
Projects
9
33%
Arbitration
11
0% / 100%
Overdue
2
22%
Free
11
Developer 11
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Working
13
Developer 13
Rating
(322)
Projects
499
67%
Arbitration
5
40% / 0%
Overdue
4
1%
Free
Published: 8 codes
14
Developer 14
Rating
(461)
Projects
488
70%
Arbitration
6
67% / 0%
Overdue
2
0%
Free
15
Developer 15
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
Similar orders
Project Overview I am looking for an experienced MetaTrader 5 (MT5) Expert Advisor developer to build a professional, production-quality automated trading system from a detailed Software Requirements Specification (SRS). The strategy is based on a custom implementation of the MACD indicator combined with advanced trade management and a proprietary basket/grid recovery methodology. The complete strategy and
DESCRIPTION: I have a trading bot (Pips Sure EA v2.1) that operates on MT4, but I do not own the original .mq4 source code file. I need an experienced MQL4 developer to build a clean, optimized clone from scratch so that I can own the source code for long-term updates. WHAT I WILL PROVIDE: 1. The compiled .ex4 bot file. 2. The companion custom indicator file used by the bot (HiLo.ex4). 3. Detailed screenshots of all
I need a trading robot for MetaTrader 5 that works on mobile for XAUUSD. === TRADING RULES === Symbol: XAUUSD Timeframe: M15 Trading Hours: 10:00 to 18:00 server time only Buy: When 10 EMA crosses above 50 EMA Sell: When 10 EMA crosses below 50 EMA Close opposite position when new signal appears === RISK MANAGEMENT === Risk per trade: 1% of account balance Stop Loss: 300 points / $3.00 Take Profit: 600 points / $6.00
Jona copilot v12 30 - 40 USD
Hi, I'm interested in ordering an MT4 trading bot. Before we begin, could you please send me the technical specifications and requirements you'll need? Specifically, I'd like to know: - The trading strategy the bot will use. - The currency pairs or instruments it will trade. - The timeframes it supports. - Risk management features (lot sizing, stop loss, take profit, trailing stop, maximum drawdown). - Whether it
Hello, I want this project to be a complete redesign, not just an update. My goal is to build an institutional-grade TradingView indicator that is extremely accurate, stable, fast, and completely non-repainting. You are free to modify, delete, replace, or completely rewrite any part of the code if it improves the final result. I don't care about preserving the current code or appearance—I only care about building the
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
automatic robo sell at bollinger band upwards breach and rsi should above 80 and buy when bollinger breach downwards and rsi is below 30, rsi shoould works only on Gold trade and none ofhe trades
Hello, I need a custom Expert Advisor for MetaTrader 5. I am trading from mobile only. **Account & Style:** - Capital: $5,000 - $10,000 - Risk: Moderate/Balanced - Trading Style: Scalping **Pairs & Timeframe:** - Symbols: EURUSD and XAUUSD - Timeframe: M5 **Strategy:** - BUY: RSI(14) < 30 AND Price > 20 EMA - SELL: RSI(14) > 70 AND Price < 20 EMA - Only 1 trade per symbol at a time - No Martingale / No Grid **Risk
I am looking for an experienced MetaTrader 5 expert. I already have 3 MT5 trading accounts. I need someone to: 1. Help me choose a reliable Windows VPS. 2. Connect to my VPS remotely (AnyDesk or TeamViewer). 3. Install 3 MetaTrader 5 terminals. 4. Configure: - 1 Master Account - 2 Slave Accounts 5. Install and configure a professional Trade Copier. 6. Copy all trades from the Master account to both Slave
I have an MT4 custom indicator (.ex4) that I use regularly, and I would like an identical MT5 version. Important: I do not have the source code (.mq4). I only have the compiled MT4 indicator. I am looking for an experienced MQL developer who can recreate the indicator's functionality and appearance for MT5 by analyzing its behavior. The MT5 version should match the MT4 version as closely as possible, including

Project information

Budget
50+ USD