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

工作已完成

执行时间2 分钟
客户反馈
Lakshan is very helpful and patient programmer, I would recommend.

指定

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.


反馈

1
开发者 1
等级
(188)
项目
212
58%
仲裁
9
11% / 89%
逾期
8
4%
空闲
2
开发者 2
等级
(772)
项目
1039
44%
仲裁
50
8% / 50%
逾期
116
11%
空闲
3
开发者 3
等级
(53)
项目
74
26%
仲裁
30
10% / 63%
逾期
22
30%
空闲
4
开发者 4
等级
(647)
项目
1295
67%
仲裁
84
26% / 49%
逾期
337
26%
空闲
5
开发者 5
等级
(50)
项目
80
39%
仲裁
4
50% / 25%
逾期
0
空闲
6
开发者 6
等级
(117)
项目
138
41%
仲裁
30
7% / 77%
逾期
17
12%
空闲
7
开发者 7
等级
(1156)
项目
1462
63%
仲裁
21
57% / 10%
逾期
43
3%
空闲
8
开发者 8
等级
(574)
项目
945
47%
仲裁
309
58% / 27%
逾期
125
13%
空闲
9
开发者 9
等级
(258)
项目
269
29%
仲裁
2
50% / 0%
逾期
3
1%
工作中
发布者: 2 代码
10
开发者 10
等级
(130)
项目
184
32%
仲裁
18
28% / 67%
逾期
27
15%
空闲
发布者: 1 代码
11
开发者 11
等级
(22)
项目
114
98%
仲裁
4
0% / 75%
逾期
35
31%
空闲
12
开发者 12
等级
(213)
项目
246
45%
仲裁
42
10% / 57%
逾期
5
2%
空闲
13
开发者 13
等级
(17)
项目
24
33%
仲裁
5
20% / 40%
逾期
8
33%
空闲
14
开发者 14
等级
(4)
项目
4
75%
仲裁
1
0% / 0%
逾期
0
空闲
发布者: 90 代码
15
开发者 15
等级
(69)
项目
146
34%
仲裁
13
8% / 62%
逾期
26
18%
空闲
发布者: 6 代码
16
开发者 16
等级
(589)
项目
1070
50%
仲裁
39
28% / 41%
逾期
49
5%
工作中
发布者: 1 文章, 8 代码
相似订单
CyberShadow AI 30 - 300 USD
I want a bot that’s trades using smc strategy having stop loss and take profit.I want it to be able to trade with small account I want a disciplined robot but a strong one to I also what it to trade using trend line and locate point of interest
I need an EA for MetaTrader 5 called AI Forex Robot V100. It must trade automatically on EURUSD and GBPUSD, M15 timeframe. Strategy: - Buy when fast EMA crosses above slow EMA and RSI is above 50 - Sell when fast EMA crosses below slow EMA and RSI is below 50 - Only 1 trade at a time - Stop Loss: 50 pips, Take Profit: 100 pips - Lot size: 0.01, with option to change in settings - Must have trailing stop and news
PROJECT: EXISTING MT5 EA MODIFICATION – XAUUSD SLIPPAGE REDUCTION 1. Project Objective I already have a fully developed MT5 Expert Advisor (.mq5 source code). I am looking for an experienced MQL5 developer who can optimize my existing EA to achieve the lowest possible execution slippage on a REAL LIVE trading account. My primary and only objective is to zero slippage. I am not looking for a new trading strategy or
Elektra Trading Robot 100 - 200 USD
Elektra Trading Robot is an automated Forex trading system designed to analyze market conditions execute trades according to predefined trading strategies. It aims to identify potential trading opportunities, manage trading positions, and apply risk management rules to help protect trading capital. The robot is designed for real-account trading and focuses on consistency, disciplined execution, and efficient trade
the final ea must faithfully implement the logic from the provided phython file run cleanly on mt5 and deliver solid backtest result.its shoild be very easy to set up use with clear input parameter proper risk management and no complicated installation steps
Forex Hunter MT5 30 - 250 USD
ثبت طلبك في مواصفات البوت الثاني كذا: الجودة والأمان أهم من السعر، وما يدخل إلا إذا الفرصة قوية، مع حماية عند الخسائر وانقطاع الاتصال وارتفاع السبريد، وتشغيل مستمر على سيرفر، مع اختبارات إلزامية قبل أي تشغيل حقيقي. بهذه الصيغة يصير يشتغل وأنت مرتاح بالِك، لكنه يوقف تلقائيًا وقت عطلة السوق أو أي خلل. بس أكون واضح معك: ما في بوت يضمن عدم الخسارة، خصوصًا بالمضاربات السريعة، هدفنا نقلل المخاطر ونمنع الخسائر غير المنضبطة
I'm looking for an experienced MQL5 developer to create a Opening Range Breakout EA. The EA should identify the high and low of a configurable trading session and open trades when price breaks out of this range. It should include configurable Stop Loss, Take Profit, fixed lot size, break-even option and trading hours. Full mq5 required
Matosfx 30 USD
Am called martin sselubiri I need a robot for trading forex and stock and I want know how this robot works and how much it costs for me to use it
AI Forex Trading Bot for MT4 and MT5 I need an advanced Forex trading robot (Expert Advisor) that works on both MetaTrader 4 and MetaTrader 5. The robot should automatically analyse the Forex market, identify BUY and SELL opportunities, and execute trades when the trading conditions are met. It should support GBPUSD, EURUSD, USDJPY and GBPJPY. The robot should use EMA, RSI, MACD, price action and trend analysis
Aziz Toure 50 - 400 USD
I am an independent trader and entrepreneur based in Côte d’Ivoire. I work in financial markets, analyze trading opportunities, and provide digital financial services. I am also interested in international trade, online business, and developing long-term business activities

项目信息

预算
30+ USD
截止日期
从 1 到 3 天