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%
Просрочено
338
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
Оценка
(247)
Проекты
253
30%
Арбитраж
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
Оценка
(588)
Проекты
1061
50%
Арбитраж
39
28% / 41%
Просрочено
49
5%
Свободен
Опубликовал: 1 статью, 8 примеров
Похожие заказы
Richard 30+ USD
The best way forward to the future that is all over between the market in all orders for us and our team to make good projects with you on the general level
I am looking for a developer to create a trading robot (EA) to trade XAUUSD, NAS100 and SPX500. The rules are as follows: Buy when the 2 EMA crosses over the 10 EMA and price closes over the 50 ema. Sell when the 2 EMAs cross below the 10 EMAs and the price closes below the 50 EMAs. The take profit and stop loss can be adjusted by me selecting from a drop-down box. I am open to other parameters to optimize
Description I need an very low latency MT5 Expert Advisor (EA) developed in MQL5 to automate TradingView alerts into MT5 trades for alerts set up done on trading view. The EA must work on both DEMO and LIVE accounts whichever will be attached to MT5 (XM, IC Markets and similar MT5 brokers) and be suitable for fast 1-minute timeframe scalping.End to End solution. Functional Requirements 1. TradingView Integration
Project Overview I am looking for an experienced MQL5 developer to build a custom, prop-firm-compliant trend-following Expert Advisor (EA) for MetaTrader 5 . This EA will be used on prop firm accounts (e.g., FTMO-style rules), so strict risk control and rule compliance are mandatory . This is NOT a grid, martingale, scalping, or recovery EA. The goal is consistency, rule compliance, and capital preservation , not
I would like to buy ea that is proven to be good need to have stable profit and can be very unstable DD but not more than 40 %you can send eas in dm for sale. I am looking of an Expert Advisor (EA) that has undergone independent validation and demonstrates a capability to successfully navigate prop firm challenges, as well as efficiently manage funded accounts. It is imperative that you provide a comprehensive
I am looking of an Expert Advisor (EA) that has undergone independent validation and demonstrates a capability to successfully navigate prop firm challenges, as well as efficiently manage funded accounts. It is imperative that you provide a comprehensive explanation of the strategy utilized by your EA, along with a demo version that has a 30-day expiration. This will facilitate extensive back testing and forward
I am seeking a highly skilled developer to build a fully functional automated Expert Advisor for MetaTrader 5 (MQL5)- XAUUSD fast in and out EA scalper that opens multiple trades following trend, uses dynamic lot sizing, and has to be – 24/5 unlimited. require the development of a high-speed, continuous fully automated trading Expert Advisor (EA) for MetaTrader 5, optimized for live trading on ICmarkets. The EA must
Hellow,l hope you are well,l am writing to place an order for a professional trading robot.l am looking for a reliable,well optimized robot that can trade efficiently,manage risk properly and deliver consistent performance in the market,I am particularly interested in a trading robot that uses a proven and transparent strategy,has strong risk management features,works well on common trading platforms,is suitable for
I am looking for an experienced MQL5 developer to build a professional MT5 software (indicator or semi-automated EA) for metals and major forex pairs. 📌 PLATFORM & MARKETS Platform: MetaTrader 5 Instruments: XAUUSD (Gold vs USD) XAGUSD (Silver vs USD) EURUSD GBPUSD USDJPY Trading styles: Scalping Intraday / short-term swing 🎯 MAIN OBJECTIVE I do NOT want an aggressive fully automated robot. I want a
I am seeking an experienced freelance marketing and algorithmic trading specialist to develop a user-friendly automated trading bot for the Pocket Option platform. The system should feature a simple and secure interface that allows direct login using my existing credentials. The bot will be designed to operate exclusively on multiple OTC currency pairs (a minimum of 10, such as EUR/USD OTC, GBP/JPY OTC, and similar

Информация о проекте

Бюджет
30+ USD
Сроки выполнения
от 1 до 3 дн.