MT4 Liquidity Sweep EA

Tarea técnica

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.



Han respondido

1
Desarrollador 1
Evaluación
(2)
Proyectos
3
0%
Arbitraje
5
20% / 80%
Caducado
1
33%
Libre
2
Desarrollador 2
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(301)
Proyectos
465
18%
Arbitraje
29
48% / 24%
Caducado
29
6%
Trabajando
4
Desarrollador 4
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
5
Desarrollador 5
Evaluación
(4)
Proyectos
9
11%
Arbitraje
9
22% / 56%
Caducado
4
44%
Libre
6
Desarrollador 6
Evaluación
(77)
Proyectos
232
73%
Arbitraje
6
100% / 0%
Caducado
1
0%
Libre
7
Desarrollador 7
Evaluación
(182)
Proyectos
193
72%
Arbitraje
0
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(138)
Proyectos
170
53%
Arbitraje
10
80% / 0%
Caducado
0
Trabaja
Ha publicado: 1 ejemplo
9
Desarrollador 9
Evaluación
(170)
Proyectos
193
42%
Arbitraje
9
11% / 44%
Caducado
9
5%
Trabaja
Ha publicado: 3 ejemplos
10
Desarrollador 10
Evaluación
(12)
Proyectos
9
33%
Arbitraje
3
0% / 67%
Caducado
2
22%
Trabaja
11
Desarrollador 11
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
12
Desarrollador 12
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Trabaja
13
Desarrollador 13
Evaluación
(322)
Proyectos
497
67%
Arbitraje
5
40% / 0%
Caducado
4
1%
Libre
Ha publicado: 8 ejemplos
14
Desarrollador 14
Evaluación
(437)
Proyectos
464
69%
Arbitraje
6
67% / 0%
Caducado
2
0%
Libre
15
Desarrollador 15
Evaluación
(574)
Proyectos
945
47%
Arbitraje
303
59% / 25%
Caducado
125
13%
Libre
Solicitudes similares
This indicator is based on the well-known Darvas Box strategy, adapted for multi-timeframe use and advanced structure breakout detection.It is designed to display the main Darvas Box levels detected on a higher timeframe (default: M15), and plot signals and visual objects on a lower timeframe (default: M1), but both timeframes must be fully customizable by the user
I need MQL4 EA for a forex expert advisor to trade on MT4 that uses a reversal strategy with the following conditions: only pairs that will enter are USDJPY, EURJPY, CADJPY, NZDJPY, AUDJPY, GBPJPY, CHFJPY. Each pair can only be traded once a month. Will only enter the market on 1 hour timeframe. Lot size = 1.0. Risk:reward ratio is 1:2. Enter if there are at least 7 confirmations from the following signals: for the
Bainanans 500+ USD
Bainanan good f المؤشر. ينبغي إضافة نقطة صفراء عند أعلى نقطة في الشموع في منطقة ذروة الشراء - وهي نقطة H. ينبغي إضافة نقطة خضراء عند النقطة المنخفضة للشموع في منطقة ذروة البيع - وهي نقطة L. إذا وُجدت نقطة L واحدة على الأقل بين نقطتي H، فابحث عن نقطة LL في الفترة الفاصلة بينهما. ستكون الشمعة ذات أدنى سعر قاع هي نقطة LL. بشكل عام، لا تُعتبر نقطة LL بالضرورة نقطة L. ابحث عن الشموع ذات أدنى سعر قاع. إذا كانت هناك نقطة H
Здравствуйте! Требуется интегрировать свою стратегию, основанную на индикаторе KST (KNOW SURE THING), в торгового бота, купленного на criptorobotics.Также необходимо проверить стратегию на исторических данных. Ответ от criptorobotics ... " ...если у вас есть своя стратегия на TradingView или в любой другой системе, вы можете создать на нашей платформе собственного робота за пару минут и отправлять в него сигналы по
I want the following to be connected: 1. Telegram Signal copier 2. Copying signals from a Telegram Channel 3. Either Mt4 or Mt5 4. Set up Trade-copier Master Acct with Slave accts attached to it. I will use Trade-copier online program
Telegram Connection Options part 1. Custom – User enters their own connection details. 2. HEDGE TRADE (Default) – Connects to my source. 3. ONE DIRECTION (Default) – Connects to my source. HEDGE TRADE and ONE DIRECTION details are hidden from users. To use my signals, they must select one (HEDGE or ONE DIRECTION). Only one connection mode can be active at a time (no multiple sources). 2- make it able to receive
Kamohelo Phehlane 50 - 150 USD
The robot must make me a large profits and it must be strategic.It must look for strategies and tell me whether to buy or sell the trade.And it must take a half of the profit and must give me the other half of the profit
Hey, I need someone to troubleshoot and fix my current Breakout EA. Shouldn't take too long to fix, work ist mostly already done. The strategy is clear and simple, but some things don't work like they should: - Optimization / Backtesting problems, trades are not closing as they are supposed to at their desired time - Check my inbuilt Randomization features (I doubt they are working correctly) - Info Panel needs some
Døsh forex 30 - 200 USD
I want a robot that will help me and trade the the robot will be very good I don’t want to loose money I repeat I don’t want to loose money
I need an EA that takes MT5 Alert information and converts those alerts into trades. Assets can be Forex, Indices, Metals. EA to be installed on a separate chart of the MT5 instance. These are the required settings: - A trade filter that assists in filtering the desired asset and direction of the trade from the alert message. This can be a text string that precedes the actual asset. e.g. assume the alert: 'Scalper

Información sobre el proyecto

Presupuesto
50+ USD
Para el ejecutor
45 USD