Close open trades by time

MQL4 Experts Scripts

Job finished

Execution time 5 minutes

Specification

I need an EA that monitors pending/open trades and closes them after a set time

When a pending order is entered into the platform the EA starts to count down , and cancels the pending order if time expires before the order is executed, or if the order is executed the EA closes the trade when time Expires.

 

EA monitors each  trade (order) individually

 pending orders can cancel them selves

for that i don't need any EA

what i need is EA to monitor the pending orders and if they get executed it closes them Xhrs from when they entered into the platform

 as pending orders

 when the signal provider sends the orders . they have already an End till where they would cancel automatically

 so EA starts to count down when a trade  is sent in platform as pending order. if the order is canceled before its executed then EA does nothing

 if trade is executed then EA would close it Xhrs counting from when it first entered the  platform as a pending order 

Responded

1
Developer 1
Rating
(1235)
Projects
2820
80%
Arbitration
156
22% / 43%
Overdue
487
17%
Free
2
Developer 2
Rating
(195)
Projects
395
28%
Arbitration
155
20% / 52%
Overdue
112
28%
Free
3
Developer 3
Rating
(564)
Projects
845
73%
Arbitration
15
53% / 13%
Overdue
193
23%
Free
4
Developer 4
Rating
Projects
2
50%
Arbitration
0
Overdue
0
Free
5
Developer 5
Rating
(187)
Projects
367
56%
Arbitration
45
22% / 56%
Overdue
188
51%
Free
Published: 1 article, 6 codes
6
Developer 6
Rating
(453)
Projects
566
26%
Arbitration
24
42% / 38%
Overdue
85
15%
Free
Published: 6 codes
7
Developer 7
Rating
(82)
Projects
150
29%
Arbitration
9
44% / 11%
Overdue
46
31%
Free
8
Developer 8
Rating
(54)
Projects
164
43%
Arbitration
43
47% / 16%
Overdue
58
35%
Free
Published: 1 code
9
Developer 9
Rating
(13)
Projects
20
30%
Arbitration
5
20% / 80%
Overdue
5
25%
Free
10
Developer 10
Rating
(63)
Projects
80
28%
Arbitration
17
12% / 76%
Overdue
48
60%
Free
Similar orders
What I need: Compilable, fully-commented MQL4 source (.mq4) that I own outright, replicating an existing compiled MT4 EA I already run. It's a straightforward indicator-based scalper with position-averaging and grouped exits. I'll share the full behavioral details, input list, compiled .ex4, and sample trade logs privately with the awarded coder — your version must reproduce the same trades on my sample data, not
Fvg order 50 - 300 USD
Strategy Objective Create a disciplined, rules‑driven trading framework that identifies high‑probability reversals during the Asia session by leveraging levels formed in the final hours of New York. The goal is consistent execution, controlled risk, and scalable automation. Core Approach Track and define the key price extremes set during late New York trading. Monitor Asia session behavior for liquidity sweeps beyond
Requirements Specification GoldV16 V0 – MT5 XAUUSD Netting EA 1. Platform: - MetaTrader 5 - MQL5 - XAUUSD - NETTING account 2. Position rule: - Only ONE XAUUSD position may be open at any time. - Fixed lot only. - No Martingale. - No automatic lot increase. 3. Stop Loss: - Stop Loss must be sent immediately when a trade opens. - Default SL distance: 1.00 USD in gold price. - SL distance must be adjustable in Inputs
MQL5 developer needed to code a macro-driven gold trading Expert Advisor for MetaTrader. Body: We have a documented macro-driven trading strategy for gold that needs to be converted into a working MetaTrader Expert Advisor. Experience integrating external data sources, such as economic calendar events or interest rate and dollar index data, into MQL5 is required. An N.D.A. must be signed before strategy details are
I’m looking for an experienced MQL5 developer to create an MT5 EA similar to Iron Range, mainly for BTCUSD. It should use a range-based entry strategy, support market and pending orders, fixed-lot and percentage-risk sizing, stop loss, take profit, break-even, trailing stop, spread protection, and daily loss or drawdown limits. It should also work with different brokers and include adjustable settings for
MACD + EMA 30 - 100 USD
J’ai fais un indicateur tradingview que j’aimerai adapter à MT5. celui ci indique une flèche pour des achats ou des ventes lorsque le prix atteint un niveau tracé auparavant par l’indicateur également. Les conditions sont les suivantes : timeframe 1 minute Buy Stop / Sell Stop sur le niveau tracé. SL placé sur la EMA 21 au moment du du déclenchement de l’ordre avec possibilité de le modifier. Le TP à 1.5R
I need someone who can create a Trading Bot/AI or Expert Advisor (EA) for MetaTrader 5 (MT5) based on my manual trading strategy. My strategy uses only two indicators: Envelope and Moving Average. What I need is for the EA to accurately follow my manual trading logic and strategy, while also respecting the exact settings and parameters that I use for both indicators. This is not a Martingale strategy or anything
I am looking for a developer experienced in EAs and MT5 optimization to help me optimize my trading robot to operate during the Asian Session as well. Currently, the EA is already optimized for the London and New York sessions. I also have a fully functional version that includes the Asian Session. The strategy and all logic required for Asian Session trading are already implemented. Therefore, there is no need to
i need someone that can make me an EA really easy with the martingala system?, I am looking for something that doesn't exceed 5 trades for the martingale, I think I did it, but it only works for propfirms, So i need to develop it on ninja trader I have identified a very very simple strategy but it only works on propfirms, with only two propfirm accounts, i absolutely need account A and account, And they have to open
Pro bot 35 - 200 USD
Should be able to trade for me when I need to trade and make few or no loses.should help me trade profitably while on the chart.Tge more profits,the more we play

Project information

Budget
10 - 50 USD
Deadline
from 1 to 3 day(s)