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

İş tamamlandı

Tamamlanma süresi: 13 dakika
Geliştirici tarafından geri bildirim
Thank you for the project. It was a pleasure working with you.
Müşteri tarafından geri bildirim
Thank you for the quick work.

Şartname

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


Dosyalar:

MQ5
lwma.mq5
9.1 Kb

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(22)
Projeler
28
7%
Arabuluculuk
9
33% / 33%
Süresi dolmuş
1
4%
Çalışıyor
2
Geliştirici 2
Derecelendirme
(1305)
Projeler
1735
49%
Arabuluculuk
55
67% / 16%
Süresi dolmuş
38
2%
Serbest
3
Geliştirici 3
Derecelendirme
(8)
Projeler
9
33%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
0
Serbest
4
Geliştirici 4
Derecelendirme
(636)
Projeler
1008
47%
Arabuluculuk
33
36% / 36%
Süresi dolmuş
99
10%
Çalışıyor
Yayınlandı: 6 kod
5
Geliştirici 5
Derecelendirme
(162)
Projeler
289
35%
Arabuluculuk
18
22% / 61%
Süresi dolmuş
43
15%
Serbest
6
Geliştirici 6
Derecelendirme
(185)
Projeler
199
47%
Arabuluculuk
4
50% / 25%
Süresi dolmuş
1
1%
Çalışıyor
7
Geliştirici 7
Derecelendirme
(39)
Projeler
59
20%
Arabuluculuk
6
33% / 17%
Süresi dolmuş
1
2%
Serbest
Yayınlandı: 2 kod
8
Geliştirici 8
Derecelendirme
(274)
Projeler
403
28%
Arabuluculuk
40
40% / 50%
Süresi dolmuş
1
0%
Serbest
9
Geliştirici 9
Derecelendirme
(457)
Projeler
725
34%
Arabuluculuk
35
71% / 9%
Süresi dolmuş
23
3%
Serbest
10
Geliştirici 10
Derecelendirme
(328)
Projeler
333
71%
Arabuluculuk
2
100% / 0%
Süresi dolmuş
0
Serbest
Yayınlandı: 1 kod
11
Geliştirici 11
Derecelendirme
(215)
Projeler
280
21%
Arabuluculuk
26
58% / 15%
Süresi dolmuş
0
Yüklendi
12
Geliştirici 12
Derecelendirme
(35)
Projeler
53
74%
Arabuluculuk
4
50% / 0%
Süresi dolmuş
0
Serbest
13
Geliştirici 13
Derecelendirme
(319)
Projeler
574
35%
Arabuluculuk
83
31% / 45%
Süresi dolmuş
207
36%
Serbest
14
Geliştirici 14
Derecelendirme
(574)
Projeler
945
47%
Arabuluculuk
309
58% / 27%
Süresi dolmuş
125
13%
Serbest
15
Geliştirici 15
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
16
Geliştirici 16
Derecelendirme
(7)
Projeler
7
0%
Arabuluculuk
0
Süresi dolmuş
2
29%
Serbest
17
Geliştirici 17
Derecelendirme
(78)
Projeler
247
74%
Arabuluculuk
7
100% / 0%
Süresi dolmuş
1
0%
Serbest
Yayınlandı: 2 makale, 1 kod
18
Geliştirici 18
Derecelendirme
(634)
Projeler
741
34%
Arabuluculuk
49
53% / 39%
Süresi dolmuş
14
2%
Çalışıyor
19
Geliştirici 19
Derecelendirme
(4)
Projeler
8
0%
Arabuluculuk
3
33% / 67%
Süresi dolmuş
4
50%
Serbest
20
Geliştirici 20
Derecelendirme
(453)
Projeler
566
26%
Arabuluculuk
24
42% / 38%
Süresi dolmuş
85
15%
Serbest
Yayınlandı: 6 kod
21
Geliştirici 21
Derecelendirme
(2678)
Projeler
3422
68%
Arabuluculuk
78
47% / 14%
Süresi dolmuş
343
10%
Çalışıyor
Yayınlandı: 1 kod
22
Geliştirici 22
Derecelendirme
(443)
Projeler
570
37%
Arabuluculuk
106
39% / 33%
Süresi dolmuş
17
3%
Serbest
23
Geliştirici 23
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
24
Geliştirici 24
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
25
Geliştirici 25
Derecelendirme
(7)
Projeler
6
0%
Arabuluculuk
4
25% / 75%
Süresi dolmuş
2
33%
Serbest
26
Geliştirici 26
Derecelendirme
(10)
Projeler
14
43%
Arabuluculuk
0
Süresi dolmuş
3
21%
Serbest
Benzer siparişler
Looking for a Complete Forex & Gold Signal System — Telegram Automation + Performance Tracking I’m looking for a complete automated trading signal solution for Forex pairs, including EUR/USD, GBP/USD and others, as well as gold (XAU/USD). Requirements: • An average of 2–3 quality signals per day across the selected instruments. Quality matters more than generating signals just to meet a quota. • A high win rate
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

Proje bilgisi

Bütçe
30 - 60 USD