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
(22)
Projects
29
3%
Arbitration
4
25% / 0%
Overdue
3
10%
Working
2
Developer 2
Rating
(2315)
Projects
2914
63%
Arbitration
124
44% / 25%
Overdue
429
15%
Loaded
3
Developer 3
Rating
(60)
Projects
87
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
4
Developer 4
Rating
(141)
Projects
150
41%
Arbitration
3
33% / 33%
Overdue
1
1%
Loaded
5
Developer 5
Rating
(64)
Projects
83
28%
Arbitration
9
33% / 56%
Overdue
9
11%
Free
Published: 1 code
6
Developer 6
Rating
(12)
Projects
16
13%
Arbitration
4
50% / 25%
Overdue
4
25%
Loaded
7
Developer 7
Rating
(2)
Projects
2
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
8
Developer 8
Rating
(7)
Projects
8
0%
Arbitration
2
0% / 50%
Overdue
1
13%
Working
9
Developer 9
Rating
(1289)
Projects
1716
49%
Arbitration
52
71% / 12%
Overdue
38
2%
Working
10
Developer 10
Rating
Projects
2
0%
Arbitration
4
25% / 50%
Overdue
1
50%
Free
11
Developer 11
Rating
(311)
Projects
557
35%
Arbitration
79
32% / 43%
Overdue
202
36%
Working
12
Developer 12
Rating
(162)
Projects
287
34%
Arbitration
18
22% / 61%
Overdue
42
15%
Working
13
Developer 13
Rating
(4)
Projects
8
0%
Arbitration
3
33% / 67%
Overdue
4
50%
Free
14
Developer 14
Rating
(560)
Projects
648
33%
Arbitration
41
41% / 46%
Overdue
11
2%
Busy
15
Developer 15
Rating
(627)
Projects
989
47%
Arbitration
33
36% / 36%
Overdue
98
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% / 75%
Overdue
8
27%
Free
19
Developer 19
Rating
(16)
Projects
35
23%
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
(509)
Projects
977
74%
Arbitration
27
19% / 67%
Overdue
101
10%
Free
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
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
24
Developer 24
Rating
(2)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
25
Developer 25
Rating
(296)
Projects
475
40%
Arbitration
105
40% / 24%
Overdue
80
17%
Busy
Published: 2 codes
Similar orders
SMC ORDER BLOCK 30 - 60 USD
I want already build FULLY AUTOMATED order block MT5 XAUUSD HTF H4 ENTRY LTF M15 - Show result on live account. m15 ob entry in the direction of h4 ob bias the developper to provide source code in the end
Project Title: Custom XAUUSD Support & Resistance Indicator Platform Required: MT5 preferred. If possible, also provide TradingView Pine Script version later. Main Goal: I want a custom indicator made specifically for XAUUSD (Gold) only. The indicator should automatically detect and draw strong support and resistance zones where price has a high probability of reacting, rejecting, or reversing. It must update
I need a boom-and-crash MT5 robot that is very accurate for opening trades just before the spike happens. It should use M1 timeframe It should have options for changing lot size, number of trades to open, stop loss and take profit in points If the spike happens and it makes some profit, it should automatically close all trades. If the spike happens and the spike is not in profits, the trades can remain open waiting
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot
I need a high frequency trading robot for gold in one or 5 minute timeframe the robot should have spread filter where it should only open trades below a set spread should have news filter to allow trading during fundal news or not the robot should have input in number of minutes to close all open trades and remove pending orders before fundamental news as part of news filter. It should also have the number of minutes
Hello, I am looking for a professional trading system including: 1- Trading Bot (Expert Advisor): - Good profit performance - High security and strong risk management - Works efficiently during high market volatility (news and strong movements) - Works on all pairs (Forex + Gold) 2- Signal Indicator: - Provides clear Buy and Sell signals - Includes Take Profit and Stop Loss - No repaint (signals must not change or
This is yakubu Jnr trading bots I create the trading robots to help my self and others traders to be successful please you can join my live trading bots or subscribe to my trading robots
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone
Tengo una estrategia basada en divergencia para el oro sobre todo en tf m1 Basado en divergencia con stoch .. confirmando la entrada con ciertos parameteos de entrada Es mejor conversarlo para dar mejor los detalles Cuando entrar, porque o todas las divergencias se debe tomar para entrar en compras o ventas He adjuntado un ejemplo La confrmacion más exacta es el cruce de esos parámetros de stoch edebajo de level de

Project information

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