MT4 Hedging Expert Advisor Build Project: Custom Grid + Hedge EA Development (MT4)
Strategy Concept
We want to develop a custom Expert Advisor (EA) that combines trend filtering, indicator-based entry signals, and grid trading.
Indicators
EMAs (multi-timeframe trend filter):
Short EMAs (e.g. 10–30) for short-term direction
Medium EMAs (e.g. 50–100) for structure confirmation
Long EMA (200) as main trend filter
Signals should only be taken when EMA structure aligns with trend bias
RSI (14):
Used as a momentum filter
Avoid buying when RSI is oversold (below ~30)
Avoid selling when RSI is overbought (above ~70)
Optional divergence logic: if RSI diverges from price, trigger an opposite entry
Stochastic (5,3,3):
Extra swing filter for entry validation (overbought/oversold + crosses)
Entry Logic
First Entry:
A buy or sell is triggered when EMA structure + RSI + Stochastic agree
Example: In a downtrend (EMA short < mid < slow < EMA200), open a sell if RSI and Stoch confirm
Grid Expansion:
After the first entry, the EA adds positions in the same direction at fixed pip distances
Step 1: tighter grid (e.g. 20 pips)
After X orders (e.g. 9), step switches to wider spacing (e.g. 100 pips)
Hedging:
EA can open a new grid in the opposite direction if fresh entry conditions are met
Buy and Sell baskets are managed independently
Exit Logic
Basket Take Profit (TP):
Close all trades on one side once the combined profit (USD-based) reaches a set target
Equity Protection:
Optional buffer to secure gains and prevent overexposure
Technical Requirements
Platform: MT4
Inputs must be configurable:
EMA periods, RSI thresholds, Stoch settings
Grid step sizes, switch-after-N orders, basket TP (USD or pips)
Max orders per basket, spread filter, minimum spacing between orders
Must support independent hedging baskets (buy & sell)
Clean, stable code (no repainting indicators)
Deliverables
Source code .mq4
Full input parameter guide
Example backtest (GBPUSD H1 recommended) to show functionality
Bonus (Nice-to-Have)
On-chart info panel (status, number of orders, basket P/L, cleanup buffer)
Auto lot-sizing options
Adjustable equity protection
We are looking for an experienced developer who has built grid/martingale/hedge EAs before and can deliver a stable and professional codebase.
Benzer siparişler
I am seeking an experienced quantitative trading developer to independently research, design, develop, test, validate, and deliver a professional standalone Python 3.12 detection engine for identifying early pump and dump movements in Bybit USDT perpetual futures markets
i need one that can build this : You are an elite quant trading AI with 15 years experience at Jane Street and Citadel. Build a complete, production-ready, non-repainting Python trading system targeting 90% win rate on 5m/15m charts for EURUSD, GBPUSD, NAS100 and BTCUSDT. CORE CONCEPTS: Combine CVD with real divergence detection, 3-candle FVG, liquidity sweeps/equal highs-lows, Order Blocks/Breaker Blocks (ICT/SMC)
--- I need an MT5 Expert Advisor (EA) for Forex trading. Strategy: - Trade when fast Moving Average (9) crosses above slow Moving Average (21) = BUY - Trade when fast Moving Average (9) crosses below slow Moving Average (21) = SELL - Only 1 trade at a time Settings I want to change: - Lot size - Stop Loss in pips - Take Profit in pips - Trailing Stop - Trading hours (Start and End time) Risk: - Close all trades at
Delete/Remove . Integrate Support & Resistance . Prop Firm Expert. (Expert is Active With a firm's account) . (Tick Volume) spikes specifically when price interacts with pre-defined Support and Resistance zones. [ required ]
I’m looking for someone who can develop and optimize high-quality strategies/setfiles for my existing, custom-built Martingale EA. I will be selecting a developer within the next few hours. I immediately reject applicants who don’t clearly explain their approach and what they plan to do. I want to know your strategy, your methodology, and exactly how you intend to tackle this. Please explain your plans in detail
I want an advanced automated Expert Advisor (EA) trading robot developed for MetaTrader 5 (MT5), compatible with Exness trading accounts. The robot should have the following features: 1. AUTOMATED TRADING - Automatically execute BUY and SELL trades. - Identify strong trading opportunities. - Analyse market trends before entering trades. - Operate without requiring manual trade execution. 2. ADVANCED MARKET ANALYSIS -
Can you do a 5 year back test on /6e (fx euro). using 30 minute chart. Buy to open if macd histogram is above 0 line, or sell to open if macd histogram is below 0 line at 7:30 pm eastern standard time. Close position at 7:30 am next morning. Trade stays open for the entire 12 hour time. thanks, regarding backtest, forgot to mention $300 stop loss, and $500 take profit. Thank you
Hi! I have a general strategy concept, but I would like you to help develop and define the exact trading rules. The planned strategy is: * Instrument: MNQ futures * Platform: NinjaTrader 8 * M30 timeframe for identifying the main trend * M5 timeframe for trade entries * RSI and MACD indicators * Support and resistance levels * Fully automated entries and exits * Automatic Stop Loss, Take Profit and Trailing Stop *
Robert for life money's cash maximum 16mb the jobs future linuox Trading robots are programs, which operate according to underlying algorithms. An algorithm is a set of actions that need to be performed in response to certain events. For example, the most common task in algo trading is the identification of the "New bar" event . When the event occurs, the robot checks the emergence of trading signals and acts
Okay, this is a big one for MT5 traders. Let's do it properly. In Python, the "Merge Tool" usually means 2 things: 1. *Merge MT5 data from different symbols / timeframes into one DataFrame* 2. *Plot it as a clean graph* Here is a complete working setup: *Step 1: Install* pip install MetaTrader5 pandas matplotlib mplfinance *Step 2: Full Code - Get MT5 Data + Merge + Plot* import MetaTrader5 as mt5 import pandas as pd