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
등급
(176)
프로젝트
188
46%
중재
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%
중재
82
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%
무료
비슷한 주문
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
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
please share: Strategy description — entry/exit rules, indicators used, timeframe(s), and instrument(s) (a written explanation, screenshots, or an existing indicator/EA to reference all work) Risk management rules — position sizing method (fixed lot / % risk), stop loss / take profit logic, max drawdown or daily loss limits, and whether martingale/grid/hedging is involved Broker & account details — broker name
I need a unique grid trading system for XAUUSD that combines entry, controlled two-sided grid expansion, DCA (Dollar Cost Averaging) basket profit control, hedging. Unlike traditional grid EAs that only trade against price, this unique grid system should dynamically build positions in both directions based on market movement, allowing flexible adaptation to changing conditions ie the grid needs to dynamically move
I need an experienced MQL5 developer to create a fully automated MT5 Expert Advisor called Ayoub Gold EA , focused exclusively on XAUUSD (Gold) . Main requirements: Platform: MT5 / MQL5. Fully automated BUY and SELL trading on XAUUSD. Must support broker suffixes such as XAUUSD, XAUUSD.f and XAUUSDm. Trading strategy based mainly on Range Breakout with trend confirmation. EMA, ADX and ATR filters. London/New York

프로젝트 정보

예산
30 - 60 USD