TROUBLESHOOTING

MQL4 Asesores Expertos

Tarea técnica

hello

i haved coding an EA. There a some errors inside and work not correct.  but i cant correct this.

maybe can correct on my errors/ bugs. maybe you delete my code and whright the code new.

THX


It is an Breackout EA with Moneymanagement.

Stop-Loss:

if Long  = -20 Pips but max. range(Low)

if Short = -25 Pips but max. range(High)

------------------------------------------------------

Take-Profit:

if Long  = +155 Pips

if Short = + 55 Pips

------------------------------------------------------


 

Trade-management:

Long-Trades

If Long and Breakoutcandle (the Candle who trigger the Long Order) closes less then (range(High) +1 Pips) ->Set new take Profit from +155 Pips to +10Pips

If Long and Breaktoutcandle closes higher then (range(High) +1 Pips) use following Trailing stop System.

1.       If OpenPosition + 30 Pips -> Set new Stop-Loss = +15 Pips

2.       If OpenPosition + 35 Pips and

a.       Candle close < +10 Pips -> Set new Take Profit +10 Pips

b.       Candle close > +20 Pips -> Set new Stop-Loss +20 Pips

3.       at 13:00 o'clock and

a.       if OpenPosition < +10 Pips -> Set Takeprofit +10 Pips

b.       if OpenPosition > +10 Pips -> Set Stop-Loss +10 Pips

4.       at 17:05 o'clock close all Long Orders

 

Short-Trades

if Short and Breakoutcandle (the Candle who trigger the short Order) closes less then (range(Low) +1 Pips) ->Set new take Profit from +55 Pips to +5 Pips

If Short and Breaktoutcandle closes higher then (range(Low) +1 Pips) use following Trailing stop System.

1.       If OpenPosition + 30 Pips -> Set new Stop-Loss = +15 Pips

2.       If OpenPosition + 40 Pips -> Set new Stop-Loss = +25 Pips

3.       If OpenPosition + 50 Pips -> Set new Stop-Loss = +35 Pips

4.       If Order Open between 10:05 and 11:59
Apply following Settings at 12:00 o Clock

a.       if OpenPosition less then 0 Pips -> Set new Take Profit at Entry Price

b.       if OpenPosition higher then 0 Pips -> Close Order now

5.       If Order Open between 13:00 and 13:29 then

Apply following Settings at 14:00 o Clock

a.       if OpenPosition less then 0 Pips -> Set new Take Profit at Entry Price

b.       if OpenPosition higher then 0 Pips -> Close Order now

6.       at 17:05 o'clock close all Short Orders

Han respondido

1
Desarrollador 1
Evaluación
(69)
Proyectos
76
59%
Arbitraje
0
Caducado
12
16%
Libre
Ha publicado: 2 ejemplos
2
Desarrollador 2
Evaluación
(41)
Proyectos
72
8%
Arbitraje
18
11% / 56%
Caducado
18
25%
Libre
3
Desarrollador 3
Evaluación
(49)
Proyectos
134
27%
Arbitraje
62
13% / 53%
Caducado
58
43%
Libre
Ha publicado: 303 artículos, 1 ejemplo
4
Desarrollador 4
Evaluación
(68)
Proyectos
111
26%
Arbitraje
17
6% / 71%
Caducado
15
14%
Libre
Ha publicado: 9 ejemplos
5
Desarrollador 5
Evaluación
(121)
Proyectos
134
66%
Arbitraje
36
25% / 56%
Caducado
22
16%
Libre
Ha publicado: 10 ejemplos
6
Desarrollador 6
Evaluación
(5)
Proyectos
4
0%
Arbitraje
3
0% / 100%
Caducado
2
50%
Libre
7
Desarrollador 7
Evaluación
(219)
Proyectos
370
42%
Arbitraje
145
17% / 41%
Caducado
124
34%
Libre
Ha publicado: 38 ejemplos
Solicitudes similares
Hello! I want to programm EA that uses volume profile indicator, but I am not sure if this is possible. Only experienced programmers please, I will not select a programmer who did only few jobs. Before starting I need to make sure you understand everything and that this is for sure technically possible
Hello, I am looking for a professional trading system including: 1- Trading Bot (Expert Advisor): - Good profit performance - High security and strong risk management - Works efficiently during high market volatility (news and strong movements) - Works on all pairs (Forex + Gold) 2- Signal Indicator: - Provides clear Buy and Sell signals - Includes Take Profit and Stop Loss - No repaint (signals must not change or
Hi, I’m looking for a top-tier, profit-optimized EA that has the potential to scale trading returns significantly. My goal is to maximize growth over time. Can you help develop a bespoke EA that could potentially scale to high six or seven figures
Max amount grid 30+ USD
max amount grid step for magic number do keep deleting .only when it is in negative floating .but when it is profit allow to go over the max and replays to grid step
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone
I will pay 3000+ USD (negotiable) for an EA for existing MT5 that generates a minimum of 15-20% or higher a month consistently (provide source code after final deal) Looking for a highly profitable EA Please send demo version directly subject (Buying profitable EA Budget up to $ 3000 USD), past results and optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it
EA fx 30+ USD
Hello, I need an already developed EA similar to the one trading XAUUSD, with consistent entries and good risk management. Before we proceed, I would like to verify its performance. Please provide a live or demo account login along with the investor (read-only) password so I can monitor the trading results. I am looking for stable performance, controlled drawdown, and consistent profit on gold (XAUUSD). Once I
The strategy records the highest and lowest prices within a specified duration (default 15 minutes) after the New York market opens, forming the opening range. Post-Formation Breakout: When the price breaks above or below the opening range after its formation, it may indicate the direction of the day’s price movement. Trend Confirmation: The strategy uses two EMAs (default 20-period and 50-period) as trend filters to
Tengo una estrategia basada en divergencia para el oro sobre todo en tf m1 Basado en divergencia con stoch .. confirmando la entrada con ciertos parameteos de entrada Es mejor conversarlo para dar mejor los detalles Cuando entrar, porque o todas las divergencias se debe tomar para entrar en compras o ventas He adjuntado un ejemplo La confrmacion más exacta es el cruce de esos parámetros de stoch edebajo de level de

Información sobre el proyecto

Presupuesto
Plazo límite de ejecución
a 5 día(s)