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

Lavoro terminato

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

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
(22)
Progetti
28
7%
Arbitraggio
9
33% / 33%
In ritardo
1
4%
In elaborazione
2
Sviluppatore 2
Valutazioni
(1305)
Progetti
1735
49%
Arbitraggio
55
67% / 16%
In ritardo
38
2%
Gratuito
3
Sviluppatore 3
Valutazioni
(8)
Progetti
9
33%
Arbitraggio
1
100% / 0%
In ritardo
0
Gratuito
4
Sviluppatore 4
Valutazioni
(636)
Progetti
1008
47%
Arbitraggio
33
36% / 36%
In ritardo
99
10%
In elaborazione
Pubblicati: 6 codici
5
Sviluppatore 5
Valutazioni
(162)
Progetti
289
35%
Arbitraggio
18
22% / 61%
In ritardo
43
15%
Gratuito
6
Sviluppatore 6
Valutazioni
(185)
Progetti
199
47%
Arbitraggio
4
50% / 25%
In ritardo
1
1%
In elaborazione
7
Sviluppatore 7
Valutazioni
(39)
Progetti
59
20%
Arbitraggio
6
33% / 17%
In ritardo
1
2%
Gratuito
Pubblicati: 2 codici
8
Sviluppatore 8
Valutazioni
(274)
Progetti
403
28%
Arbitraggio
40
40% / 50%
In ritardo
1
0%
Gratuito
9
Sviluppatore 9
Valutazioni
(457)
Progetti
725
34%
Arbitraggio
35
71% / 9%
In ritardo
23
3%
Gratuito
10
Sviluppatore 10
Valutazioni
(328)
Progetti
333
71%
Arbitraggio
2
100% / 0%
In ritardo
0
Gratuito
Pubblicati: 1 codice
11
Sviluppatore 11
Valutazioni
(215)
Progetti
280
21%
Arbitraggio
26
58% / 15%
In ritardo
0
Caricato
12
Sviluppatore 12
Valutazioni
(35)
Progetti
53
74%
Arbitraggio
4
50% / 0%
In ritardo
0
Gratuito
13
Sviluppatore 13
Valutazioni
(319)
Progetti
574
35%
Arbitraggio
83
31% / 45%
In ritardo
207
36%
Gratuito
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
(7)
Progetti
7
0%
Arbitraggio
0
In ritardo
2
29%
Gratuito
17
Sviluppatore 17
Valutazioni
(78)
Progetti
247
74%
Arbitraggio
7
100% / 0%
In ritardo
1
0%
Gratuito
Pubblicati: 2 articoli, 1 codice
18
Sviluppatore 18
Valutazioni
(634)
Progetti
741
34%
Arbitraggio
49
53% / 39%
In ritardo
14
2%
In elaborazione
19
Sviluppatore 19
Valutazioni
(4)
Progetti
8
0%
Arbitraggio
3
33% / 67%
In ritardo
4
50%
Gratuito
20
Sviluppatore 20
Valutazioni
(453)
Progetti
566
26%
Arbitraggio
24
42% / 38%
In ritardo
85
15%
Gratuito
Pubblicati: 6 codici
21
Sviluppatore 21
Valutazioni
(2678)
Progetti
3422
68%
Arbitraggio
78
47% / 14%
In ritardo
343
10%
In elaborazione
Pubblicati: 1 codice
22
Sviluppatore 22
Valutazioni
(443)
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
(7)
Progetti
6
0%
Arbitraggio
4
25% / 75%
In ritardo
2
33%
Gratuito
26
Sviluppatore 26
Valutazioni
(10)
Progetti
14
43%
Arbitraggio
0
In ritardo
3
21%
Gratuito
Ordini simili
PROJECT: Automatic Gold and Forex Trading Robot for MetaTrader 5 (MQL5) I want a fully automated Expert Advisor (EA) for MetaTrader 5 that can analyze the market and automatically open, manage and close trades on Gold and selected Forex currency pairs. TRADING INSTRUMENTS Gold: XAUUSD Forex: EURUSD, GBPUSD and USDJPY, subject to broker availability. Allow the user to enable or disable each trading symbol. Support
I need a robot that will grow small accounts to bigger amounts like this one in this link, https://youtu.be/d38pMbJihew?si=3NeIOVyrlwDr4X_o. Please click the link and watch how this EA grow small accounts. Then create a robot like that. I will test it on demo first then if it does what i want, i will take it. Please it must be simply to use. It must set targets, for example, once it reaches $500 profit, it must
Here is a professional, detailed requirements specification draft for your MQL5 freelance order based on your prompt: ​ Strategy Objective: Develop an automated Expert Advisor (EA) featuring a 1:3 Risk-to-Reward ratio optimized for a small starting budget. ​ Core Trading Logic: ​Execute automatic Buy and Sell trades using high-probability entry signals. ​Target a strict 90% theoretical win-rate structure through
i want to fix my gold martingale bot MT5. RSI 14 ENTRY 30 BUY 70 SELL Lot 0.02 0.04 0.07 TP 150 for all SL 90 30 30 once total daily profit is 200$ stop trading stop trading once 2 consecutives total losses stop trading if spread exceeded 30 and between hour 15 & 17 PM Move SL to breakeven point once the profit exceeded 50 from from breakeven thanks
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
The purpose of this order is ONLY to test and implement my H1 POI (Point of Interest) identification logic correctly. I am not requesting the complete EA at this stage. I will provide the exact rules for identifying the H1 POI after selecting the developer. The developer must convert those rules into clear, deterministic MQL5 logic. Requirements: Analyze H1 candles according to the rules I provide. Identify and mark
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements
Hello, I’m looking for an experienced developer to research, build, test, and install a fully automated MetaTrader 5 trading bot for gold, XAUUSD. My total development and installation budget is $300, including all agreed work and fees. My goal is to pass a $100,000 FTMO US Two-Step Standard evaluation and sustainably maintain the funded account. I need a day-trading strategy that can buy in bullish markets and sell
I have three indicators that operate independently. I want to combine them into one indicator with custom expert programming that automatically enters trades when a signal is generated by one of the indicators. I will pay for this service Thanks you
Existing EA: NEW_CORE_ORB_M5_v021 | MT5 | XAUUSD M5 Early-stage research prototype, not a new EA from scratch. Need an experienced MQL5 developer to audit, complete, repair, improve and test BOTH independent strategies equally: Opening Range Breakout (ORB) and Scalp. Keep code lightweight and preserve an untouched baseline. No unnecessary rewrite or complex filters. 1. ORB Strategy Verify opening-range construction

Informazioni sul progetto

Budget
30 - 60 USD