Job finished
Execution time 3 hours
Feedback from employee
Wonderful client to work with, clear and fast communication
Feedback from customer
Developer delivered the full MQ5 and EX5 as specified and completed the job professionally.
Specification
1. General description
Name: OUR EA
Platform: MetaTrader 5 (MT5)
Type: Multi‑symbol, multi‑timeframe, CE‑based trading engine
Core indicator: Chandelier Exit (CE), user‑configurable
Primary style: Scalping and intraday, with support for other timeframes
Trade directions: Long and short
Assets: Any (FX, metals, indices, crypto), no hardcoded symbol
2. Inputs (external parameters)
General:
- Symbol/Timeframe:
- UseCurrentSymbol = true/false
- CustomSymbol = "XAUUSD" (used if UseCurrentSymbol = false)
- EA always uses the chart timeframe (no override needed).
- Trading directions:
- TradeLongs = true/false
- TradeShorts = true/false
- Risk & lots:
- UseAutoLot = true/false
- FixedLot = 0.01
- RiskPerTradePercent = 1.0 (used if UseAutoLot = true)
- Magic & ID:
- MagicMode = Auto/Manual
- MagicNumber = 123456 (used if Manual)
Chandelier Exit (CE):
- CE_ATR_Period = 7
- CE_ATR_Multiplier = 1.0
- CE_Mode = Manual (future‑proof: could add Auto later)
Entry logic mode:
- EntryMode = 0/1/2
- 0 = CE_Breakout (simple single‑entry mode)
- 1 = CE_Band_3Entry (Dark Band‑style, 3 entries)
- 2 = CE_Pullback (reserved for future)
For now, we define 0 and 1 fully.
Band / 3‑entry settings (for EntryMode = 1):
- Use3Entries = true/false (if false, only Entry 1 is used)
- Entry distance from CE (in points):
- Entry1_OffsetPoints = 0 (at/just above/below CE)
- Entry2_OffsetPoints = 200 (20 pips equivalent on 1‑digit gold, adjust by broker)
- Entry3_OffsetPoints = 400
- Stop loss buffers (in points):
- SL1_BufferPoints = 200
- SL2_BufferPoints = 400
- SL3_BufferPoints = 600
- Take profit:
- UseSharedTP = true/false
- TP_RR_Multiplier_Entry1 = 1.2
- TP_RR_Multiplier_Entry2 = 1.2
- TP_RR_Multiplier_Entry3 = 1.2
If UseSharedTP = true, TP is calculated per entry using its own RR multiplier.
Execution & filters:
- MaxSpreadPoints = 300 (e.g. 3.0 pips on gold; user adjusts per symbol)
- MaxSlippagePoints = 100
- UseSessionFilter = true/false
- SessionStartHour = 7 (broker time)
- SessionEndHour = 22
- CooldownCandlesAfterLoss = 5
- MaxTradesPerDirection = 3 (for 3‑entry mode)
3. Indicator logic — Chandelier Exit (CE)
On each tick, for the current symbol/timeframe:
- ATR calculation:
- ATR = AverageTrueRange(CE_ATR_Period)
- Highest high / lowest low over ATR period:
- HH = HighestHigh(CE_ATR_Period)
- LL = LowestLow(CE_ATR_Period)
- CE lines:
- Long CE (upper line):
CE\_ Long=HH-ATR\times CE\_ ATR\_ Multiplier- Short CE (lower line):
CE\_ Short=LL+ATR\times CE\_ ATR\_ Multiplier
For simplicity, EA can use a single CE line depending on direction:
- For BUY logic: use CE_Long
- For SELL logic: use CE_Short
Store at least CE[0] and CE[1] (current and previous).
4. Entry logic
4.1. Common pre‑conditions (all modes)
Before any entry:
- Spread ≤ MaxSpreadPoints
- If UseSessionFilter = true: current broker hour ∈ [SessionStartHour, SessionEndHour]
- No more than MaxTradesPerDirection open for this MagicNumber and symbol
- Cooldown: if last closed trade was a loss, ensure at least CooldownCandlesAfterLoss bars have passed
4.2. Mode 0 — CE_Breakout (single entry)
BUY conditions:
- TradeLongs = true
- Close[1] <= CE_Long[1]
- Close[0] > CE_Long[0]
- CE_Long[0] > CE_Long[1] (CE rising)
SELL conditions:
- TradeShorts = true
- Close[1] >= CE_Short[1]
- Close[0] < CE_Short[0]
- CE_Short[0] < CE_Short[1] (CE falling)
SL/TP (single entry):
- For BUY:
- SL = CE_Long[0] - SL1_BufferPoints
- If UseAutoLot = true, lot size based on SL distance and RiskPerTradePercent
- TP = EntryPrice + (EntryPrice - SL) * TP_RR_Multiplier_Entry1
- For SELL:
- SL = CE_Short[0] + SL1_BufferPoints
- TP = EntryPrice - (SL - EntryPrice) * TP_RR_Multiplier_Entry1
4.3. Mode 1 — CE_Band_3Entry (Dark Band‑style)
Trend filter (common for all 3 entries):
- BUY trend:
- CE_Long[0] > CE_Long[1] (rising)
- Close[0] >= CE_Long[0] (price at or above CE)
- SELL trend:
- CE_Short[0] < CE_Short[1] (falling)
- Close[0] <= CE_Short[0] (price at or below CE)
BUY entries (up to 3)
Define CE reference: CE = CE_Long[0].
- Entry 1 (E1 BUY):
- Trigger:
- Close[0] > CE + Entry1_OffsetPoints
- Trend filter satisfied
- SL: SL1 = CE - SL1_BufferPoints
- TP:
- If UseSharedTP = true:
TP1 = EntryPrice + (EntryPrice - SL1) * TP_RR_Multiplier_Entry1
- Entry 2 (E2 BUY):
- Trigger (only if E1 is open or allowed):
- Price touches/pulls back near CE:
Bid <= CE + Entry2_OffsetPoints
- Trend filter still valid
- SL: SL2 = CE - SL2_BufferPoints
- TP: TP2 similar to E1 with its own RR
- Entry 3 (E3 BUY):
- Trigger:
- Deeper pullback: Bid <= CE + Entry3_OffsetPoints
- Trend filter still valid
- SL: SL3 = CE - SL3_BufferPoints
- TP: TP3 with its own RR
Entries can be opened independently as conditions are met, up to MaxTradesPerDirection.
SELL entries (up to 3)
Define CE reference: CE = CE_Short[0].
- Entry 1 (E1 SELL):
- Trigger:
- Close[0] < CE - Entry1_OffsetPoints
- Trend filter satisfied
- SL: SL1 = CE + SL1_BufferPoints
- TP: TP1 = EntryPrice - (SL1 - EntryPrice) * TP_RR_Multiplier_Entry1
- Entry 2 (E2 SELL):
- Trigger:
- Ask >= CE - Entry2_OffsetPoints
- Trend filter still valid
- SL: SL2 = CE + SL2_BufferPoints
- TP: TP2 similar to above
- Entry 3 (E3 SELL):
- Trigger:
- Ask >= CE - Entry3_OffsetPoints
- Trend filter still valid
- SL: SL3 = CE + SL3_BufferPoints
- TP: TP3 with its own RR
5. Exit logic
Hard exits:
- TP hit
- SL hit
Soft exits (optional but recommended):
- For BUY trades:
- If CE_Long[0] < CE_Long[1] (CE starts falling)
OR Close[0] < CE_Long[0] (price closes below CE)
→ Close BUY trade(s) at market.
- For SELL trades:
- If CE_Short[0] > CE_Short[1] (CE starts rising)
OR Close[0] > CE_Short[0]
→ Close SELL trade(s) at market.
Time‑based exit (optional):
- If a trade is open longer than MaxBarsInTrade (e.g. 60 bars) and not at TP/SL → close at market.
- MaxBarsInTrade can be an input (default 0 = disabled).
6. Risk management
If UseAutoLot = true:
- For each new trade:
- Calculate SL distance in points: SL_DistPoints = abs(EntryPrice - SL) / Point
- Convert to money risk:
RiskMoney=AccountEquity\times \frac{RiskPerTradePercent}{100}- Lot size:
Lots=\frac{RiskMoney}{SL\_ DistPoints\times TickValue}- Ensure Lots is within broker min/max and step.
If UseAutoLot = false, use FixedLot.
7. Trade management rules
- EA tracks trades by MagicNumber and Symbol.
- MaxTradesPerDirection limits how many BUY or SELL trades can be open at once.
- No hedging logic required beyond that; BUY and SELL can coexist if allowed by broker, unless you want to restrict (coder can add AllowHedge = true/false if needed).
8. Pseudocode outline (high level)
On each tick:
- If UseCurrentSymbol = true → use chart symbol, else CustomSymbol.
- Read CE values (CE_Long[0/1], CE_Short[0/1]).
- Check spread, session, cooldown.
- Count open BUY/SELL trades for this MagicNumber & symbol.
- If EntryMode == 0 → evaluate CE_Breakout rules.
- If EntryMode == 1 → evaluate CE_Band_3Entry rules for BUY and SELL.
- For each open trade:
- Check SL/TP (MT5 handles automatically if set).
- Check soft exit conditions (CE flip, time‑based).
- Apply risk logic when opening new trades.
Responded
1
Rating
Projects
28
7%
Arbitration
9
33%
/
33%
Overdue
1
4%
Working
2
Rating
Projects
29
3%
Arbitration
4
25%
/
0%
Overdue
3
10%
Free
3
Rating
Projects
3414
68%
Arbitration
77
48%
/
14%
Overdue
342
10%
Free
Published: 1 code
4
Rating
Projects
7
0%
Arbitration
3
0%
/
33%
Overdue
1
14%
Working
5
Rating
Projects
8
38%
Arbitration
1
100%
/
0%
Overdue
2
25%
Free
6
Rating
Projects
7
14%
Arbitration
1
0%
/
100%
Overdue
1
14%
Free
7
Rating
Projects
2
0%
Arbitration
0
Overdue
1
50%
Free
8
Rating
Projects
2953
63%
Arbitration
125
44%
/
26%
Overdue
429
15%
Free
9
Rating
Projects
32
38%
Arbitration
4
50%
/
25%
Overdue
5
16%
Working
10
Rating
Projects
269
29%
Arbitration
2
50%
/
0%
Overdue
3
1%
Working
Published: 2 codes
11
Rating
Projects
53
57%
Arbitration
2
100%
/
0%
Overdue
1
2%
Free
Published: 5 codes
12
Rating
Projects
553
50%
Arbitration
57
40%
/
37%
Overdue
227
41%
Working
Similar orders
EA Recovery Layer
30+ USD
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
Watcher position
30 - 100 USD
//+------------------------------------------------------------------+ //| synthetic tick generator based on two assets | //+------------------------------------------------------------------+ class CSyntheticTickGenerator { private : string symbol_a; string symbol_b; string synth_name; double ratio; double last_price_a; double
# SNRZ BOT — SESSION PROGRESS LOG Last updated: 2026-09-16 (local late-evening session) ## SAN BOT (new — cloned from SNRZ) - `MQL5\Experts\AutomatedOrderBot_SAN.mq5` / `.ex5` — v1.0, compiled 0 errors/0 warnings - Signal source: custom indicator "SAN" (InpSANName, buy buf 0 / sell buf 1, target bar 1), same SNRZ-style read, MA fallback if missing - Magic number 234567 (separate from SNRZ 123456 so both bots can run
Multi-Asset EA (XAUUSD / FRA40) with Time Filters, High-Impact News Avoidance, Advanced Risk/Lot Sizing, and H1 Breakout Strategy 1. RISK SETTINGS * Max Daily Loss Limit: (bool) Toggle true/false. If true, input double for max loss in currency (e.g., $500). If hit, close all positions and stop trading until next day. * Lot Sizing Mode: Dropdown menu: 1. Fixed Lots (e.g. 0.10); 2. Percentage Risk (%) based on Account
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 : …
I am looking for an experienced MQL5 EA developer to develop an MT5 EA by the observable trading behaviour from a supplied live XAUUSD trade history . The EA appears to use a simple grid/recovery/hedging strategy with alternating BUY/SELL positions and progressive lot sizes. I need the developer to Develop the EA for MT5 / XAUUSD . Reproduce the observed entry, grid/add-on, recovery/hedging, lot progression and
Project: Fix & Schedule My Dual Fibo Standard Fibonacci Bot I have an existing MQ4 expert advisor called "Dual Fibo Standard Fibonacci". It needs to process 1,000 clients. Right now it runs blindly with no schedule and takes way too long. I need you to optimize it so it runs like a professional business with a 50-100 batch printed stamp copy progress log. Please reply with your numbers for this simple layout: * Phase
Gold robot
30+ USD
Yes. This screen is asking you to write the Requirements Specification for your Gold/XAUUSD trading robot. Since you want your DEEPTHINK X10 institutional-style MT5 system , use this ready-to-paste specification: DEEPTHINK X10 GOLD ROBOT – MT5 EXPERT ADVISOR REQUIREMENTS Develop an advanced MetaTrader 5 Expert Advisor (EA) for XAUUSD (Gold) scalping based on a multi-factor DEEPTHINK X10 trading framework. 1. MARKET -
Need an MQL5 Expert Advisor for MT5 that automates my manual trading strategy. Entry logic: Enter only when trend direction, support/resistance level, and RSI all align (Triple Confirmation). Extra confluence from Smart Money Concepts (order blocks, Fair Value Gaps, BOS/CHoCH). Risk rules: 1% risk per trade, minimum 1:2 risk-reward, stop-loss at structure levels (not fixed pips). Must-haves: Works on Islamic
Project information
Budget
40 - 100 USD
Deadline
from 3 to 5 day(s)