A quick little job about OrderCloseTime() in my EA.

Trabajo finalizado

Plazo de ejecución 2 minutos
Comentario del Cliente
Lakshan is very helpful and patient programmer, I would recommend.

Tarea técnica

In my EA i have a block of code within the OnTick area and I need it to only run when a trade closes, instead of every tick. Currently I am using OrderCloseTime() and can get a new number when a trade closes, but as said the code block is running every tick, but it only needs to run once, when a trade closes. I think the bit of code I have is close to how to do it, but the logic of exactly how to do it escapes me so a little help is appreciated. Thanks for looking.


Han respondido

1
Desarrollador 1
Evaluación
(188)
Proyectos
212
58%
Arbitraje
9
11% / 89%
Caducado
8
4%
Libre
2
Desarrollador 2
Evaluación
(772)
Proyectos
1039
44%
Arbitraje
50
8% / 50%
Caducado
116
11%
Libre
3
Desarrollador 3
Evaluación
(53)
Proyectos
74
26%
Arbitraje
30
10% / 63%
Caducado
22
30%
Libre
4
Desarrollador 4
Evaluación
(647)
Proyectos
1295
67%
Arbitraje
84
26% / 49%
Caducado
338
26%
Libre
5
Desarrollador 5
Evaluación
(50)
Proyectos
80
39%
Arbitraje
4
50% / 25%
Caducado
0
Libre
6
Desarrollador 6
Evaluación
(117)
Proyectos
138
41%
Arbitraje
30
7% / 77%
Caducado
17
12%
Libre
7
Desarrollador 7
Evaluación
(1156)
Proyectos
1462
63%
Arbitraje
21
57% / 10%
Caducado
43
3%
Libre
8
Desarrollador 8
Evaluación
(574)
Proyectos
945
47%
Arbitraje
309
58% / 27%
Caducado
125
13%
Libre
9
Desarrollador 9
Evaluación
(253)
Proyectos
259
30%
Arbitraje
0
Caducado
3
1%
Libre
Ha publicado: 2 ejemplos
10
Desarrollador 10
Evaluación
(130)
Proyectos
184
32%
Arbitraje
18
28% / 67%
Caducado
27
15%
Libre
Ha publicado: 1 ejemplo
11
Desarrollador 11
Evaluación
(22)
Proyectos
114
98%
Arbitraje
4
0% / 75%
Caducado
35
31%
Libre
12
Desarrollador 12
Evaluación
(213)
Proyectos
246
45%
Arbitraje
42
10% / 57%
Caducado
5
2%
Libre
13
Desarrollador 13
Evaluación
(17)
Proyectos
24
33%
Arbitraje
5
20% / 40%
Caducado
8
33%
Libre
14
Desarrollador 14
Evaluación
(4)
Proyectos
4
75%
Arbitraje
1
0% / 0%
Caducado
0
Libre
Ha publicado: 90 ejemplos
15
Desarrollador 15
Evaluación
(69)
Proyectos
146
34%
Arbitraje
13
8% / 62%
Caducado
26
18%
Libre
Ha publicado: 6 ejemplos
16
Desarrollador 16
Evaluación
(588)
Proyectos
1063
50%
Arbitraje
39
28% / 41%
Caducado
49
5%
Trabaja
Ha publicado: 1 artículo, 8 ejemplos
Solicitudes similares
I need an mql5 EA which can be used with 100$ capital very low drawdown The EA should be high frequency trading special for XAUUSD and btcusd or binary options but also the EA should be testable via strategy tester and demo test for five days is needed NO SELECTION CAN BE DONE WITHOUT TESTING when applying make sure you send the backtester results with demo EA testable via strategy tester
I currently have a powerful and well-structured Expert Advisor available on the MT5 platform. This EA is designed with: ✅ Advanced entry and exit logic ✅ Smart risk management system ✅ Automatic lot sizing option ✅ Break-even and trailing stop protection ✅ Spread and session filters ✅ Drawdown control features ✅ Optimized for XAUUSD and scalping strategies ✅ Suitable for prop firm challenges like FTMO It is built for
Do you need a profitable and well-structured trading strategy converted into a fully automated Expert Advisor on the MT5 platform? I specialize in developing advanced, high-performance EAs with: ✅ Smart entry & exit logic ✅ Risk-based lot size calculation ✅ Break-even & trailing stop system ✅ Spread & session filters ✅ Daily drawdown protection ✅ Prop firm (FTMO-style) risk compliance ✅ Fully automated trade
Hello, I'm looking to find out the cost of creating a mobile trading robot. I've tried to describe it as thoroughly as possible in the following document. I look forward to your response. I'd like to know the costs, delivery time, and how you plan to implement it before making a decision
I have an existing MT5 Expert Advisor (“E-Core”). I need an experienced MQL5 developer to integrate a structured risk management upgrade and a higher timeframe trend filter into the current code. Two files will be provided: 1️⃣ E-Core Source Code (Current Version) 2️⃣ Update Instructions File (contains exact inputs, functions, and logic to integrate) The developer must: Integrate the update logic
DO NOT RESPOND TO WORK WITH ANY AI. ( I CAN ALSO DO THAT ) NEED REAL DEVELOPING SKILL Hedge Add-On Rules for Existing EA Core Idea SL becomes hypothetical (virtual) for the initial basket and for the hedge basket . When price hits the virtual SL level , EA does not close the losing trades. Instead, EA opens one hedge basket in the opposite direction. Original basket direction Hedge basket direction (opposite) Inputs
Billionflow 30 - 100 USD
Trading specifications: Indicators: Bollinger band ( Period 40, Deviation 1 apply to close) Moving Average (Exponential ) Period 17 applied to high Moving Average ( Exponential ) Period 17 applied to low But Signal enter a buy trade when prices crosses the lower band of the bollinger band up and also crosses the moving average channel of high and low the reverse is true for sell signal
Hello, I am a user of the "BUY STOP SELL STOP V6" trading bot, which is an advanced Grid System bot. The bot is primarily designed for Gold (XAUUSD), but I want it to work on all currency pairs. "The bot contains a privacy/protection code that prevents it from running on other accounts or being modified on any platform, as it has a client account number lock mechanism" --- Bot Description & Current Settings Bot Type
I am looking for a highly experienced Pine Script v5 developer to build a professional, non repaint price action indicator for TradingView. or a ready made one so i can purchase. This is a structured two phase project. The goal is to create a clean, intelligent price action tool that works for both fast intraday trading and swing trading. Only apply if you have strong Pine experience and understand liquidity
Hello, I’m looking for an experienced MQL4/MQL5 developer to work with me on an ongoing basis. My clients request services such as: Converting TradingView Pine Script indicators/strategies into MT4 or MT5 Expert Advisors Converting MT4 EAs to MT5 (and MT5 to MT4) Compiling and fixing existing MQL4 / MQL5 EA code Adding simple features like alerts, SL/TP, lot size, and basic money management This job is for

Información sobre el proyecto

Presupuesto
30+ USD
Plazo límite de ejecución
de 1 a 3 día(s)