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
(258)
Proyectos
267
30%
Arbitraje
0
Caducado
3
1%
Trabaja
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
(589)
Proyectos
1069
50%
Arbitraje
39
28% / 41%
Caducado
49
5%
Trabaja
Ha publicado: 1 artículo, 8 ejemplos
Solicitudes similares
Hello I need to purchase the source code of an already built profitable mt5 EA with proven track recordIf you have something similar and you are open to selling the source code please apply to this post Please note I am not looking for a dev to build the product from scratch , but need something that is already built and have at least one year worth of track record
I need an Expert Advisor for MT5 on XAUUSD 1min timeframe using SMC concepts. STRATEGY RULES: SELL: 1. Identify previous day High/Low as liquidity 2. Entry only during London-NY session: 15:00-19:00 GMT+3 or broker clock. 3. If price sweeps previous day High and closes back below it 4. Check for bearish 1min FVG below sweep candle 5. Wait for BOS - lower low 6. Entry: Sell/buy at 50% of the FVG 7. SL: 10 pips above
Code An Loss Rate 90-100% MT5 EA , that can blow a 100 USD account a day ,with fixed TP of 3000 points and SL of 3000 For better Rate Calculations get an strategy that can lead to so
Shooter razor 30+ USD
Makes it takes trades by it self buy and sell, it must use the higher signals, also when I press stop it must not pick any trades I want it to take trades automatically when I press start also close by it self
8 cap prop firm passing 30 - 3000 USD
I am looking for an experienced MQL4/MQL5 HFT developer to build or optimize a High-Frequency Trading (HFT) Expert Advisor that can successfully pass proprietary trading firm challenges and perform consistently under live trading conditions with brokers such as 8cap or BlackBull Markets . The developer should have proven experience with HFT execution, ultra-low-latency trading, broker execution, slippage, spreads
I need a professional MT5 Expert Advisor (MQL5) for XAU/USD (Gold) only. Requirements: - Symbol: XAU/USD only - Timeframe: H1 trend, M5 entry - Smart Money Concept (SMC) - Liquidity Sweep - Break of Structure (BOS) - Order Block Retest - Confirmation Candle (Engulfing or Pin Bar) - ATR-based Stop Loss - Risk:Reward = 1:3 (adjustable) - Auto Lot (1% risk) - Break Even - Trailing Stop - Maximum 2 trades per day - One
I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 designed primarily for US30 (Dow Jones Index) . The EA performs consistently and profitably on demo accounts, but when I run it on an IC Markets Raw or Standard live account, it starts generating losses under what appear to be the same trading conditions. At this time, I cannot provide the source code (.mq4/.mq5). I can only provide the
I need an Expert Advisor for MT5 on XAUUSD 1min timeframe using SMC concepts. STRATEGY RULES: SELL: 1. Identify previous day High/Low as liquidity 2. Entry only during London-NY session: 15:00-19:00 GMT+3 3. If price sweeps previous day High and closes back below it 4. Check for bearish 1min FVG below sweep candle 5. Wait for BOS - lower low 6. Entry: Sell at 50% of the FVG 7. SL: 10 pips above sweep wick 8. TP: 2R
Hello looking for someone to convert an indicator from tradingview to Thinkorswim I have attached the codes from trading view Also, I like make it trigger (alert) a one-time alert when the trend changes, and can also create a custom watchlist column that flags symbols currently in a new trend so you can scan multiple stocks easily. And like the watchlist to show only fresh trend changes or the current trend direction
I want to build a fundamental news trading bot that trade off economic news data, as we know every economic news data released always have effect on the asset associated with it, so this bot will take a trade instantly based on the news data released either to buy or sell, it will come with good money management and also SL and TP target based on price and pips value

Información sobre el proyecto

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