— Create XAUUSD Grid EA for MT5 (Full Source Code + Running Setup)

仕事が完了した

実行時間14 日
依頼者からのフィードバック
Shoaib built my grid strategy exactly as required. Solid logic, clean execution, and great support throughout. Very reliable and highly skilled.

指定

🔹 COMPLETE GRID + HEDGE EA SPECIFICATION (XAUUSD)


1️⃣ GENERAL OVERVIEW


This EA is a non-directional grid strategy designed mainly for sideways and slow-trending markets.

The goal is consistent small profits and survival, not fast aggressive gains.

Symbol: XAUUSD

Timeframe: Any (logic is price-based)

Directional bias: NONE

Focus: Grid logic + controlled hedging

First priority: Execution accuracy and grid integrity



2️⃣ GRID PARAMETERS

Grid Distance: User-defined (example: 100 points / $1 / $10)

All grid actions happen strictly at exact grid prices

EA must handle:

Fast moves

Grid skips

Pending order fills

Partial positions correctly



3️⃣ START OF EVERY CYCLE (FIRST GRID)


At the start of every new cycle:


Actions (Market Orders ONLY):

BUY 0.03 (market)

SELL 0.01 (market)


⚠️ Important:

First grid must ALWAYS use market orders

No pending orders on first grid

This SELL is special (see SELL rules below)



4️⃣ DOWN MOVE LOGIC (PRICE MOVES DOWN ONE GRID)


Example:

Price moves from 2000 → 1900


Step 1: SELL Handling

Close SELL 0.01 in PROFIT


Step 2: Rebuild Grid at SAME LEVEL


At the exact price where SELL profit was closed:

BUY 0.03

SELL 0.01


Execution Rules:

BUY should preferably be BUY LIMIT at grid price

SELL can be market or valid pending

Grid must be rebuilt immediately

No missing orders allowed



5️⃣ UP MOVE LOGIC (PRICE MOVES UP ONE GRID)


Example:

Price moves from 1900 → 2000


Step 1: Normalize BUY

Close BUY 0.02

Keep BUY 0.01 as runner


Step 2: SELL Handling

Close SELL 0.01

SELL loss must be covered by BUY 0.02 profit

BUY + SELL must close together


Step 3: Open New SELL

Open SELL 0.01 at this upper grid

BUY runner remains active


Resulting Position:

BUY = 0.01

SELL = 0.01



6️⃣ DOWN MOVE AFTER UP (RUNNER GRID RESTORATION – VERY IMPORTANT)


Situation:


There is only BUY 0.01 runner active at a grid (after UP move).


Rule:


If price moves DOWN one grid to that same level:


At the EXACT GRID PRICE where BUY 0.01 exists:

Add BUY 0.02 (BUY LIMIT)

Add SELL 0.01


Final Position at that Grid:

BUY = 0.03

SELL = 0.01


➡️ This restores a normal grid structure.


⚠️ This step must never be skipped, even in fast markets.



7️⃣ SIDEWAYS MARKET BEHAVIOR


When price moves up and down inside the grid:

DOWN → SELL closes in profit → rebuild grid

UP → BUY 0.02 + SELL 0.01 close together → runner logic

EA may close entire cycle early if profit target is hit



8️⃣ PROFIT EXIT RULE (GLOBAL)


At ANY time:

If overall floating profit ≥ user-defined value (example $5):

Close ALL open positions

Delete ALL pending orders

Immediately start a new cycle

BUY 0.03 (market)

SELL 0.01 (market)


⚠️ Grid completion is NOT required.



9️⃣ SELL RULES (VERY IMPORTANT)


FIRST GRID SELL (Special Rule)

SELL must NOT close in loss

SELL can close ONLY IF:

SELL itself is in profit

OR overall profit condition is met


SUBSEQUENT GRID SELLS

SELL may close:

In profit

OR in loss if BUY profit covers it



🔟 PENDING ORDER RULES

First grid: NO pending orders

All BUY adds (except first grid):

Must use BUY LIMIT

SELL pending orders allowed only where broker rules permit

EA must:

Detect unfilled pending orders

Avoid false “BUY exists” checks due to 0.01 runner

Recover missing orders if price jumps



1️⃣1️⃣ CRITICAL EXECUTION REQUIREMENTS

No duplicate BUYs at same price

No missing BUY 0.02 after runner

No SELL left open unintentionally

Pending orders must be tracked separately from positions

EA must work correctly in:

Fast moves

Slippage

Partial fills

Requotes



1️⃣2️⃣ WHAT DEVELOPER MUST DELIVER

✔ Fully working source code (MQ5)

✔ Compiled EX5 EA

✔ Clean logs for:

Grid creation

BUY/SELL close

Runner restore

✔ Backtest-ready

✔ No repaint / no indicator dependency



🔹 FINAL NOTE FOR DEVELOPERS


This EA is logic-sensitive, not indicator-based.

Execution accuracy at grid levels is more important than optimization.


If BUY / SELL pairing is missed even once, the strategy breaks.

応答済み

