MT5 Indicator Fix – Remove Early Signals & Keep V3.4 Next-Candle Alerts

MQL5 Indicadores

Tarea técnica

Hello,

I need help making one very specific change to my MT5/MQL5 indicator.

I have a working version of the indicator where the V3.4 swing signals are correct. The swing points shown by the V3.4 logic are exactly the swing points I want to use on the chart. Please treat the V3.4 code and its swing locations as the fixed reference. I do NOT want the V3.4 swing-detection logic changed.

The problem is with the newer live-alert code that was added to solve the alert timing.

What is already working

The alert timing has now been fixed.

When a correct swing is identified:

  • Candle 1 = the swing candle

  • Candle 1 closes

  • Candle 2 = the next candle

  • I receive the alert on Candle 2

This timing is now working correctly and MUST NOT be changed.

The remaining problem

The newer version has an additional live-swing detector.

This detector is producing extra swing signals too early, before the correct V3.4 swing signal appears.

So on the Strategy Tester chart I can see something like:

EARLY/WRONG SIGNAL → later the CORRECT V3.4 SIGNAL

I do NOT want those early signals.

I only want the signals that correspond to the V3.4 swing signals already shown on the chart.

What I need you to change

Please inspect the code and identify the separate live/early swing detection logic that is generating these additional signals.

I want that additional early signal generation removed or disabled.

However, I want you to preserve the existing mechanism that is currently giving me the correct next-candle/Candle 2 alert timing.

So the final behaviour should be:

V3.4 swing point on chart
→ swing candle closes
→ next candle opens
→ alert immediately on that next candle.

There should be NO additional earlier live swing signals before the V3.4 swing.

VERY IMPORTANT

Please do NOT:

  • change the V3.4 swing locations

  • change the V3.4 swing detection logic

  • change the left/right strength logic

  • add pullback logic

  • add break logic

  • delay the alert

  • make me wait several candles after the swing

  • replace the V3.4 signals with different swing points

The V3.4 signals are the ones I want.

The only problem I need fixed is:

REMOVE THE EXTRA EARLY/LIVE SIGNALS AND ONLY ALERT FOR THE V3.4 SWING SIGNALS, WHILE KEEPING THE CURRENT NEXT-CANDLE (CANDLE 2) ALERT TIMING.

I can provide the V3.4 code and the latest version of the code if needed.

Please confirm that you understand this exact requirement before making changes.


Han respondido

