Lavoro terminato
Specifiche
PROJECT OVERVIEW (short)
I need a reliable, low-risk, high-consistency MT5 Expert Advisor (EA) designed to pass prop-firm challenges (FTMO, FundedNext, Funding Pips, TFF, etc.) and suitable for long-term funded accounts. The EA should trade impulses (high-probability momentum moves), be spread-aware, open 1–3 quality trades per impulse (or per day per pair), and automatically move Stop Loss to follow price when price moves X points past entry (X must be a configurable input). Full source code (.mq5) must be delivered.
OBJECTIVES
-
Aim for consistent, low-drawdown performance suitable for prop-firm rules.
-
Keep risk strict so the EA respects prop-firm constraints.
-
Target: realistic daily objective (e.g., 2–3% daily).
STRATEGY & LOGIC (required)
The EA will be impulse-based with these core behaviors:
-
Impulse Detection
-
Identify strong impulses using configurable rules (examples to be implemented and tunable):
-
You're free to take indicator of your choice
-
-
Allow settings to tune sensitivity per timeframe (M1/M5/M15/M30/H1 etc).
-
-
Entries
-
Open 1 or multiple trades when an impulse is “strong”: parameters control max entries per impulse and max open trades overall.
-
Option to use single-entry, partial-add (scale-in), or multiple simultaneous entries when conditions are met.
-
Option: enter on impulse break or on pullback into zone (configurable).
-
-
Stop Loss / Take Profit
-
SL per trade mandatory (no hedging/martingale).
-
Risk management: fixed lot or dynamic lot sizing (risk % of balance/equity).
-
-
Trailing / Breakeven Logic (the “X points” rule)
-
Parameter FollowDistancePoints (or X_points ): when price moves X points beyond the trade entry (accounting for current spread), the EA must move SL to a user-configurable position: e.g., break-even + spread + buffer, or trail the SL by fixed steps (Or other better method).
-
Spread-awareness: trailing/breakeven and entry checks must consider current spread so the EA doesn't prematurely move SL or enter/exit when spread is wide.
-
-
Spread & Liquidity Filters
-
Do not open trades if spread > MaxAllowedSpread (configurable per instrument).
-
Do not open trades if slippage > MaxAllowedSlippage (configurable per instrument)
-
Trading hour/session filters (London/NY only or custom times).
-
-
Prop-Firm Risk Rules (must implement)
-
Max Daily Loss (HARD STOP): MaxDailyLossPct (default 3%). When closed + floating P/L ≤ -MaxDailyLossPct, EA must close all positions and disable trading until next trading day.
-
Max Total Drawdown (e.g., 8% adjustable) — if reached, stop trading and optionally alert.
-
Daily Profit Target Lockout (e.g., stop trading after +2–3% daily gain) — configurable.
-
Max open trades limit, one-click disable/enable trading.
-
-
Pairs & Instruments
-
Support and test at minimum: XAUUSD , GBPJPY , EURUSD , NAS100 , US30 .
-
-
No Dangerous Techniques
-
No martingale, grid, hedging, averaging.
-
Strict single-direction management per signal.
-
SETTINGS / INPUTS (must include)
-
fast/slow parameters used for impulse/filters (if applicable)
-
FollowDistancePoints (X points) — integer, per pair scaling allowed
-
MaxAllowedSpread (per instrument or default)
-
M axAllowedSlippage (per instrument or default)
-
MaxDailyLossPct , MaxTotalDrawdownPct
-
RiskMode = FixedLot Or RiskPercent
-
MaxOpenTrades , MaxEntriesPerImpulse
-
Time filter (session start/end)
-
Logging & debug level, enable/disable alerts
-
Demo/Real mode flags (for some behavior toggles if necessary)
PERFORMANCE / SAFETY REQUIREMENTS
-
Clean, well-structured, commented code (.mq5) — no obfuscation.
-
Robust handling of trading errors, re-quotes, insufficient margin, and network issues.
-
Must be fast and not block MT5 UI.
-
Backtestable with MT5 Strategy Tester (include .set files and recommended test configuration).
DELIVERABLES
-
Full source code .mq5 and compiled .ex5 (or .mq5 only if uploader compiles).
-
At least two .set files for backtesting (e.g., GOLD (XAUUSD) and EURUSD) tuned for provided default settings.
-
A short README: installation, inputs explanation, recommended broker settings (spread limits / server latency tips), and test instructions.
-
CSV or notepad trade log option (optional but preferred).
-
Optional: short screencast or GIF showing EA attached and running on demo (bonus).
-
One round of small revisions included after initial delivery to fix bugs or minor parameter tweaks.
TESTING & ACCEPTANCE
-
Acceptance criteria: EA compiles without errors, runs on demo, obeys the risk rules (MaxDailyLoss hard stop behavior), implements the X-points SL/breakeven/trail logic and slippage/spread checks.
-
The EA does not have to guarantee profit in the contract — but it must behave as specified and produce realistic backtest results using the supplied .set files.
-
I will run the EA on a demo prop-challenge account and may request 1–2 minor adjustments after testing.
COMMUNICATION & SOURCE CONTROL
-
Full access to source code is mandatory.
-
Developer must be open to answer follow-ups and help with minor bug fixes during initial testing.
-
Prefer regular updates during development (e.g., code milestone after 2–3 days).
IMPORTANT NOTES
-
Do NOT bid if you will not provide clean, editable source code.
-
Do NOT use forbidden techniques (martingale/grid) — I will test thoroughly.
-
I expect the EA to be stable in live/demo with common retail brokers/prop firm (variable spreads).
HOW TO APPLY / RESPOND
If you can deliver within the budget and timeline, reply with:
-
A brief plan of how you will detect impulses and implement the trailing SL rule (X points + spread).
-
Confirmation you will provide full source .mq5 .
-
One or two past MT5 EAs you built (links or short descriptions).