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
(621)
Projects
972
47%
Arbitration
32
38% / 34%
Overdue
96
10%
Loaded
Published: 6 codes
3
Developer 3
Rating
(373)
Projects
479
23%
Arbitration
57
56% / 25%
Overdue
55
11%
Loaded
4
Developer 4
Rating
(14)
Projects
18
17%
Arbitration
5
40% / 40%
Overdue
0
Free
5
Developer 5
Rating
(55)
Projects
80
23%
Arbitration
24
13% / 58%
Overdue
7
9%
Working
6
Developer 6
Rating
(268)
Projects
396
27%
Arbitration
38
39% / 50%
Overdue
1
0%
Free
7
Developer 7
Rating
(159)
Projects
284
35%
Arbitration
17
24% / 59%
Overdue
42
15%
Loaded
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
(270)
Projects
552
49%
Arbitration
58
40% / 36%
Overdue
228
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
Greetings, I'm seeking a price quote for the following EA description. 1) Short positions are opened after trades that have closed below the open of the trade. 2) Long positions are opened after trades that have closed above the open of the trade. 3) The base lot size plus the spread is applied for every trade that opens after the take profit has been reached. 4) Double the lot size of the previous trade plus
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I have an indicator i need automated i use it manually and it plots arrows. Can you automate it for my Ninjatrader8? Do you need to see file? Expert Ninjatrader Developer can Bid for this project
Project Overview We are seeking an experienced MetaTrader 5 (MT5) / MQL5 developer to design and build a production-ready Expert Advisor intended for live trading with capital at risk . This is not a hobby, experimental, or retail-grade EA. We are only interested in developers with proven experience delivering robust, well-tested MT5 systems . Project Objective Design and implement a high-quality MT5 Expert Advisor
I want developer who know how to create bot which immediately transfer specific crypto coin deposit to one crypto address to another specific address in just a second,, if you know about this then only comment on this post
Hey bro, can you help with NT8. On a vps, multiple algos and prop account but the strategies keep getting out of sync, going from true to false for no reason….. mid trade it pops errors.The algo codes are locked… other than that it’s open VPs, NT8 and strategy is open You will notice in the strategies xml that there are standard, then 100k and 50k versions…… Also I did version that are in strategy labeled "Apex"
Hello Developers, I need ready made MT5 HFT Gold Scalper. Must pass in backtesting lower DD work with minimum $50 if you have ready made scalper than send file for Demo test and than we Final the deal. Thanks
I would like to create an indicator for my strategy on trading view , my strategy involves a liquidity sweep , wick or candle body closure , this needs to happen inside a higher time frame pd array such as a fair value gap that’s atleast 5m + and there needs to be an inversion fair value gap for my entry , I want the fair value gaps on all time frames so I can see them all on the 1 minute chart but i want the fair
can you help me with making a simple tradingview/script that draws boxes labeling consolidation areas according to my specifications? IF anyone can help with this kindly do well to bid to this so we can discuss more about the project thanka

Project information

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