Expert advisor for back testing

Spécifications

Title: Development of MT4/MT5 Expert Advisor for NASDAQ Hedging Strategy with Optimization & Backtesting

Description:
I am seeking an experienced MetaTrader 4/5 (MT4/MT5) developer to build a fully automated Expert Advisor (EA) based on a specific NASDAQ hedging strategy. The EA will run on two separate accounts simultaneously with randomized hedging logic. All timing references are in New York Time (UTC-5).


Trading Strategy Overview:

  • Instrument: NASDAQ (may have different symbols depending on broker).

  • Trading Days: Monday through Friday (5 days a week).

  • Time Reference: Strategy is based on the 1-minute candle close at 9:29 AM NY time.


Entry Rules & Order Logic:

  1. As soon as the 9:29 AM 1-minute candle closes, the EA should:

    • Measure a 25-point move up and down from the candle close.

    • Immediately place Buy Stop and Sell Stop pending orders on both accounts.

  2. Randomized hedging logic:

    • Ensure neither account ever enters in the same direction.

    • Randomly determine which account will buy and which will sell for each trade.

  3. Once one side of the 25-point move is triggered:

    • All other pending orders must be immediately deleted.

    • Only one trade per account per day is active.


Risk Management:

  • Stop Loss: 15 points from the original 25-point move entry.

  • Take Profit: 70 points from the original 25-point move entry.

  • Risk per trade: 1% of account equity (e.g., on a $100,000 account, risk = $1,000 per trade).


Additional Features & Requirements:

  • Must be fully automated and capable of running daily without manual intervention.

  • Compatible with MT4 and MT5.

  • Backtesting functionality: EA should calculate:

    • Probabilities of winning and losing trades

    • Longest winning streak

    • Longest losing streak

  • Must allow optimization of strategy parameters to improve performance.

  • Developer should troubleshoot and refine the EA until it is performing at maximum capacity.

  • Proper order management to prevent overlapping trades or duplicate entries.

  • Code should be well-documented, modular, and easy to adjust (e.g., points, stop loss, take profit).

  • Include logging for entries, exits, order deletions, and risk calculations for debugging purposes.

  • EA should automatically calculate lot sizes based on the 1% risk per trade rule for the account size.


Deliverables:

  • Fully functional MT4/MT5 EA according to the specifications above.

  • Source code with comments and documentation.

  • Installation and setup instructions.

  • Guidance on optimization and backtesting settings.


Skills Required:

  • Strong experience in MT4/MT5 (MQL4/MQL5) programming

  • Experience with hedging strategies across multiple accounts

  • Knowledge of automated trading logic, order management, and randomized entries

  • Ability to optimize, backtest, and troubleshoot complex trading strategies

  • Understanding of risk-based lot sizing and trade management


Répondu

