An expert advisor based on moving average and some recovery strategy

Job finished

Execution time 35 days
Feedback from employee
Great to work with him, professional and helpful.
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.

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
69
35%
Arbitration
4
25% / 75%
Overdue
0
Free
2
Developer 2
Rating
(627)
Projects
987
47%
Arbitration
33
36% / 36%
Overdue
98
10%
Loaded
Published: 6 codes
3
Developer 3
Rating
(378)
Projects
485
24%
Arbitration
59
54% / 25%
Overdue
55
11%
Loaded
4
Developer 4
Rating
(15)
Projects
19
16%
Arbitration
5
40% / 40%
Overdue
0
Free
5
Developer 5
Rating
(60)
Projects
87
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
6
Developer 6
Rating
(273)
Projects
401
27%
Arbitration
40
40% / 50%
Overdue
1
0%
Free
7
Developer 7
Rating
(161)
Projects
286
35%
Arbitration
18
22% / 61%
Overdue
42
15%
Working
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% / 0%
Overdue
0
Working
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
I am looking for an experienced MQL5 developer to improve an existing forex EA, not build a completely new robot from zero. Important note: I use GPT to help me write because my English is limited. The wording may be assisted by GPT, but the trading issues, testing observations, and improvement goals are real from my side. I need a developer who is patient, understands strategy logic well, and can explain the
Fair Value Gap Expert , Optimize the core logic for live chart . [Filters are working] Lets ace the trailing stop . Change points to pip . Project will start from next week
Double ma 30+ USD
Create an EA on moving averages. The EA will open a trade when the price is above the averages. It will open another when it is below the averages. Ability to work on any timeframe. Ability to use a news filter and a martingale...or to work on a grid
Project Description I am looking for a highly experienced MQL5 developer to build a professional-grade Expert Advisor for MetaTrader 5, focused on XAUUSD (Gold). This project is not a simple EA, but the foundation of a scalable multi-strategy trading system, designed for long-term development and future upgrades. Core Concept The EA must support a maximum of 5 internal strategies, each working independently but
Hi, Before ordering, I want to verify the quality of your ICT/SMC logic. Do you have an existing indicator or strategy (your own work) that I can test on TradingView? If yes, please provide: 1. A demo (invite-only script or video) 2. Proof it is NON-repainting (explained clearly) 3. Live or replay demonstration (not static screenshots) Specifically I want to see: * Clean swing structure (no consecutive highs/lows) *
Project Overview ​I am looking for a high-level Algorithmic Trader / Developer to build a sophisticated, fully automated scalping system for the Nasdaq-100 Future (NQ) . The system must integrate institutional order flow logic with market structure analysis. ​The core logic must be written in Python , acting as a central hub that bridges ATAS (as the primary data source for Order Flow) and MetaTrader 5 (as the
Hi Im working with a Crypto trading company and we want to branch out with our indicator, i'm researching the bot automation and need some hands on board. i i want to hear your opinion about the indicator that i would like you to build. in the PDF i explain the whole indicator and how it need to look like. happy to hear form you
Existing EA 30 USD
I’m looking to acquire an existing, profitable Expert Advisor (EA) with full source code to add to our client investment portfolio. To be clear, this is not a request to develop or design a new strategy. If you already have an EA that is proven, consistent, and production-ready, I’m open to reviewing it immediately. Please apply only if you meet all the requirements below. Submissions without a proper introduction or
have the Beatrix Inventor Expert Advisor (EA) that was profitable in the past but has been losing money recently. I need an experienced EA developer/optimizer to study the trade history (especially Stop Loss hits, drawdown periods, SL/TP behavior, win/loss ratio, etc.) and recommend + implement specific tweaks so it becomes consistently profitable again. Your job: 1. Deep analysis of why the EA is no longer
We are seeking an experienced MQL5 developer to design and develop a high-performance Expert Advisor (EA) for trading Gold (XAUUSD) on MetaTrader 5 . This project is intended for large-scale capital deployment , with an available trading capital exceeding $8,000,000 USD . As such, we are looking for a developer capable of building a robust, scalable, and risk-controlled algorithmic trading system suitable for

Project information

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