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
8
13% / 88%
Caducado
1
33%
Libre
2
Desarrollador 2
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(324)
Proyectos
503
19%
Arbitraje
33
42% / 30%
Caducado
33
7%
Trabajando
4
Desarrollador 4
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
5
Desarrollador 5
Evaluación
(4)
Proyectos
9
11%
Arbitraje
11
18% / 64%
Caducado
4
44%
Libre
6
Desarrollador 6
Evaluación
(77)
Proyectos
242
74%
Arbitraje
7
100% / 0%
Caducado
1
0%
Libre
Ha publicado: 1 artículo
7
Desarrollador 7
Evaluación
(207)
Proyectos
218
75%
Arbitraje
0
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(152)
Proyectos
190
57%
Arbitraje
10
80% / 0%
Caducado
0
Libre
Ha publicado: 1 ejemplo
9
Desarrollador 9
Evaluación
(171)
Proyectos
195
42%
Arbitraje
13
8% / 54%
Caducado
9
5%
Libre
Ha publicado: 3 ejemplos
10
Desarrollador 10
Evaluación
(12)
Proyectos
9
33%
Arbitraje
11
0% / 100%
Caducado
2
22%
Libre
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
499
67%
Arbitraje
5
40% / 0%
Caducado
4
1%
Libre
Ha publicado: 8 ejemplos
14
Desarrollador 14
Evaluación
(449)
Proyectos
476
69%
Arbitraje
6
67% / 0%
Caducado
2
0%
Trabaja
15
Desarrollador 15
Evaluación
(574)
Proyectos
945
47%
Arbitraje
309
58% / 27%
Caducado
125
13%
Libre
Solicitudes similares
I need a AI signal generating bot for forex trading that use the latest ai technology to track real time forex market, analyse and give signals. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame
I want to modify my two bots. One is a signal bot i want it to be modified to use ai technology in getting trading signals. The other one is a trading bot which is not working. I want it to be modified
1. Objective A fully automated trading bot that: • Trades USD-quoted assets (forex pairs like EUR/USD, GBP/USD, crypto markets with USD trading pairs, and USD-denominated stocks/ETFs). • Uses real-time data to detect trends and place entries/exits based on multiple strategies. • Maximizes profit while maintaining robust risk controls and drawdown limits. 2. High-Level Architecture Components Component Purpose Data
Hello I want to convert my tradingview indicators into Ninja trader can anyone help me with it it is urgent and I will like to discuss more about it to you if you can help me Kindly do well to bid on it
I need a custom MT5 Expert Advisor with the following rules: Strategy: - Timeframe: M15 (adjustable input) - Indicators: - MACD (12,26,9) - SMA 200 as trend filter Entry rules (CLOSED candles only): - BUY: - MACD main crosses above signal on closed candle - Price close above SMA 200 - SELL: - MACD main crosses below signal on closed candle - Price close below SMA 200 General rules: - One trade at a time per
📌 JOB DESCRIPTION – FULLY AUTOMATED TRADING SYSTEM I am looking for an experienced developer to build a fully automated end-to-end trading system for MetaTrader 5. This is not an indicator-based bot and not a discretionary or black-box AI system. The system must follow a strict, deterministic rule-based trading framework that is already defined. 🎯 PROJECT GOAL Build a system where: A backend continuously evaluates
Bot007 50 - 200 USD
*Bot Name:* SupportShield *Description:* SupportShield is a cutting-edge trading bot that uses advanced technical analysis to identify key support and resistance levels in the market. By leveraging these levels, the bot provides traders with actionable insights to make informed trading decisions. *How it works:* 1. *Support Level*: The bot identifies a support level, where the price tends to bounce back or
Task Title Implement Martingale Lot Scaling Sync Between Master and Slave MT4 Trade Copier Background I am using a local master–slave trade copier setup with: 1 Master MT4 4 Slave MT4 terminals Trades are currently copied correctly (entry, direction, symbol, SL/TP). Lot size handling currently copies either: the exact master lot, or a fixed base lot defined on the slave (e.g., always 0.01 or 1.0). Problem When the
SyedAtif 30 - 40 USD
Then this EA will remain simple and clean , exactly following your core rules only: ✅ MA50 crosses Leading Span B → trade opens ✅ Opposite cross → trade closes ✅ No TP / SL ✅ Only one position at a time ✅ Entry only after candle close confirmation ✅ Final Simple MT5 Expert Advisor (English Specification) Entry Rules BUY Entry Open a Buy trade when: MA50 crosses above Leading Span B Trade is triggered only
I have a well-tested and profitable trading strategy that I personally use in live markets. I am looking for an experienced Algo/Trading Bot Developer who can convert this strategy into a fully automated trading bot. This is not a basic indicator or script. I need a professional-level trading automation system. What I need: • Convert my manual trading strategy into an automated bot • Bot should execute trades

Información sobre el proyecto

Presupuesto
50+ USD