1
Développeur 1
Évaluation
(21)
Projets
28
4%
Arbitrage
4
25% / 0%
En retard
3
11%
Travail
2
Développeur 2
Évaluation
(2285)
Projets
2880
63%
Arbitrage
121
45% / 26%
En retard
428
15%
Travail
3
Développeur 3
Évaluation
(57)
Projets
82
24%
Arbitrage
24
13% / 58%
En retard
7
9%
Chargé
4
Développeur 4
Évaluation
(109)
Projets
117
32%
Arbitrage
3
33% / 33%
En retard
2
2%
Travail
5
Développeur 5
Évaluation
(64)
Projets
83
28%
Arbitrage
9
33% / 56%
En retard
9
11%
Gratuit
Publié : 1 code
6
Développeur 6
Évaluation
(7)
Projets
10
10%
Arbitrage
3
33% / 33%
En retard
4
40%
Chargé
7
Développeur 7
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
8
Développeur 8
Évaluation
(2)
Projets
3
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
9
Développeur 9
Évaluation
(1269)
Projets
1689
49%
Arbitrage
52
71% / 12%
En retard
37
2%
Gratuit
10
Développeur 10
Évaluation
Projets
2
0%
Arbitrage
4
25% / 50%
En retard
1
50%
Gratuit
11
Développeur 11
Évaluation
(305)
Projets
548
35%
Arbitrage
78
32% / 42%
En retard
197
36%
Travail
12
Développeur 12
Évaluation
(159)
Projets
284
35%
Arbitrage
18
22% / 56%
En retard
42
15%
Chargé
13
Développeur 13
Évaluation
(4)
Projets
7
0%
Arbitrage
3
33% / 33%
En retard
3
43%
Chargé
14
Développeur 14
Évaluation
(539)
Projets
620
33%
Arbitrage
36
39% / 53%
En retard
11
2%
Chargé
15
Développeur 15
Évaluation
(623)
Projets
977
46%
Arbitrage
32
38% / 34%
En retard
96
10%
Travail
Publié : 6 codes
16
Développeur 16
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
17
Développeur 17
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
18
Développeur 18
Évaluation
(24)
Projets
30
13%
Arbitrage
12
0% / 67%
En retard
8
27%
Travail
19
Développeur 19
Évaluation
(15)
Projets
34
24%
Arbitrage
4
0% / 50%
En retard
2
6%
Travail
20
Développeur 20
Évaluation
(2)
Projets
3
0%
Arbitrage
0
En retard
0
Gratuit
21
Développeur 21
Évaluation
(491)
Projets
956
74%
Arbitrage
27
19% / 67%
En retard
101
11%
Chargé
Publié : 1 article, 6 codes
22
Développeur 22
Évaluation
(6)
Projets
6
0%
Arbitrage
2
50% / 0%
En retard
1
17%
Gratuit
23
Développeur 23
Évaluation
(270)
Projets
552
49%
Arbitrage
58
40% / 36%
En retard
228
41%
Travail
24
Développeur 24
Évaluation
(1)
Projets
1
0%
Arbitrage
1
0% / 0%
En retard
0
Travail
25
Développeur 25
Évaluation
(294)
Projets
470
39%
Arbitrage
102
40% / 24%
En retard
78
17%
Chargé
Publié : 2 codes
Commandes similaires
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","
I recently purchased an off the shelf 'multiple positions executor' EA in order to open multiple trades simultaneously using MT5 however the orders would fail. It seems they would fail because the EA uses PIPs and the broker I use with MT5 uses Points. The EA was sending an order with SL/TP values that violated the broker’s symbol rules. I need an EA developed which Opens multiple market orders simultaneously
Description I need an very low latency MT5 Expert Advisor (EA) developed in MQL5 to automate TradingView alerts into MT5 trades for alerts set up done on trading view. The EA must work on both DEMO and LIVE accounts whichever will be attached to MT5 (XM, IC Markets and similar MT5 brokers) and be suitable for fast 1-minute timeframe scalping.End to End solution. Functional Requirements 1. TradingView Integration
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi
hello great developer We are looking for someone to create a Ninja Trader bot that can identify liquidity sweeps using lux algos indicator. once liquidity sweep occurs we need the bot to use the fibonnachi tool to idenfity the 61% level and 71% level. then enter the trade for us please check the video for better understanding Here is first video: https://youtu.be/ZaGZGNgzZlc?si=we3poeWB91nWqkz5 Here is Second video
Need a HFT scalping EA 30 - 100 USD
Require the development of a high-speed HFT, fully automated trading Expert Advisor (EA) for MetaTrader 5 , optimized for live trading on both Deriv and Exness . The EA must be designed for fast execution, low latency, and reliability on real-money accounts , with full compatibility across broker-specific contract specifications, tick sizes, tick values, pricing formats, and volume rules. It should automatically
I have an MT5 expert advisor. The EA trades martingale strategy. I need it converted to a python bot to trade futures in binance, bybit, okx, kucoin and other dexes

Informations sur le projet

Budget
30 - 150 USD
Délais
de 1 à 4 jour(s)

Client

Commandes passées1
Nombre d'arbitrages0