Expert advisor for back testing

Specification

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


Responded

1
Developer 1
Rating
(21)
Projects
28
4%
Arbitration
4
25% / 0%
Overdue
3
11%
Working
2
Developer 2
Rating
(2285)
Projects
2880
63%
Arbitration
121
45% / 26%
Overdue
428
15%
Working
3
Developer 3
Rating
(57)
Projects
82
24%
Arbitration
24
13% / 58%
Overdue
7
9%
Loaded
4
Developer 4
Rating
(107)
Projects
115
32%
Arbitration
3
33% / 33%
Overdue
2
2%
Loaded
5
Developer 5
Rating
(64)
Projects
83
28%
Arbitration
9
33% / 56%
Overdue
9
11%
Free
Published: 1 code
6
Developer 6
Rating
(7)
Projects
10
10%
Arbitration
3
33% / 33%
Overdue
4
40%
Loaded
7
Developer 7
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
8
Developer 8
Rating
(2)
Projects
2
0%
Arbitration
1
0% / 100%
Overdue
0
Working
9
Developer 9
Rating
(1269)
Projects
1689
49%
Arbitration
52
71% / 12%
Overdue
37
2%
Free
10
Developer 10
Rating
Projects
2
0%
Arbitration
4
25% / 50%
Overdue
1
50%
Free
11
Developer 11
Rating
(305)
Projects
548
35%
Arbitration
78
32% / 42%
Overdue
197
36%
Working
12
Developer 12
Rating
(159)
Projects
284
35%
Arbitration
18
22% / 56%
Overdue
42
15%
Loaded
13
Developer 13
Rating
(4)
Projects
7
0%
Arbitration
3
33% / 33%
Overdue
3
43%
Loaded
14
Developer 14
Rating
(539)
Projects
620
33%
Arbitration
36
39% / 53%
Overdue
11
2%
Loaded
15
Developer 15
Rating
(623)
Projects
977
46%
Arbitration
32
38% / 34%
Overdue
96
10%
Working
Published: 6 codes
16
Developer 16
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
17
Developer 17
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
18
Developer 18
Rating
(24)
Projects
30
13%
Arbitration
12
0% / 67%
Overdue
8
27%
Working
19
Developer 19
Rating
(15)
Projects
34
24%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
20
Developer 20
Rating
(2)
Projects
3
0%
Arbitration
0
Overdue
0
Free
21
Developer 21
Rating
(491)
Projects
956
74%
Arbitration
27
19% / 67%
Overdue
101
11%
Loaded
Published: 1 article, 6 codes
22
Developer 22
Rating
(6)
Projects
6
0%
Arbitration
2
50% / 0%
Overdue
1
17%
Free
23
Developer 23
Rating
(270)
Projects
552
49%
Arbitration
58
40% / 36%
Overdue
228
41%
Working
24
Developer 24
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 0%
Overdue
0
Working
25
Developer 25
Rating
(294)
Projects
470
39%
Arbitration
102
40% / 24%
Overdue
78
17%
Loaded
Published: 2 codes
Similar orders
// 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

Project information

Budget
30 - 150 USD
Deadline
from 1 to 4 day(s)

Customer

Placed orders1
Arbitrage count0