指定

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.



応答済み

1
開発者 1
評価
(2)
プロジェクト
3
0%
仲裁
8
13% / 88%
期限切れ
1
33%
2
開発者 2
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
3
開発者 3
評価
(329)
プロジェクト
515
19%
仲裁
35
46% / 31%
期限切れ
34
7%
仕事中
4
開発者 4
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
5
開発者 5
評価
(4)
プロジェクト
9
11%
仲裁
11
18% / 64%
期限切れ
4
44%
6
開発者 6
評価
(78)
プロジェクト
246
74%
仲裁
7
100% / 0%
期限切れ
1
0%
パブリッシュした人: 1 article
7
開発者 7
評価
(231)
プロジェクト
242
78%
仲裁
0
期限切れ
0
8
開発者 8
評価
(161)
プロジェクト
208
61%
仲裁
10
80% / 0%
期限切れ
0
パブリッシュした人: 1 code
9
開発者 9
評価
(171)
プロジェクト
195
42%
仲裁
13
8% / 54%
期限切れ
9
5%
パブリッシュした人: 3 codes
10
開発者 10
評価
(12)
プロジェクト
9
33%
仲裁
11
0% / 100%
期限切れ
2
22%
11
開発者 11
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
12
開発者 12
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
仕事中
13
開発者 13
評価
(322)
プロジェクト
499
67%
仲裁
5
40% / 0%
期限切れ
4
1%
パブリッシュした人: 8 codes
14
開発者 14
評価
(461)
プロジェクト
488
70%
仲裁
6
67% / 0%
期限切れ
2
0%
仕事中
15
開発者 15
評価
(574)
プロジェクト
945
47%
仲裁
309
58% / 27%
期限切れ
125
13%
類似した注文
I have the Fisher Indicator shown below the chart. I need an alert added for when the Fisher Indicator hits the 50 point at the end of each period. GBPUSD and EURUSD 4H charts are provided and I can provide additional
I need a professional AI-assisted Forex trading Expert Advisor (EA) for MetaTrader 5. The EA should not be based on a simple single indicator strategy. I want a robust multi-factor trading system that can analyze market conditions, trend, momentum, volatility, price action and risk before entering a trade. Requirements: Forex trading on MT5 Automated analysis and trade execution Dynamic entry and exit decisions Stop
We are seeking an independent technical reviewer for a frozen Python evidence/specification candidate related to an XAUUSD paper-trading risk system (ALKOOS-AI). This is NOT a request to develop, modify, optimize, or execute a trading robot or trading strategy. The task is limited to independent verification of a prepared evidence package. The reviewer should verify: Integrity of the supplied frozen artifact using
Hey guys, I’ve got an MT4 HFT EA that’s showing strong results on an IC Markets demo account, and I'm looking to move it over to MT5. Does anyone have a solid MT5 version that performs well on IC Markets? Having the source code (MQL5) included would be awesome. Thanks for any leads
Scalping EA/straddle 30 - 200 USD
Title: Custom EA: Dynamic Trailing Limit Grid with Volatility/Velocity Filter and Auto SL/TP Description: I am looking for an experienced MQL5 programmer to develop a high-performance, robust Expert Advisor (EA) for MetaTrader 5. The strategy relies on dynamic trailing limit orders that automatically adjust to market price changes, featuring a safety buffer during high-velocity price spikes. The EA must include the
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
Creating a bot using the Parabolic indicator with a simple interface.. I want a bot that uses the Parabolic SAR indicator only, with these orders attached to it. Boot name : HEMIN .FX Magic number : 000000 …………………………………………………. Trade behavior : regular OR inverse OR only long "buy" OR only short "sell" Timeframe : ………… Period: ……… ………………………………………………….. Lot size : ……………… Break even in points : …
Hi, I need an experienced NinjaTrader 8/NinjaScript developer to finish or rebuild an automated futures strategy, ideally by the end of this week. I already have the complete TradingView Pine Script reference strategy, an existing ~2,000-line NinjaScript implementation, Playback logs, and known historical benchmark trades. MOST IMPORTANT REQUIREMENT: TRADINGVIEW ↔ NINJATRADER PARITY. The Pine Script is the reference
I am looking for a developer experienced in EAs, MT5 and trade management optimization to help me add an intelligent early-exit system to my existing XAUUSD trading robot. The EA is already fully functional and performs best on the M15 timeframe. The entry strategy, BUY/SELL logic, sessions and core structure are already implemented. The work should focus exclusively on adding early exits for trades that are

プロジェクト情報

予算
50+ USD