MT4 EA to Stop Opening New Trades (Allow Existing Trades Only)

Spezifikation

🔹 Project Description

I need a very simple MT4 (MQL4) Expert Advisor to be used on a DEMO account.

Main Purpose:
When enabled, the EA must prevent opening any NEW trades, while allowing existing open trades to be managed and closed normally.

Required Behavior:

  • Do NOT close any open trades.

  • Do NOT modify TP or SL.

  • Prevent opening of:

    • New initial trades

    • New trade cycles

  • Existing trades must continue until they close naturally by TP/SL.

Important:

  • This EA will work alongside another Grid/Martingale EA.

  • The goal is to stop NEW entries only, not trade management.

  • The EA must NOT cause fast open/close behavior.

Input Parameters:

  • EnableBlock = true / false

    • true → block new trades

    • false → do nothing

  • (Optional) Block only initial trades (TradeNumber = 00 or first trade in a cycle)

Notes:

  • The EA runs on a DEMO account.

  • Trades are copied from this account to a funded account using a trade copier.

  • This solution must be safe for prop firm rules.

Goal:
To stop opening new trades before withdrawal while allowing all existing trades to finish naturally, so the funded account reaches zero open trades safely.


Bewerbungen

1
Entwickler 1
Bewertung
(240)
Projekte
302
28%
Schlichtung
32
25% / 63%
Frist nicht eingehalten
9
3%
Beschäftigt
2
Entwickler 2
Bewertung
(102)
Projekte
158
21%
Schlichtung
23
9% / 78%
Frist nicht eingehalten
16
10%
Beschäftigt
3
Entwickler 3
Bewertung
(12)
Projekte
18
39%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
1
6%
Arbeitet
4
Entwickler 4
Bewertung
(8)
Projekte
8
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
5
Entwickler 5
Bewertung
(17)
Projekte
21
10%
Schlichtung
5
40% / 40%
Frist nicht eingehalten
1
5%
Beschäftigt
6
Entwickler 6
Bewertung
(15)
Projekte
34
24%
Schlichtung
4
0% / 50%
Frist nicht eingehalten
2
6%
Arbeitet
7
Entwickler 7
Bewertung
(5)
Projekte
6
50%
Schlichtung
1
100% / 0%
Frist nicht eingehalten
1
17%
Arbeitet
Veröffentlicht: 6 Beispiele
8
Entwickler 8
Bewertung
(24)
Projekte
25
68%
Schlichtung
0
Frist nicht eingehalten
1
4%
Arbeitet
Veröffentlicht: 3 Beispiele
9
Entwickler 9
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
10
Entwickler 10
Bewertung
(3)
Projekte
1
100%
Schlichtung
3
0% / 100%
Frist nicht eingehalten
0
Frei
11
Entwickler 11
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
12
Entwickler 12
Bewertung
(15)
Projekte
18
6%
Schlichtung
8
38% / 38%
Frist nicht eingehalten
2
11%
Arbeitet
13
Entwickler 13
Bewertung
(625)
Projekte
843
48%
Schlichtung
27
37% / 15%
Frist nicht eingehalten
63
7%
Arbeitet
14
Entwickler 14
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
15
Entwickler 15
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
16
Entwickler 16
Bewertung
(2)
Projekte
3
0%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
17
Entwickler 17
Bewertung
(305)
Projekte
548
35%
Schlichtung
79
32% / 42%
Frist nicht eingehalten
197
36%
Beschäftigt
Ähnliche Aufträge
I am looking for an experienced MQL5 developer to convert a complex TradingView Pine Script (will provide the script from tradingview) into a fully automated MT5 Expert Advisor -bot. The TradingView script includes: Market Structure (BOS, CHoCH, Swing BOS) Strong / Weak High & Low Equilibrium (Premium / Discount zones) Volumetric Order Blocks Fair Value Gaps (FVG / VI / OG) Accumulation & Distribution zones Equal
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi
Olá, preciso de um programador para montar um indicador com base na sobrevenda do estocastico, volume macd, para uma estrategia de reversão e falso rompimento com regioes de OB validos minimas e maximas de H1, H4, D1 e canais para confluencias, quero que seja didatico visualmente e com cores, sons de alertas e algum sinal de call ou put como setas indicando reversões e falsos rompimentos e continuidade
Subject: Experienced MQL5 Developer | High-Quality Execution & Error Handling "Hello, I am interested in developing your trading system. I specialize in building robust MQL5 Expert Advisors that are not only logically sound but also technically optimized for the MT5 platform. Why work with me? Error-Free Execution: I have deep experience in handling common MT5 execution errors such as Invalid Volume, Not Enough
Hi, I have a specific set of rules and a strategy to execute a trade. I'm looking for a developer to assist me in developing an MQL5 EA based on my strategies

Projektdetails

Budget
30+ USD

Kunde

Veröffentlichte Aufträge1
Anzahl der Schlichtungen0