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
(16)
Progetti
19
11%
Arbitraggio
4
25% / 50%
In ritardo
1
5%
In elaborazione
2
Sviluppatore 2
Valutazioni
(1264)
Progetti
1684
49%
Arbitraggio
52
71% / 12%
In ritardo
37
2%
Gratuito
3
Sviluppatore 3
Valutazioni
(5)
Progetti
5
20%
Arbitraggio
0
In ritardo
0
In elaborazione
4
Sviluppatore 4
Valutazioni
(621)
Progetti
972
47%
Arbitraggio
32
38% / 34%
In ritardo
96
10%
Caricato
Pubblicati: 6 codici
5
Sviluppatore 5
Valutazioni
(159)
Progetti
284
35%
Arbitraggio
17
24% / 59%
In ritardo
42
15%
Caricato
6
Sviluppatore 6
Valutazioni
(98)
Progetti
106
28%
Arbitraggio
3
33% / 33%
In ritardo
2
2%
In elaborazione
7
Sviluppatore 7
Valutazioni
(39)
Progetti
57
18%
Arbitraggio
6
33% / 17%
In ritardo
1
2%
Gratuito
Pubblicati: 2 codici
8
Sviluppatore 8
Valutazioni
(268)
Progetti
396
27%
Arbitraggio
38
39% / 50%
In ritardo
1
0%
Gratuito
9
Sviluppatore 9
Valutazioni
(433)
Progetti
686
34%
Arbitraggio
32
72% / 9%
In ritardo
22
3%
Gratuito
10
Sviluppatore 10
Valutazioni
(300)
Progetti
306
69%
Arbitraggio
2
100% / 0%
In ritardo
0
Gratuito
Pubblicati: 1 codice
11
Sviluppatore 11
Valutazioni
(175)
Progetti
225
20%
Arbitraggio
19
42% / 16%
In ritardo
0
Caricato
12
Sviluppatore 12
Valutazioni
(32)
Progetti
47
74%
Arbitraggio
4
50% / 0%
In ritardo
0
In elaborazione
13
Sviluppatore 13
Valutazioni
(304)
Progetti
544
35%
Arbitraggio
77
31% / 42%
In ritardo
196
36%
Caricato
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
(5)
Progetti
5
0%
Arbitraggio
0
In ritardo
1
20%
In elaborazione
17
Sviluppatore 17
Valutazioni
(77)
Progetti
240
73%
Arbitraggio
7
100% / 0%
In ritardo
1
0%
Gratuito
18
Sviluppatore 18
Valutazioni
(539)
Progetti
618
33%
Arbitraggio
35
37% / 49%
In ritardo
10
2%
Occupato
19
Sviluppatore 19
Valutazioni
(4)
Progetti
7
0%
Arbitraggio
1
100% / 0%
In ritardo
3
43%
In elaborazione
20
Sviluppatore 20
Valutazioni
(451)
Progetti
563
26%
Arbitraggio
24
42% / 38%
In ritardo
85
15%
In elaborazione
Pubblicati: 6 codici
21
Sviluppatore 21
Valutazioni
(2622)
Progetti
3327
67%
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
(5)
Progetti
4
0%
Arbitraggio
2
50% / 50%
In ritardo
2
50%
Gratuito
26
Sviluppatore 26
Valutazioni
(6)
Progetti
10
30%
Arbitraggio
0
In ritardo
2
20%
In elaborazione
Ordini simili
HI , I WANT TO CREAT AN EA FOR MT5, FOR GOLD M1 TIME FRAME WITH SOME SPESIFIC CONTITION, LIKE MARTINGEL (ADDITION METHOD) NO MULTIPLYER TREALING STOP TRADE MANIGMENT TIME FILTER AVOIDE NEWS TRADING SET EA MODE FOR BUY,SELL,BOTH WITH 3 TRADING STRATEGYES SUPER TRANDE, EMA CROSOVER, BOLINGER BAND
I am looking for an experienced MT5 Expert Advisor developer. Goal: Create a custom MT5 EA that replicates the behavior of a profitable copy trading strategy (behavior-based, not code copying). Specifications: - Symbol: XAUUSD only - Max 1 trade at a time - Fixed risk per trade: 1% - Trades per week: 2–4 - Trading days: Monday to Thursday only - No trading during high-impact USD news (news filter required) - No
So I want to buy fully functional EA that is retard proof and makes money. on a signal trading pair need to make in a singal moth at least 3% profit with max 1% equity drowdown. I don't need screenshots i need demo version
Looking for a reliable Expert Advisor with a proven track record? I'm seeking an EA with source code that meets the following criteri *Requirements:* - .mq5 source code (well-commented and readable) - 4-year backtest (Jan 2022 - Dec 2025) with tick/data quality details - 1-month demo test on live/demo broker - ~15% monthly average returns (medium risk) - Max drawdown ≤15% (equity/drawdown report) - No grid
I need a custom MT5 Expert Advisor named “Dark Venus”. Strategy details: - Timeframe: M5 / M15 - Market: Forex (all major pairs) - Strategy type: Trend + Scalping - Indicators: • EMA (Fast & Slow) • RSI filter • ATR for Stop Loss & Take Profit - Trades only during low-spread sessions (London & New York) Trade Rules: - Buy when fast EMA crosses above slow EMA + RSI confirmation - Sell when fast EMA crosses below
Acquire existing profitable Expert Advisor with source code for client investment portfolio - Full .mq5 code (clean & commented) - 4+ years backtest (Jan 2022 - Dec 2025, 100% tick data) - ~10% monthly return - Max DD ≤15% - No grid/martingale (strictly enforced) - 1-month forward test required - Send trade history + EA details for review - Demo EA file needed for backtest replication - Open to any currency
i need the multi-chain dex bot with set up and installation i need you to help me set the copy reading wallet on binance or phantom with capital for 100 Euro to 1 Million in one year
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I need an MQL5 indicator that identifies reversals without repainting or placing signals with an offset. The goal is to minimize lag and reduce whipsaw trades. Desired results are similar to the attached image. Requirements: - No repainting - No signal offset - Emphasis on reducing lag - MQL5 compatible - Clear, concise code If you have the expertise to create a reliable, high-performance indicator, let's discuss

Informazioni sul progetto

Budget
30 - 60 USD