1
開発者 1
評価
(250)
プロジェクト
313
28%
仲裁
33
27% / 64%
期限切れ
10
3%
仕事中
2
開発者 2
評価
(139)
プロジェクト
148
41%
仲裁
3
33% / 33%
期限切れ
1
1%
仕事中
3
開発者 3
評価
(60)
プロジェクト
87
29%
仲裁
24
13% / 58%
期限切れ
7
8%
仕事中
4
開発者 4
評価
(442)
プロジェクト
697
34%
仲裁
34
68% / 9%
期限切れ
22
3%
仕事中
5
開発者 5
評価
(38)
プロジェクト
43
23%
仲裁
13
8% / 69%
期限切れ
1
2%
多忙
6
開発者 6
評価
(50)
プロジェクト
64
20%
仲裁
11
27% / 55%
期限切れ
5
8%
7
開発者 7
評価
(1)
プロジェクト
0
0%
仲裁
2
0% / 100%
期限切れ
0
8
開発者 8
評価
(456)
プロジェクト
794
49%
仲裁
71
17% / 54%
期限切れ
139
18%
仕事中
9
開発者 9
評価
(32)
プロジェクト
32
63%
仲裁
1
0% / 0%
期限切れ
1
3%
仕事中
パブリッシュした人: 5 codes
10
開発者 10
評価
(160)
プロジェクト
285
35%
仲裁
18
22% / 61%
期限切れ
42
15%
取り込み中
11
開発者 11
評価
(12)
プロジェクト
13
15%
仲裁
2
50% / 0%
期限切れ
0
取り込み中
12
開発者 12
評価
(308)
プロジェクト
553
35%
仲裁
79
32% / 42%
期限切れ
200
36%
取り込み中
類似した注文
I have an existing MT5 Expert Advisor (“E-Core”). I need an experienced MQL5 developer to integrate a structured risk management upgrade and a higher timeframe trend filter into the current code. Two files will be provided: 1️⃣ E-Core Source Code (Current Version) 2️⃣ Update Instructions File (contains exact inputs, functions, and logic to integrate) The developer must: Integrate the update logic
DO NOT RESPOND TO WORK WITH ANY AI. ( I CAN ALSO DO THAT ) NEED REAL DEVELOPING SKILL Hedge Add-On Rules for Existing EA Core Idea SL becomes hypothetical (virtual) for the initial basket and for the hedge basket . When price hits the virtual SL level , EA does not close the losing trades. Instead, EA opens one hedge basket in the opposite direction. Original basket direction Hedge basket direction (opposite) Inputs
Billionflow 30 - 100 USD
Trading specifications: Indicators: Bollinger band ( Period 40, Deviation 1 apply to close) Moving Average (Exponential ) Period 17 applied to high Moving Average ( Exponential ) Period 17 applied to low But Signal enter a buy trade when prices crosses the lower band of the bollinger band up and also crosses the moving average channel of high and low the reverse is true for sell signal
Hello, I am a user of the "BUY STOP SELL STOP V6" trading bot, which is an advanced Grid System bot. The bot is primarily designed for Gold (XAUUSD), but I want it to work on all currency pairs. "The bot contains a privacy/protection code that prevents it from running on other accounts or being modified on any platform, as it has a client account number lock mechanism" --- Bot Description & Current Settings Bot Type
I am looking for a highly experienced Pine Script v5 developer to build a professional, non repaint price action indicator for TradingView. or a ready made one so i can purchase. This is a structured two phase project. The goal is to create a clean, intelligent price action tool that works for both fast intraday trading and swing trading. Only apply if you have strong Pine experience and understand liquidity
Hello, I’m looking for an experienced MQL4/MQL5 developer to work with me on an ongoing basis. My clients request services such as: Converting TradingView Pine Script indicators/strategies into MT4 or MT5 Expert Advisors Converting MT4 EAs to MT5 (and MT5 to MT4) Compiling and fixing existing MQL4 / MQL5 EA code Adding simple features like alerts, SL/TP, lot size, and basic money management This job is for
I am looking someone to create an EA based on my MACD Histo indicator / strategy from Pinescript. I will send it to you for you to replicate. The EA shall have: - Divergence length in bars, min and max values. - Pivot Logic - Entry on close of divergence confirmation bar. - Dynamic lot size dependent on SL/TP, in monetary value. - SL / TP in percent away from entry, separate values for long and short. - Time, day and
Hello, I have a breakout EA with reversal logic. I own the full source code for both MT4 and MT5 versions. I need the modifications implemented for both MT4 and MT5 versions. I need several modifications: – Multiple reversals with configurable parameters – Breakeven functionality – Entry only after candle close beyond range + offset – Time-based activation – Alternative offset calculation logic – Automatic close at
simple automated trading system with adaptive risk management and trend-based execution. The EA manages trades with dynamic position handling and built-in stability filters. Designed for single-position trading and disciplined execution 30 usd budget
PROJECT DESCRIPTION Looking for 1 experienced MQL5 developer to build 2 Expert Advisors for MetaTrader 5, targeting XAUUSD and major currency pairs. Strong preference for a single developer handling both EAs to maximize code reuse, reduce cost, and ensure consistency. EA1 — Grid Martingale Pro · Buy/Sell grid with Fixed or ATR Dynamic distance (ATR read once per fill, stored in grid_step_at_open[]) · Gap

プロジェクト情報

予算
130+ USD
締め切り
最低 1 最高 5 日