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

工作已完成

执行时间13 分钟
客户反馈
Thank you for the quick work.
员工反馈
Thank you for the project. It was a pleasure working with you.

指定

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


附加的文件:

MQ5
lwma.mq5
9.1 Kb

反馈

1
开发者 1
等级
(22)
项目
28
7%
仲裁
9
33% / 33%
逾期
1
4%
工作中
2
开发者 2
等级
(1305)
项目
1734
49%
仲裁
55
67% / 16%
逾期
38
2%
空闲
3
开发者 3
等级
(8)
项目
9
33%
仲裁
1
100% / 0%
逾期
0
空闲
4
开发者 4
等级
(636)
项目
1007
47%
仲裁
33
36% / 36%
逾期
99
10%
工作中
发布者: 6 代码
5
开发者 5
等级
(162)
项目
289
35%
仲裁
18
22% / 61%
逾期
43
15%
空闲
6
开发者 6
等级
(177)
项目
189
47%
仲裁
3
33% / 33%
逾期
1
1%
已载入
7
开发者 7
等级
(39)
项目
59
20%
仲裁
6
33% / 17%
逾期
1
2%
工作中
发布者: 2 代码
8
开发者 8
等级
(274)
项目
403
28%
仲裁
40
40% / 50%
逾期
1
0%
空闲
9
开发者 9
等级
(455)
项目
721
34%
仲裁
35
71% / 9%
逾期
23
3%
空闲
10
开发者 10
等级
(323)
项目
328
71%
仲裁
2
100% / 0%
逾期
0
空闲
发布者: 1 代码
11
开发者 11
等级
(209)
项目
272
21%
仲裁
24
54% / 17%
逾期
0
空闲
12
开发者 12
等级
(35)
项目
53
74%
仲裁
4
50% / 0%
逾期
0
空闲
13
开发者 13
等级
(319)
项目
568
35%
仲裁
83
30% / 45%
逾期
206
36%
已载入
14
开发者 14
等级
(574)
项目
945
47%
仲裁
309
58% / 27%
逾期
125
13%
空闲
15
开发者 15
等级
项目
0
0%
仲裁
0
逾期
0
空闲
16
开发者 16
等级
(7)
项目
7
0%
仲裁
0
逾期
2
29%
空闲
17
开发者 17
等级
(78)
项目
246
74%
仲裁
7
100% / 0%
逾期
1
0%
空闲
发布者: 1 文章
18
开发者 18
等级
(618)
项目
721
33%
仲裁
46
48% / 41%
逾期
14
2%
已载入
19
开发者 19
等级
(4)
项目
8
0%
仲裁
3
33% / 67%
逾期
4
50%
空闲
20
开发者 20
等级
(453)
项目
566
26%
仲裁
24
42% / 38%
逾期
85
15%
空闲
发布者: 6 代码
21
开发者 21
等级
(2675)
项目
3414
68%
仲裁
77
48% / 14%
逾期
342
10%
空闲
发布者: 1 代码
22
开发者 22
等级
(443)
项目
570
37%
仲裁
106
39% / 33%
逾期
17
3%
空闲
23
开发者 23
等级
项目
0
0%
仲裁
0
逾期
0
空闲
24
开发者 24
等级
项目
0
0%
仲裁
0
逾期
0
空闲
25
开发者 25
等级
(7)
项目
6
0%
仲裁
4
25% / 75%
逾期
2
33%
空闲
26
开发者 26
等级
(10)
项目
14
43%
仲裁
0
逾期
3
21%
空闲
相似订单
UnixFirmanMln 30 - 200 USD
I am an MQL5 Developer specializing in Forex trading automation, Expert Advisors, custom indicators, and trading strategy optimization. I provide services for developing, debugging, modifying, and improving trading robots and indicators. My technical skills include MQL5, C++, Linux, algorithmic trading logic, debugging, and performance optimization. I pay close attention to trading rules, execution logic, risk
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I am looking to acquire an EXISTING and PROVEN MetaTrader 5 Expert Advisor. I am NOT looking for someone to develop a random new strategy from scratch. The objective is to find a robust EA with an existing track record, verify its performance and robustness, and purchase the MQL5 source code together with clearly defined commercial rights. MAIN REQUIREMENTS The EA should meet most or all of the following
Looking to acquire an existing, proven EA. Not looking for new strategy development. REQUIREMENTS — non-negotiable: Minimum 12 months verified LIVE history (Myfxbook or MQL5 Signals, real money — not demo, not backtest) Hard stop loss on EVERY trade, set at order placement NO martingale, NO grid, NO averaging into losers, NO lot multiplication after a loss Max historical drawdown under 30% Minimum 5 trades per
Mr quetta 100+ USD
Yes, that is exactly what I need. The bot should not be restricted to a fixed list of currency pairs. It should technically scan all available Quotex pairs in real time and automatically select the pair where the market conditions are strongest. The bot should analyze each pair using multiple confirmations, such as short-term price momentum, trend direction, market structure, support/resistance, candle formation
Platform: TradingView Programming Language: Pine Script v6 Type: Custom Indicator Project Name: Scalping Reaction Zones + Valid Order Blocks MAIN GOAL I need a custom TradingView indicator for scalping. The indicator must detect: 1. Reaction / Explosion Zones 2. Valid Order Blocks 3. Combined Reaction Zone + Order Block zones The indicator should NOT generate: Buy signals Sell signals TP SL Entry signals Trading
Hello, I trade on HFM MT5. Need SCALPING EA for scalping, budget $30. SYMBOLS: XAUUSD (GOLD), US30, NAS100, GER40, EURUSD TIMEFRAME: M1 and M5 PLATFORM: MT5, must work on HFM VPS STRATEGY: - EMA 9 crosses EMA 21 - RSI 14: BUY only if RSI >45, SELL only if RSI <55 - Bollinger Bands: Only trade when price returns inside BB after breakout - 1 trade at a time per symbol - SL: 150 points Gold / 100 points indices (must be
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
I need an MT5 Expert Advisor for XAUUSD (Gold) running on an Exness account. STRATEGY LOGIC The exact entry and exit rules will be provided in writing before development starts. Please quote for a single rule-based strategy with clearly separated logic, so the rules can be adjusted later without rewriting the whole EA. RISK MANAGEMENT (this is the priority of the project) - Risk per trade as a percentage of account
Modification of Trade_Panel_7 7.05 Objective . I have this utility “Trade_Panel_7 7.05” with which I open and close positions. Please refer to attached “Trade Panel Modification.jpg”. It shows an input parameter “Volume Step”. This parameter has the initial value of 0.02 as shown. This feature needs to be amended. Present Status . Value of lot size is increased by this “Volume Step”. I have built a whole series of

项目信息

预算
30 - 60 USD