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

Lavoro terminato

Tempo di esecuzione 13 minuti
Feedback del cliente
Thank you for the quick work.
Feedback del dipendente
Thank you for the project. It was a pleasure working with you.

Specifiche

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


File:

MQ5
lwma.mq5
9.1 Kb

Con risposta

1
Sviluppatore 1
Valutazioni
(19)
Progetti
23
9%
Arbitraggio
6
33% / 50%
In ritardo
1
4%
Caricato
2
Sviluppatore 2
Valutazioni
(1296)
Progetti
1723
49%
Arbitraggio
52
71% / 12%
In ritardo
38
2%
In elaborazione
3
Sviluppatore 3
Valutazioni
(8)
Progetti
8
38%
Arbitraggio
0
In ritardo
0
In elaborazione
4
Sviluppatore 4
Valutazioni
(630)
Progetti
994
47%
Arbitraggio
33
36% / 36%
In ritardo
98
10%
Gratuito
Pubblicati: 6 codici
5
Sviluppatore 5
Valutazioni
(162)
Progetti
288
35%
Arbitraggio
18
22% / 61%
In ritardo
42
15%
In elaborazione
6
Sviluppatore 6
Valutazioni
(146)
Progetti
155
42%
Arbitraggio
3
33% / 33%
In ritardo
1
1%
Caricato
7
Sviluppatore 7
Valutazioni
(39)
Progetti
57
18%
Arbitraggio
6
33% / 17%
In ritardo
1
2%
Gratuito
Pubblicati: 2 codici
8
Sviluppatore 8
Valutazioni
(273)
Progetti
402
27%
Arbitraggio
40
40% / 50%
In ritardo
1
0%
Gratuito
9
Sviluppatore 9
Valutazioni
(448)
Progetti
709
34%
Arbitraggio
34
71% / 9%
In ritardo
22
3%
Gratuito
10
Sviluppatore 10
Valutazioni
(308)
Progetti
313
70%
Arbitraggio
2
100% / 0%
In ritardo
0
Gratuito
Pubblicati: 1 codice
11
Sviluppatore 11
Valutazioni
(190)
Progetti
246
20%
Arbitraggio
22
50% / 18%
In ritardo
0
In elaborazione
12
Sviluppatore 12
Valutazioni
(35)
Progetti
53
74%
Arbitraggio
4
50% / 0%
In ritardo
0
Gratuito
13
Sviluppatore 13
Valutazioni
(312)
Progetti
559
35%
Arbitraggio
79
32% / 43%
In ritardo
203
36%
In elaborazione
14
Sviluppatore 14
Valutazioni
(574)
Progetti
945
47%
Arbitraggio
309
58% / 27%
In ritardo
125
13%
Gratuito
15
Sviluppatore 15
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
16
Sviluppatore 16
Valutazioni
(6)
Progetti
6
0%
Arbitraggio
0
In ritardo
2
33%
Gratuito
17
Sviluppatore 17
Valutazioni
(77)
Progetti
243
74%
Arbitraggio
7
100% / 0%
In ritardo
1
0%
Gratuito
Pubblicati: 1 articolo
18
Sviluppatore 18
Valutazioni
(567)
Progetti
656
32%
Arbitraggio
41
41% / 46%
In ritardo
11
2%
Occupato
19
Sviluppatore 19
Valutazioni
(4)
Progetti
8
0%
Arbitraggio
3
33% / 67%
In ritardo
4
50%
Gratuito
20
Sviluppatore 20
Valutazioni
(452)
Progetti
565
26%
Arbitraggio
24
42% / 38%
In ritardo
85
15%
In elaborazione
Pubblicati: 6 codici
21
Sviluppatore 21
Valutazioni
(2656)
Progetti
3374
68%
Arbitraggio
77
48% / 14%
In ritardo
342
10%
In elaborazione
Pubblicati: 1 codice
22
Sviluppatore 22
Valutazioni
(442)
Progetti
570
37%
Arbitraggio
106
39% / 33%
In ritardo
17
3%
Gratuito
23
Sviluppatore 23
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
24
Sviluppatore 24
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
25
Sviluppatore 25
Valutazioni
(6)
Progetti
5
0%
Arbitraggio
3
33% / 67%
In ritardo
2
40%
Gratuito
26
Sviluppatore 26
Valutazioni
(10)
Progetti
14
43%
Arbitraggio
0
In ritardo
3
21%
Gratuito
Ordini simili
5.20buy-20.5sell 50 - 1000 USD
⸻ 🧠 Professional AI Prompt (Clear English Version) Act as a professional algorithmic trading engineer with deep expertise in developing automated trading systems for TradingView and MetaTrader. You have strong knowledge of market behavior, trend analysis, and risk management. Your task is to design a fully automated trading strategy based on the following requirements: ⸻ 🎯 Entry Conditions: • Open a BUY trade
I need a skilled MQL5 developer to build a fully functional Expert Advisor (EA) for MetaTrader 5 based on a simple but strict trading strategy. The EA will use EMA 50/200 trend detection combined with breakout and retest logic for entries. It must operate only during London and New York sessions and include solid risk management (fixed % risk, SL/TP, trade limits, and basic protection rules). APPLY ONLY IF YOU HAVE
VWAP BB Sniper EA Quantum VWAP Scalper SmartFlow FX Bot Institutional Edge EA 🧠 PRODUCT OVERVIEW VWAP + Bollinger Bands Auto Trading System A high-precision forex scalping bot designed to capture institutional price movements using: VWAP (fair value tracking) Bollinger Bands (volatility & entry timing) 👉 Built for fast, consistent intraday profits
Hello traders, I have Quantum queen v3.52, which is the latest version, available for $500 only. The price on the platform is around $1800, but I am offering it for a much lower price for serious buyers. Details: Product: Quantum queen Version: v3.52 Price: $500 Condition: Serious buyers only
EA for prop firms 30 - 500 USD
Hi, I am looking to purchase a MT5 EA that can show consistent profitability 5% each month with drawdown less than 9%. I am not ready to build a new one from scratch as i do not have the strategy in mind yet so i do not want to take the risk of building one but not sure if it works. Only apply if you have an existing proven and tested EA that can sell to me together with the source code. The Ea is for prop firm even
Early Killer EA 30+ USD
It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea
I WANT TO CONVERT MY INDICATOR TO ROBOT, BUT I DONT HAVE THE SOURCE CODE , THE PROGRAMMER WILL DEVELOP THE SOURCE CODE FOR THE JOB. THE STRAGY IS SIMPLE , THE ROBOT WILL EXECUTE A TRADE WHEN THE SIGNAL FROM THE INDICATOR APPEARS. BUY SIGNAL IS WHEN THE ARROW APPEAS ON THE LOWER ZONE ( SUPPORT ZONE) SELL SIGNAL WHEN THE ARROW APPEARS ON THE UPPER ZONE ( RESISTANCE ZONE).THE ROBOT WILL HAVE THE FOLLWING FEATURES (1)
CONVERT MQL4 ROBOT TO MQL5 Solana I have robot SOLANA i want to change my robot for MQL4 ROBOT TO MQL5 AND also change the name of the robot..i need it with the source code
requirements 1. A expert which can make a bridge between trading view and MT4 /MT5 My strategy which i work upon in trading view, that autobot system should buy, sell and take profit in MT4/MT5
I want a prop-firm compatible MT5 trading robot, not a fast or aggressive one, for passing Prop firm challenges of any account sizes and also capable of earning profit on funded account after passing the challenge. Objectives: – Pass a prop firm challenge safely within 2–4 weeks, not 1 week. – Focus on capital protection first, profit second. Risk & Money Management: – Risk per trade: 0.25%–0.5% max – No martingale

Informazioni sul progetto

Budget
30 - 60 USD