MT5 EA Enhancement – Add Global Profit/Loss Control & Timed Reset Logic to Shankar EA

MQL5 Experts

Job finished

Execution time 2 hours
Feedback from customer
Shoaib always deliver perfect and good work

Specification

MT5 (MQL5) developer to enhance an existing Expert Advisor (Shankar EA) by adding account-level risk control and time-based reset functionality.

Scope of Work

  1. Global Profit & Loss Limit

    • Add a global profit target (account-wide).

    • Add a global maximum loss limit (account-wide).

    • When either condition is met:

      • Close all open positions and pending orders related to the EA.

      • Stop further trading activity until reset conditions are met.

    • Limits must be input-configurable from EA parameters.

  2. X-Minute Reset Interval

    • Add a configurable time-based reset interval (X minutes).

    • At each interval:

      • Reset internal EA counters, flags, and trading state.

      • Allow trading to resume if previously stopped due to profit/loss limits.

    • Reset logic must be robust across ticks and low-volatility periods (timer-based preferred).

  3. Stability & Safety

    • Ensure no duplicate resets occur.

    • Ensure logic works correctly after:

      • Terminal restart

      • Chart reload

      • Temporary disconnections

Requirements

  • Strong experience with MQL5 / MT5 Expert Advisors

  • Proper handling of account equity, balance, floating P/L

  • Clean, well-structured, and maintainable code

  • No use of external files unless explicitly approved


Responded

1
Developer 1
Rating
(22)
Projects
28
7%
Arbitration
9
33% / 33%
Overdue
1
4%
Working
2
Developer 2
Rating
(180)
Projects
194
46%
Arbitration
4
50% / 25%
Overdue
1
1%
Loaded
3
Developer 3
Rating
(390)
Projects
416
30%
Arbitration
74
19% / 72%
Overdue
52
13%
Working
4
Developer 4
Rating
(13)
Projects
20
40%
Arbitration
1
0% / 100%
Overdue
1
5%
Free
5
Developer 5
Rating
(7)
Projects
5
0%
Arbitration
5
0% / 80%
Overdue
1
20%
Working
6
Developer 6
Rating
(29)
Projects
36
44%
Arbitration
4
50% / 50%
Overdue
3
8%
Working
7
Developer 7
Rating
(1)
Projects
2
0%
Arbitration
1
0% / 0%
Overdue
0
Free
Published: 3 articles
8
Developer 8
Rating
(45)
Projects
53
57%
Arbitration
2
100% / 0%
Overdue
1
2%
Free
Published: 5 codes
9
Developer 9
Rating
(34)
Projects
35
40%
Arbitration
0
Overdue
3
9%
Free
10
Developer 10
Rating
(1)
Projects
1
0%
Arbitration
3
0% / 100%
Overdue
1
100%
Free
11
Developer 11
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
12
Developer 12
Rating
(10)
Projects
12
0%
Arbitration
3
33% / 33%
Overdue
0
Free
13
Developer 13
Rating
(4)
Projects
3
33%
Arbitration
2
0% / 100%
Overdue
0
Free
Similar orders
Hello here, I need someone who can work on pinescript and also with Renko charts. My entries for my strategy would be based on stop orders Kindly let me know if you can work on this for me and i will send necessary file and quote in the chat
Trade XAUUSD only Support MT5 Use Buy Stop and Sell Stop pending orders around a configurable breakout range. When the market breaks the range, activate the corresponding trade. Automatically place Stop Loss and Take Profit immediately with every order. Automatically cancel the opposite pending order after one side is triggered. No Martingale No Grid No averaging down No loss recovery system No unlimited position
Hey guys, I’ve got an MT4 HFT EA that’s showing strong results on an IC Markets demo account, and I'm looking to move it over to MT5. Does anyone have a solid MT5 version that performs well on IC Markets? Having the source code (MQL5) included would be awesome. Thanks for any leads
Hello! I want to automatically trade on Sierra Charts (IronBeam Brokerage). NQ ($20 per "handle") or MNQ ($2 per point or handle) - futures Broker: IronBeam mostly for the low capital requirement for futures Chart: Sierra Charts I almost exclusively trade a 5-20 bracket with 2 contracts (first contract closes at a +5 and second bracket closes at a +20.) When the +5 is reached, I move my stop from -15 to BE
Let’s use Chart M3. Stochastic 8,3,3. 85/15 trigger for sell stochastic >85, and the reversal move need to engulf the last bar for 1 point. SL over the engulfed bar. Same trigger for buys… Stochastic <15, engulfed bar by 1 point = entrance. SL under the engulfed bar… more details as soon we start to work on it
Scalping EA/straddle 30 - 200 USD
Title: Custom EA: Dynamic Trailing Limit Grid with Volatility/Velocity Filter and Auto SL/TP Description: I am looking for an experienced MQL5 programmer to develop a high-performance, robust Expert Advisor (EA) for MetaTrader 5. The strategy relies on dynamic trailing limit orders that automatically adjust to market price changes, featuring a safety buffer during high-velocity price spikes. The EA must include the
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
Watcher position 30 - 100 USD
//+------------------------------------------------------------------+ //| synthetic tick generator based on two assets | //+------------------------------------------------------------------+ class CSyntheticTickGenerator { private : string symbol_a; string symbol_b; string synth_name; double ratio; double last_price_a; double
# SNRZ BOT — SESSION PROGRESS LOG Last updated: 2026-09-16 (local late-evening session) ## SAN BOT (new — cloned from SNRZ) - `MQL5\Experts\AutomatedOrderBot_SAN.mq5` / `.ex5` — v1.0, compiled 0 errors/0 warnings - Signal source: custom indicator "SAN" (InpSANName, buy buf 0 / sell buf 1, target bar 1), same SNRZ-style read, MA fallback if missing - Magic number 234567 (separate from SNRZ 123456 so both bots can run
Multi-Asset EA (XAUUSD / FRA40) with Time Filters, High-Impact News Avoidance, Advanced Risk/Lot Sizing, and H1 Breakout Strategy 1. RISK SETTINGS * Max Daily Loss Limit: (bool) Toggle true/false. If true, input double for max loss in currency (e.g., $500). If hit, close all positions and stop trading until next day. * Lot Sizing Mode: Dropdown menu: 1. Fixed Lots (e.g. 0.10); 2. Percentage Risk (%) based on Account

Project information

Budget
30+ USD