Lwma close: if color[1] != color[2]

Trabalho concluído

Tempo de execução 13 minutos
Comentário do cliente
Thank you for the quick work.
Comentário do desenvolvedor
Thank you for the project. It was a pleasure working with you.

Termos de Referência

Hello, I'm looking for a programmer who knows the lwma indicator thoroughly. (mql5)

1, I have an mql5 EA that I start manually from the panel. I want the EA to only monitor the color change of the lwma indicator when the position is started. Only the lwma indicator color created from the data of closed candles is interesting. The color created from the unclosed - currently running - data is not interesting. So, if the lwma colors created during the last two closed candles do not match, the position should be closed.
color[1] != color[2] -- positionclose

2, I would like the EA to only take 1 position on a chart.

3, The magic number should be set so that it only closes a position on the chart where it was started.

Unfortunately, I can't extract the color data from the lwma indicator in the event of a color change.


I am attaching the lwma indicator and the EA.

The (close)program in the OnTick unit is not working.

Thanks


Arquivos anexados:

MQ5
lwma.mq5
9.1 Kb

Respondido

1
Desenvolvedor 1
Classificação
(19)
Projetos
24
8%
Arbitragem
9
33% / 33%
Expirado
1
4%
Carregado
2
Desenvolvedor 2
Classificação
(1304)
Projetos
1732
49%
Arbitragem
53
70% / 13%
Expirado
38
2%
Livre
3
Desenvolvedor 3
Classificação
(8)
Projetos
8
38%
Arbitragem
0
Expirado
0
Trabalhando
4
Desenvolvedor 4
Classificação
(633)
Projetos
1001
47%
Arbitragem
33
36% / 36%
Expirado
98
10%
Trabalhando
Publicou: 6 códigos
5
Desenvolvedor 5
Classificação
(162)
Projetos
289
35%
Arbitragem
18
22% / 61%
Expirado
43
15%
Livre
6
Desenvolvedor 6
Classificação
(162)
Projetos
171
43%
Arbitragem
3
33% / 33%
Expirado
1
1%
Trabalhando
7
Desenvolvedor 7
Classificação
(39)
Projetos
57
18%
Arbitragem
6
33% / 17%
Expirado
1
2%
Livre
Publicou: 2 códigos
8
Desenvolvedor 8
Classificação
(274)
Projetos
403
28%
Arbitragem
40
40% / 50%
Expirado
1
0%
Livre
9
Desenvolvedor 9
Classificação
(454)
Projetos
717
34%
Arbitragem
34
71% / 9%
Expirado
22
3%
Trabalhando
10
Desenvolvedor 10
Classificação
(313)
Projetos
318
70%
Arbitragem
2
100% / 0%
Expirado
0
Livre
Publicou: 1 código
11
Desenvolvedor 11
Classificação
(199)
Projetos
255
21%
Arbitragem
23
48% / 17%
Expirado
0
Carregado
12
Desenvolvedor 12
Classificação
(35)
Projetos
53
74%
Arbitragem
4
50% / 0%
Expirado
0
Livre
13
Desenvolvedor 13
Classificação
(314)
Projetos
561
35%
Arbitragem
81
31% / 44%
Expirado
204
36%
Trabalhando
14
Desenvolvedor 14
Classificação
(574)
Projetos
945
47%
Arbitragem
309
58% / 27%
Expirado
125
13%
Livre
15
Desenvolvedor 15
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
16
Desenvolvedor 16
Classificação
(7)
Projetos
7
0%
Arbitragem
0
Expirado
2
29%
Livre
17
Desenvolvedor 17
Classificação
(77)
Projetos
244
74%
Arbitragem
7
100% / 0%
Expirado
1
0%
Livre
Publicou: 1 artigo
18
Desenvolvedor 18
Classificação
(581)
Projetos
673
32%
Arbitragem
42
45% / 45%
Expirado
12
2%
Ocupado
19
Desenvolvedor 19
Classificação
(4)
Projetos
8
0%
Arbitragem
3
33% / 67%
Expirado
4
50%
Livre
20
Desenvolvedor 20
Classificação
(452)
Projetos
565
26%
Arbitragem
24
42% / 38%
Expirado
85
15%
Trabalhando
Publicou: 6 códigos
21
Desenvolvedor 21
Classificação
(2667)
Projetos
3398
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
22
Desenvolvedor 22
Classificação
(442)
Projetos
570
37%
Arbitragem
106
39% / 33%
Expirado
17
3%
Livre
23
Desenvolvedor 23
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
24
Desenvolvedor 24
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
25
Desenvolvedor 25
Classificação
(6)
Projetos
5
0%
Arbitragem
4
25% / 75%
Expirado
2
40%
Livre
26
Desenvolvedor 26
Classificação
(10)
Projetos
14
43%
Arbitragem
0
Expirado
3
21%
Livre
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 - 60 USD