TROUBLESHOOTING

MQL4 Experts

Specification

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

Responded

1
Developer 1
Rating
(69)
Projects
76
59%
Arbitration
0
Overdue
12
16%
Free
Published: 2 codes
2
Developer 2
Rating
(41)
Projects
72
8%
Arbitration
18
11% / 56%
Overdue
18
25%
Free
3
Developer 3
Rating
(49)
Projects
134
27%
Arbitration
62
13% / 53%
Overdue
58
43%
Free
Published: 303 articles, 1 code
4
Developer 4
Rating
(68)
Projects
111
26%
Arbitration
17
6% / 71%
Overdue
15
14%
Free
Published: 9 codes
5
Developer 5
Rating
(121)
Projects
134
66%
Arbitration
36
25% / 56%
Overdue
22
16%
Free
Published: 10 codes
6
Developer 6
Rating
(5)
Projects
4
0%
Arbitration
3
0% / 100%
Overdue
2
50%
Free
7
Developer 7
Rating
(219)
Projects
370
42%
Arbitration
145
17% / 41%
Overdue
124
34%
Free
Published: 38 codes
Similar orders
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
BUY ALERT 1. Supertrend turns Bullish 2. On this candle , or during the last time Supertrend was Bearish, price was < or = MA1 3. On this candle , or during the last time Supertrend was Bearish , BBStops is Bearish 4. STEP MA1 and STEP MA 2 are both Bullish SELL ALERT 1. Supertrend turns Bearish 2. On this candle , or during the last time Supertrend was Bullish, price was
Rsi divergence 30+ USD
You need to create an EA that executes buy and sell based on the signals of an rsi divergence indicator in trading view. The indicator is not in MT5 and must be added separately. pine script availabel

Project information

Budget
Deadline
to 5 day(s)