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

Tâche terminée

Temps d'exécution 13 minutes
Commentaires du client
Thank you for the quick work.
Commentaires de l'employé
Thank you for the project. It was a pleasure working with you.

Spécifications

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


Dossiers :

MQ5
lwma.mq5
9.1 Kb

Répondu

1
Développeur 1
Évaluation
(18)
Projets
22
9%
Arbitrage
6
33% / 50%
En retard
1
5%
Travail
2
Développeur 2
Évaluation
(1278)
Projets
1699
49%
Arbitrage
52
71% / 12%
En retard
38
2%
Travail
3
Développeur 3
Évaluation
(8)
Projets
8
38%
Arbitrage
0
En retard
0
Travail
4
Développeur 4
Évaluation
(626)
Projets
984
47%
Arbitrage
33
36% / 33%
En retard
97
10%
Travail
Publié : 6 codes
5
Développeur 5
Évaluation
(160)
Projets
285
35%
Arbitrage
18
22% / 61%
En retard
42
15%
Chargé
6
Développeur 6
Évaluation
(139)
Projets
148
41%
Arbitrage
3
33% / 33%
En retard
1
1%
Travail
7
Développeur 7
Évaluation
(39)
Projets
57
18%
Arbitrage
6
33% / 17%
En retard
1
2%
Gratuit
Publié : 2 codes
8
Développeur 8
Évaluation
(272)
Projets
401
27%
Arbitrage
39
41% / 49%
En retard
1
0%
Gratuit
9
Développeur 9
Évaluation
(442)
Projets
697
34%
Arbitrage
34
68% / 9%
En retard
22
3%
Travail
10
Développeur 10
Évaluation
(304)
Projets
310
69%
Arbitrage
2
100% / 0%
En retard
0
Gratuit
Publié : 1 code
11
Développeur 11
Évaluation
(181)
Projets
234
20%
Arbitrage
21
43% / 19%
En retard
0
Travail
12
Développeur 12
Évaluation
(34)
Projets
52
73%
Arbitrage
4
50% / 0%
En retard
0
Gratuit
13
Développeur 13
Évaluation
(308)
Projets
553
35%
Arbitrage
79
32% / 42%
En retard
200
36%
Chargé
14
Développeur 14
Évaluation
(574)
Projets
945
47%
Arbitrage
309
58% / 27%
En retard
125
13%
Gratuit
15
Développeur 15
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
16
Développeur 16
Évaluation
(6)
Projets
6
0%
Arbitrage
0
En retard
2
33%
Gratuit
17
Développeur 17
Évaluation
(77)
Projets
243
74%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
Publié : 1 article
18
Développeur 18
Évaluation
(549)
Projets
635
33%
Arbitrage
41
39% / 46%
En retard
11
2%
Chargé
19
Développeur 19
Évaluation
(4)
Projets
7
0%
Arbitrage
3
33% / 67%
En retard
3
43%
Travail
20
Développeur 20
Évaluation
(452)
Projets
565
26%
Arbitrage
24
42% / 38%
En retard
85
15%
Gratuit
Publié : 6 codes
21
Développeur 21
Évaluation
(2641)
Projets
3356
67%
Arbitrage
77
48% / 14%
En retard
342
10%
Travail
Publié : 1 code
22
Développeur 22
Évaluation
(442)
Projets
570
37%
Arbitrage
106
39% / 33%
En retard
17
3%
Gratuit
23
Développeur 23
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
24
Développeur 24
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
25
Développeur 25
Évaluation
(6)
Projets
5
0%
Arbitrage
2
50% / 50%
En retard
2
40%
Gratuit
26
Développeur 26
Évaluation
(10)
Projets
14
43%
Arbitrage
0
En retard
3
21%
Gratuit
Commandes similaires
Hello, I'm looking to find out the cost of creating a mobile trading robot. I've tried to describe it as thoroughly as possible in the following document. I look forward to your response. I'd like to know the costs, delivery time, and how you plan to implement it before making a decision
I have an existing MT5 Expert Advisor (“E-Core”). I need an experienced MQL5 developer to integrate a structured risk management upgrade and a higher timeframe trend filter into the current code. Two files will be provided: 1️⃣ E-Core Source Code (Current Version) 2️⃣ Update Instructions File (contains exact inputs, functions, and logic to integrate) The developer must: Integrate the update logic
DO NOT RESPOND TO WORK WITH ANY AI. ( I CAN ALSO DO THAT ) NEED REAL DEVELOPING SKILL Hedge Add-On Rules for Existing EA Core Idea SL becomes hypothetical (virtual) for the initial basket and for the hedge basket . When price hits the virtual SL level , EA does not close the losing trades. Instead, EA opens one hedge basket in the opposite direction. Original basket direction Hedge basket direction (opposite) Inputs
Billionflow 30 - 100 USD
Trading specifications: Indicators: Bollinger band ( Period 40, Deviation 1 apply to close) Moving Average (Exponential ) Period 17 applied to high Moving Average ( Exponential ) Period 17 applied to low But Signal enter a buy trade when prices crosses the lower band of the bollinger band up and also crosses the moving average channel of high and low the reverse is true for sell signal
Hello, I am a user of the "BUY STOP SELL STOP V6" trading bot, which is an advanced Grid System bot. The bot is primarily designed for Gold (XAUUSD), but I want it to work on all currency pairs. "The bot contains a privacy/protection code that prevents it from running on other accounts or being modified on any platform, as it has a client account number lock mechanism" --- Bot Description & Current Settings Bot Type
I am looking for a highly experienced Pine Script v5 developer to build a professional, non repaint price action indicator for TradingView. or a ready made one so i can purchase. This is a structured two phase project. The goal is to create a clean, intelligent price action tool that works for both fast intraday trading and swing trading. Only apply if you have strong Pine experience and understand liquidity
Hello, I’m looking for an experienced MQL4/MQL5 developer to work with me on an ongoing basis. My clients request services such as: Converting TradingView Pine Script indicators/strategies into MT4 or MT5 Expert Advisors Converting MT4 EAs to MT5 (and MT5 to MT4) Compiling and fixing existing MQL4 / MQL5 EA code Adding simple features like alerts, SL/TP, lot size, and basic money management This job is for
I am looking someone to create an EA based on my MACD Histo indicator / strategy from Pinescript. I will send it to you for you to replicate. The EA shall have: - Divergence length in bars, min and max values. - Pivot Logic - Entry on close of divergence confirmation bar. - Dynamic lot size dependent on SL/TP, in monetary value. - SL / TP in percent away from entry, separate values for long and short. - Time, day and
Hello, I have a breakout EA with reversal logic. I own the full source code for both MT4 and MT5 versions. I need the modifications implemented for both MT4 and MT5 versions. I need several modifications: – Multiple reversals with configurable parameters – Breakeven functionality – Entry only after candle close beyond range + offset – Time-based activation – Alternative offset calculation logic – Automatic close at
simple automated trading system with adaptive risk management and trend-based execution. The EA manages trades with dynamic position handling and built-in stability filters. Designed for single-position trading and disciplined execution 30 usd budget

Informations sur le projet

Budget
30 - 60 USD