An expert advisor based on moving average and some recovery strategy

Job finished

Execution time 35 days
Feedback from customer
This guy is an excellent programmer. very patient and understanding. Even though it takes time to deliver but it does with perfection. i recommend him to anyone who wants neat work.
Feedback from employee
Great to work with him, professional and helpful.

Specification

Here’s a concise programmer-friendly summary of the strategy logic:


📘 EMA100 > SMA200 Martingale Strategy Summary

🔁 Trend Filter

  • Only trade if: EMA(100) > SMA(200)

  • Pause trading if: EMA(100) < SMA(200)

    • Let existing trades close via TP, TSL, or retracement.

    • Wait until EMA(100) crosses back above SMA(200) before resuming.


✅ Entry Condition

  • On crossover ( EMA100 crosses above SMA200 ), wait for confirmation distance D .

  • Then open a Sell trade using InitialLotSize .


🔻 Sell Trade Logic

  • If TP is hit:
    → Open a new Sell with InitialLotSize .

  • If profit retraces by M pips:
    → Close Sell, open Buy with same lot size.

  • If TSL is hit:
    → Close Sell, open Buy with:
    LotSize = LastLot × MartingaleMultiplier (1.7 for trades 1–8, 1.5 for trades 9–12)

  • At trade #12 + TSL hit:
    → Reset to Level 1 using InitialLotSize .


🔺 Buy Trade Logic

  • Only allowed when EMA100 > SMA200 .

  • If TP is hit:
    → Re-enter Sell with InitialLotSize .

  • If profit retraces by M pips:
    → Close Buy, open Sell with same lot size.

  • If TSL is hit:
    → Close Buy, open Sell with:
    LotSize = LastLot × MartingaleMultiplier


🔁 Post-Reentry After EMA > SMA Again

  • Wait for confirmation distance D after EMA crosses back above SMA.

  • Depending on how the last trade closed:

    • TP: Sell with InitialLotSize

    • Retracement: Buy with same lot size

    • TSL: Buy with LastLot × MartingaleMultiplier


⚙️ Input Parameters

InitialLotSize ConfirmationDistance TakeProfit BuySL, SellSL PnLRetracement (M) MartingaleMultiplier1 (1.7) MartingaleMultiplier2 (1.5) TrailingStopSell, TrailingStepSell TrailingStopBuy, TrailingStepBuy


📌 Notes

  • Only 1 open trade at a time

  • TP/TSL settings differ for Buy/Sell

  • Strategy resets after 12 losing trades

  • Trade direction after loss depends on exit type

  • anytime trade hit sl or TSL, we increase lotsize by multiplier




Responded

1
Developer 1
Rating
(51)
Projects
71
37%
Arbitration
4
25% / 75%
Overdue
1
1%
Free
Published: 1 code
2
Developer 2
Rating
(636)
Projects
1008
47%
Arbitration
33
36% / 36%
Overdue
99
10%
Working
Published: 6 codes
3
Developer 3
Rating
(402)
Projects
520
24%
Arbitration
61
57% / 25%
Overdue
60
12%
Loaded
4
Developer 4
Rating
(17)
Projects
21
19%
Arbitration
5
40% / 40%
Overdue
0
Free
5
Developer 5
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
6
Developer 6
Rating
(274)
Projects
403
28%
Arbitration
40
40% / 50%
Overdue
1
0%
Free
7
Developer 7
Rating
(162)
Projects
289
35%
Arbitration
18
22% / 61%
Overdue
43
15%
Free
8
Developer 8
Rating
(33)
Projects
35
20%
Arbitration
5
40% / 40%
Overdue
0
Free
Published: 1 code
9
Developer 9
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
10
Developer 10
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
11
Developer 11
Rating
(7)
Projects
6
33%
Arbitration
7
0% / 71%
Overdue
0
Free
12
Developer 12
Rating
(4)
Projects
6
33%
Arbitration
7
14% / 57%
Overdue
1
17%
Free
13
Developer 13
Rating
Projects
1
0%
Arbitration
0
Overdue
1
100%
Free
14
Developer 14
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
15
Developer 15
Rating
(11)
Projects
18
28%
Arbitration
4
50% / 50%
Overdue
1
6%
Free
16
Developer 16
Rating
(12)
Projects
12
17%
Arbitration
2
0% / 50%
Overdue
1
8%
Free
Similar orders
Looking for a Complete Forex & Gold Signal System — Telegram Automation + Performance Tracking I’m looking for a complete automated trading signal solution for Forex pairs, including EUR/USD, GBP/USD and others, as well as gold (XAU/USD). Requirements: • An average of 2–3 quality signals per day across the selected instruments. Quality matters more than generating signals just to meet a quota. • A high win rate
PROJECT: Automatic Gold and Forex Trading Robot for MetaTrader 5 (MQL5) I want a fully automated Expert Advisor (EA) for MetaTrader 5 that can analyze the market and automatically open, manage and close trades on Gold and selected Forex currency pairs. TRADING INSTRUMENTS Gold: XAUUSD Forex: EURUSD, GBPUSD and USDJPY, subject to broker availability. Allow the user to enable or disable each trading symbol. Support
I need a robot that will grow small accounts to bigger amounts like this one in this link, https://youtu.be/d38pMbJihew?si=3NeIOVyrlwDr4X_o. Please click the link and watch how this EA grow small accounts. Then create a robot like that. I will test it on demo first then if it does what i want, i will take it. Please it must be simply to use. It must set targets, for example, once it reaches $500 profit, it must
Here is a professional, detailed requirements specification draft for your MQL5 freelance order based on your prompt: ​ Strategy Objective: Develop an automated Expert Advisor (EA) featuring a 1:3 Risk-to-Reward ratio optimized for a small starting budget. ​ Core Trading Logic: ​Execute automatic Buy and Sell trades using high-probability entry signals. ​Target a strict 90% theoretical win-rate structure through
i want to fix my gold martingale bot MT5. RSI 14 ENTRY 30 BUY 70 SELL Lot 0.02 0.04 0.07 TP 150 for all SL 90 30 30 once total daily profit is 200$ stop trading stop trading once 2 consecutives total losses stop trading if spread exceeded 30 and between hour 15 & 17 PM Move SL to breakeven point once the profit exceeded 50 from from breakeven thanks
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
The purpose of this order is ONLY to test and implement my H1 POI (Point of Interest) identification logic correctly. I am not requesting the complete EA at this stage. I will provide the exact rules for identifying the H1 POI after selecting the developer. The developer must convert those rules into clear, deterministic MQL5 logic. Requirements: Analyze H1 candles according to the rules I provide. Identify and mark
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements
Hello, I’m looking for an experienced developer to research, build, test, and install a fully automated MetaTrader 5 trading bot for gold, XAUUSD. My total development and installation budget is $300, including all agreed work and fees. My goal is to pass a $100,000 FTMO US Two-Step Standard evaluation and sustainably maintain the funded account. I need a day-trading strategy that can buy in bullish markets and sell
I have three indicators that operate independently. I want to combine them into one indicator with custom expert programming that automatically enters trades when a signal is generated by one of the indicators. I will pay for this service Thanks you

Project information

Budget
35+ USD
Deadline
from 1 to 4 day(s)