1
Desarrollador 1
Evaluación
(282)
Proyectos
353
29%
Arbitraje
37
27% / 65%
Caducado
10
3%
Trabajando
2
Desarrollador 2
Evaluación
(111)
Proyectos
183
25%
Arbitraje
24
17% / 75%
Caducado
16
9%
Libre
3
Desarrollador 3
Evaluación
(435)
Proyectos
642
53%
Arbitraje
35
63% / 20%
Caducado
6
1%
Trabaja
4
Desarrollador 4
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
5
Desarrollador 5
Evaluación
(178)
Proyectos
191
46%
Arbitraje
4
25% / 25%
Caducado
1
1%
Ocupado
6
Desarrollador 6
Evaluación
(15)
Proyectos
22
45%
Arbitraje
6
33% / 33%
Caducado
2
9%
Trabajando
Ha publicado: 7 artículos, 35 ejemplos
7
Desarrollador 7
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(22)
Proyectos
28
7%
Arbitraje
9
33% / 33%
Caducado
1
4%
Trabaja
9
Desarrollador 9
Evaluación
(3)
Proyectos
9
67%
Arbitraje
0
Caducado
0
Trabaja
10
Desarrollador 10
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
11
Desarrollador 11
Evaluación
(83)
Proyectos
95
32%
Arbitraje
9
22% / 56%
Caducado
5
5%
Trabaja
12
Desarrollador 12
Evaluación
(3)
Proyectos
7
29%
Arbitraje
0
Caducado
4
57%
Libre
13
Desarrollador 13
Evaluación
(2)
Proyectos
2
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
14
Desarrollador 14
Evaluación
(9)
Proyectos
11
27%
Arbitraje
0
Caducado
2
18%
Trabaja
Ha publicado: 1 ejemplo
15
Desarrollador 15
Evaluación
(2676)
Proyectos
3414
68%
Arbitraje
77
48% / 14%
Caducado
342
10%
Libre
Ha publicado: 1 ejemplo
16
Desarrollador 16
Evaluación
(6)
Proyectos
8
38%
Arbitraje
1
100% / 0%
Caducado
2
25%
Libre
17
Desarrollador 17
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
18
Desarrollador 18
Evaluación
(319)
Proyectos
570
35%
Arbitraje
83
30% / 45%
Caducado
206
36%
Trabaja
19
Desarrollador 19
Evaluación
(70)
Proyectos
88
58%
Arbitraje
6
67% / 17%
Caducado
2
2%
Trabajando
20
Desarrollador 20
Evaluación
(59)
Proyectos
92
42%
Arbitraje
4
0% / 100%
Caducado
3
3%
Trabaja
21
Desarrollador 21
Evaluación
(268)
Proyectos
603
34%
Arbitraje
65
22% / 57%
Caducado
147
24%
Trabaja
Ha publicado: 1 artículo, 22 ejemplos
22
Desarrollador 22
Evaluación
(20)
Proyectos
26
38%
Arbitraje
6
33% / 50%
Caducado
0
Libre
23
Desarrollador 23
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
24
Desarrollador 24
Evaluación
(211)
Proyectos
274
21%
Arbitraje
24
54% / 17%
Caducado
0
Libre
25
Desarrollador 25
Evaluación
(29)
Proyectos
36
44%
Arbitraje
4
50% / 50%
Caducado
3
8%
Libre
26
Desarrollador 26
Evaluación
(553)
Proyectos
844
61%
Arbitraje
33
27% / 45%
Caducado
24
3%
Libre
Ha publicado: 1 ejemplo
27
Desarrollador 27
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 5 ejemplos
28
Desarrollador 28
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
1
100%
Libre
29
Desarrollador 29
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
30
Desarrollador 30
Evaluación
(3)
Proyectos
3
33%
Arbitraje
0
Caducado
0
Libre
31
Desarrollador 31
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
32
Desarrollador 32
Evaluación
(104)
Proyectos
134
43%
Arbitraje
0
Caducado
3
2%
Trabaja
33
Desarrollador 33
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
34
Desarrollador 34
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 4 ejemplos
35
Desarrollador 35
Evaluación
(2)
Proyectos
2
0%
Arbitraje
1
0% / 0%
Caducado
1
50%
Libre
36
Desarrollador 36
Evaluación
(2)
Proyectos
2
0%
Arbitraje
1
0% / 0%
Caducado
0
Trabaja
37
Desarrollador 37
Evaluación
(2)
Proyectos
2
50%
Arbitraje
0
Caducado
0
Libre
38
Desarrollador 38
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
39
Desarrollador 39
Evaluación
(25)
Proyectos
31
13%
Arbitraje
14
0% / 79%
Caducado
9
29%
Libre
40
Desarrollador 40
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
41
Desarrollador 41
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
42
Desarrollador 42
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
43
Desarrollador 43
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
44
Desarrollador 44
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
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
Indicador Maximas e Minimas + Super Trend O Indicador MAX/MIN é um indicador de análise técnica para o MetaTrader 5 , desenvolvido para ajudar você a identificar regiões importantes de preço e possíveis oportunidades de compra e venda. O que ele faz MAX/MIN: identifica máximas e mínimas relevantes do mercado e mostra os preços no gráfico. HH / HL / LH / LL: ajuda a visualizar a estrutura do mercado, mostrando quando
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
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'm looking for an experienced developer to create an automated gold trading bot. The bot should be compatible with MetaTrader 4/5 and TradingView. Key Requirements: - Automated trading bot - Compatible with MetaTrader 4/5 and TradingView - Implement scalping and swing trading strategies Ideal Skills and Experience: - Proficiency in trading algorithms - Experience with gold trading - Familiarity with MetaTrader and
I need a robust optimization of my MT5 EA, mainly for XAUUSD (Gold). Please optimize the existing adjustable parameters such as entry/exit settings, SL/TP, trailing/break-even settings, and any other strategy parameters that are appropriate. I want the optimization focused on stable profitability, low/moderate drawdown, and robustness rather than simply the highest possible profit. Please use out-of-sample testing
NinjaTrader 8 / NinjaScript Phase 1 build: convert an existing Auction Market Theory (AMT) strategy into objective, alert-only decision-support logic. Not a bot, no auto-execution — trades stay manual. Covers NQ/MNQ, ES, CL, MGC using 30-min TPO/Volume Profile context with 5-min confirmation: one 5-min close outside VAH/VAL = acceptance, close back inside = rejection. Dashboard shows bias, auction state, location
Hello, I need a custom NON-REPAINT MT5 indicator that gives sell/buy arrow signals 1–2 candlesticks before a spike on Crash and boom indices respectively occurs. Requirements: Works perfectly on MT5 Shows arrows before the spike (1–2 candles earlier). Non-repaint – once the arrow appears, it must stay. Should be accurate, not quantity — only quality signals. Must work on both demo and live accounts. I want the
Hello, I saw an indicator on TradingView and would like to know if you will be able to convert it for use on Thinkorswim platform? Thanks. if anyone can help me with it kindly do well to bid it urgent thanks looking forward too see you
calcVolume( void ) { //--- MqlRates rates[]; if ( CopyRates ( _Symbol , PERIOD_CURRENT , startTime, endTime, rates) > 0 ) { double rangeHigh = rates[ 0 ].high, rangeLow = rates[ 0 ].low; int count = MathAbs ( iBarShift ( _Symbol , PERIOD_CURRENT , startTime) - iBarShift ( _Symbol , PERIOD_CURRENT , endTime)) + 1 ; //---VERTICAL PRICE RANGE for ( int b = 0

Información sobre el proyecto

Presupuesto
60+ USD
Plazo límite de ejecución
a 3 día(s)

Cliente

(8)
Encargos realizados12
Número de arbitrajes0