Şartname
PROJECT TITLE: MT5 Semi-Auto EA - Volume & Doji Reversal Strategy (On-Chart UI Required)
1. GENERAL OVERVIEW
· Platform: MetaTrader 5 (MT5).
· Symbol: XAUUSD (Gold).
· Language Requirement: English only (for both source code and User Interface).
· Timeframe: Adjustable via Input Parameters. The EA must calculate all candle, MA, and volume logic based ONLY on the timeframe selected in the settings, regardless of the chart's current active timeframe.
· Core Strategy: Reversal and trend continuation trading based on Doji candles, Moving Average (SMA/EMA), and Tick Volume spike/exhaustion.
2. ON-CHART UI & MANUAL CONTROL (CRUCIAL) I require a custom Graphical User Interface (GUI) drawn directly on the chart (e.g., Top-Right corner). It must include:
· Button 1 - "ON / OFF BOT": A toggle button.
o State ON (Green): EA actively scans conditions and opens new trades.
o State OFF (Red): EA does NOT open any new trades.
· Button 2 - "PANIC CLOSE ALL": When clicked, the EA must instantly CLOSE ALL open positions for this symbol (both EA automated trades and my manual trades), regardless of any logic.
· Panel 3 - "ORDER MANAGEMENT PANEL": A visual table listing every currently open order for the symbol (line by line).
o Feature: Next to each order line, provide a Checkbox.
o Logic: If I check/tick a specific order in this panel, the EA must COMPLETELY IGNORE that order. It will no longer process any Take Profit, Stop Loss, or automated exit logic for that specific checked order. I will manage and close ticked orders manually.
o All un-ticked orders will continue to be managed automatically.
3. INPUT PARAMETERS (Settings Menu) Please create the following input parameters (must be fully optimizable in the Strategy Tester):
--- TRADING MODE & MANAGEMENT ---
· Operation Mode: [Dropdown: "Full Auto" / "Manage Manual Only"]
· Calculation Timeframe: [Dropdown (ENUM_TIMEFRAMES): Current Chart / M15 / M30 / H1 / H4 / D1]
· Lot Size: [Input number, default: 0.1]
· Stop Loss (Points): [Input number, default: 100]
· Enable Hard Take Profit: [True/False]
· Hard Take Profit Price: [Input number, default: 0.0] (If True, and the exact market price hits this value, close all open trades immediately).
--- TREND & VOLUME SETTINGS ---
· Trend MA Method: [Dropdown: SMA / EMA]
· Trend MA Period: [Input number, default: 50] (Must be an input number so I can run optimization tests)
· Max Doji Body Size (Points): [Input number, default: 20]
· Volume Exhaustion/Drop %: [Input number, default: 40]
· Volume Spike/Increase %: [Input number, default: 80]
· Doji Volume Drop for Reversal %: [Input number, default: 30]
· Doji Volume Drop Gray Zone %: [Dropdown: "Do nothing (Continue Trend)" / "Send Sound Alert Only"] (Applies when Doji volume drops between 11% and 29%)
4. ENTRY & EXIT LOGIC (Executed on Candle Open) (Candle 1 = Completely closed candle on the SELECTED TIMEFRAME; Candle 2 = The candle before Candle 1)
GENERAL RULE: MAXIMUM 1 AUTOMATED TRADE AT A TIME
· The EA is only allowed to hold a maximum of ONE automated trade (either 1 Long or 1 Short) at any given time.
· If the EA already has an open Long position, it must NOT open a second Long position.
· Note: Trades that I open manually, or trades I have ticked/checked in the "ORDER MANAGEMENT PANEL", do NOT count towards this limit. The EA must only restrict its own automated, un-ticked trades.
A. BUY ENTRY (Only if EA is ON and in "Full Auto" mode):
· Price is below the MA (SMA/EMA).
· Candle 2's Tick Volume is at least [Volume Exhaustion/Drop %] LOWER than the previous candle.
· Candle 1 closes bullish, and its Tick Volume is at least [Volume Spike/Increase %] HIGHER than Candle 2. -> Action: Open Buy Order (Only if there is no existing automated Buy order).
B. SELL ENTRY & EXIT LOGIC (Trend Reversal): While a Long trend is active (Price above MA), EA monitors for Doji candles (Body <= Max Doji Body Size):
· If Candle 1 is a Doji AND its Volume drops >= [Doji Volume Drop for Reversal %]: -> Action: CLOSE ALL automated Longs. If Mode is "Full Auto" & EA is ON, open a SELL position.
· If Candle 1 is a Doji AND its Volume drops between 11% and 29%: -> Action: Execute the choice selected in the [Doji Volume Drop Gray Zone %] input.
· If Candle 1 is a Doji AND its Volume drops <= 10% (or increases): -> Action: Trend is strong. Do nothing, hold Longs.
5. DELIVERY & NDA REQUIREMENTS
· Pre-Delivery Backtest Report: Before final acceptance, you MUST provide an MT5 Strategy Tester Report (.htm or .pdf). The test must run in "Full Auto" mode on XAUUSD for at least a 6-month period, strictly using the "Every tick based on real ticks" modeling quality. This is to verify that the Volume logic, Doji logic, GUI Panel, and the "Max 1 Trade" rule execute correctly without throwing system errors.
· Strict Confidentiality: The Developer agrees not to share, resell, publish, or reuse this exact logic and source code on any platform.
· Delivery: I require the open-source code (.mq5) and the compiled file (.ex5).
- require a 2-day trial period before payment to verify:
Portfolio or previous work to demonstrate your expertise.
Ability to build a professional custom solution from scratch.
Commitment to quality, clean code, and post-delivery support.