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

Trabalho concluído

Tempo de execução 2 minutos
Comentário do cliente
Lakshan is very helpful and patient programmer, I would recommend.

Termos de Referência

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.


Respondido

1
Desenvolvedor 1
Classificação
(188)
Projetos
212
58%
Arbitragem
9
11% / 89%
Expirado
8
4%
Livre
2
Desenvolvedor 2
Classificação
(772)
Projetos
1039
44%
Arbitragem
50
8% / 50%
Expirado
116
11%
Livre
3
Desenvolvedor 3
Classificação
(53)
Projetos
74
26%
Arbitragem
30
10% / 63%
Expirado
22
30%
Livre
4
Desenvolvedor 4
Classificação
(647)
Projetos
1295
67%
Arbitragem
84
26% / 49%
Expirado
338
26%
Livre
5
Desenvolvedor 5
Classificação
(50)
Projetos
80
39%
Arbitragem
4
50% / 25%
Expirado
0
Livre
6
Desenvolvedor 6
Classificação
(117)
Projetos
138
41%
Arbitragem
30
7% / 77%
Expirado
17
12%
Livre
7
Desenvolvedor 7
Classificação
(1156)
Projetos
1462
63%
Arbitragem
21
57% / 10%
Expirado
43
3%
Livre
8
Desenvolvedor 8
Classificação
(574)
Projetos
945
47%
Arbitragem
309
58% / 27%
Expirado
125
13%
Livre
9
Desenvolvedor 9
Classificação
(258)
Projetos
265
29%
Arbitragem
0
Expirado
3
1%
Livre
Publicou: 2 códigos
10
Desenvolvedor 10
Classificação
(130)
Projetos
184
32%
Arbitragem
18
28% / 67%
Expirado
27
15%
Livre
Publicou: 1 código
11
Desenvolvedor 11
Classificação
(22)
Projetos
114
98%
Arbitragem
4
0% / 75%
Expirado
35
31%
Livre
12
Desenvolvedor 12
Classificação
(213)
Projetos
246
45%
Arbitragem
42
10% / 57%
Expirado
5
2%
Livre
13
Desenvolvedor 13
Classificação
(17)
Projetos
24
33%
Arbitragem
5
20% / 40%
Expirado
8
33%
Livre
14
Desenvolvedor 14
Classificação
(4)
Projetos
4
75%
Arbitragem
1
0% / 0%
Expirado
0
Livre
Publicou: 90 códigos
15
Desenvolvedor 15
Classificação
(69)
Projetos
146
34%
Arbitragem
13
8% / 62%
Expirado
26
18%
Livre
Publicou: 6 códigos
16
Desenvolvedor 16
Classificação
(589)
Projetos
1068
50%
Arbitragem
39
28% / 41%
Expirado
49
5%
Trabalhando
Publicou: 1 artigo, 8 códigos
Pedidos semelhantes
Gold robot 3000+ USD
I really liked this training platform. I want to start a good business with this funding amount."I like crypto trading. Does it provide a demo account that is good for learning?"
Gold robot 3000+ USD
Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks
I am looking for an experienced MT4/MT5 developer to analyze my trading history and replicate the strategy in a new Expert Advisor (EA). The developer must have proven experience in reverse engineering strategies, analyzing trading data, and developing EAs across various trading methodologies. A deep understanding of XAUUDS and BTCUSD behavior, as well as chart analysis, is essential. Please note that we do not have
Title: MT5 Forex Trading Robot Development I need a MetaTrader 5 (MT5) Expert Advisor (EA) for automated Forex trading. Requirements: 1. The robot must be fully automated and capable of opening and closing trades without manual intervention. 2. Compatible with MetaTrader 5 (MT5). 3. Adjustable lot size, Stop Loss, and Take Profit settings. 4. Built-in risk management based on account balance. 5. Ability to trade
Risk management EA 30 - 200 USD
Looking to develop risk management EA for personal use probably commercially in the future. I want the EA to have a display panel with 0.1, 0.2, 0.5,1,2,3 percent risk management button. I also want BE, partial closure of 0.25,0.5,0.75 and full closure panel on both profit and loss. I’ll also like to include trailing stop, 2 trades max per day and BE+spread option. I’ll be attaching the image for a guidance on what
Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram
Ea.Mix 30+ USD
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
A bot takes trades every few seconds until hit the profit with the same lots , i am attaching a picture as well. If anyone can do that please contact me i will give the account details
MT5 Expert Advisor Development Project Overview I am looking for an experienced MQL5 developer to build a custom MetaTrader 5 Expert Advisor based on a grid-cycle trading framework. This is not a standard grid EA . The system combines: Session-based trade initiation Multi-filter signal generation Dynamic grid management Advanced basket management State-machine-driven trade lifecycle management Dynamic take-profit

Informações sobre o projeto

Orçamento
30+ USD
Prazo
de 1 para 3 dias