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

Spécifications

🔹 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.


Répondu

1
Développeur 1
Évaluation
(240)
Projets
302
28%
Arbitrage
32
25% / 63%
En retard
9
3%
Chargé
2
Développeur 2
Évaluation
(102)
Projets
158
21%
Arbitrage
23
9% / 78%
En retard
16
10%
Chargé
3
Développeur 3
Évaluation
(12)
Projets
18
39%
Arbitrage
1
0% / 100%
En retard
1
6%
Travail
4
Développeur 4
Évaluation
(8)
Projets
8
0%
Arbitrage
0
En retard
0
Gratuit
5
Développeur 5
Évaluation
(17)
Projets
21
10%
Arbitrage
5
40% / 40%
En retard
1
5%
Chargé
6
Développeur 6
Évaluation
(15)
Projets
34
24%
Arbitrage
4
0% / 50%
En retard
2
6%
Travail
7
Développeur 7
Évaluation
(5)
Projets
6
50%
Arbitrage
1
100% / 0%
En retard
1
17%
Travail
Publié : 6 codes
8
Développeur 8
Évaluation
(24)
Projets
25
68%
Arbitrage
0
En retard
1
4%
Travail
Publié : 3 codes
9
Développeur 9
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
10
Développeur 10
Évaluation
(3)
Projets
1
100%
Arbitrage
3
0% / 100%
En retard
0
Gratuit
11
Développeur 11
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
12
Développeur 12
Évaluation
(15)
Projets
18
6%
Arbitrage
8
38% / 38%
En retard
2
11%
Travail
13
Développeur 13
Évaluation
(625)
Projets
843
48%
Arbitrage
27
37% / 15%
En retard
63
7%
Travail
14
Développeur 14
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
Company is looking for a reliable trading strategy for long-term use. We are only interested in algorithmic systems with logical and transparent entry/exit reasoning. Critical Condition: The use of any form of Martingale , Grid , averaging , or " sitting out " losses is strictly prohibited. Every trade must be accompanied by a fixed or calculated Stop Loss. Requirements for the Proposal: 1. Delivery Format: Full
Salom, Menda allaqachon ishlaydigan MQL5 ekspert maslahatchisi bor . EA to'liq ishlaydi , savdolarni to'g'ri ochadi va boshqaradi hamda qat'iy qoidalarga asoslangan mantiqqa amal qiladi . Men noldan yangi EA yaratmoqchi emasman . 🔹 Allaqachon bajarilgan ishlar: EA MQL5 da yozilgan Strategiya mantig'i to'liq va barqaror Kundalik zona mantig'i to'g'ri ishlaydi Keyingi M5 shamida yozuv bajariladi O'zgartirish (teskari)
I want a reliable and broker-independent copy-trading solution that copies trades from a master MT5 account to multiple MT4 and/or MT5 client accounts. The system is designed for stable live trading and works with any broker, handling common differences in symbols, pricing, and execution. The copier supports full trade synchronization, including trade opening, closing, partial closes, and SL/TP modifications, with
EA for mt4 30+ USD
I'm looking for an experience developer that can help develop an EA based Strategy below into EA itself no issues if used martingale & fix lot . Symbol: XAUUSD i will explain to the developer more datils before doing the EA. i will send the indicator and the set point. 1- indicator extreme 2- stochastic Oscillator can you add lots of features to your EA which will be so much useful such as 1- Trailing stop 2-Break
PAIR : EURUSD ONLY TIMEFRAME: M1 SESSION:LONDON SESSION ONLY(CONFIGURABLE START / END TIME) TREND FILTER: - USE VWAP AS MAIN TREND FILTER - BUY ONLY WHEN PRICE IS ABOVE VWAP - SELL ONLY WHEN PRICEIS IS BELLOW VWAP STRUCTURE CONDITION : - TRADE ONLY AFTER A VALID BOS (BREAK OF STRUCTURE) - BOS MUST BE IN THE SAME DIRECTION AS VWAP TREND -IGNORE COUNTER-TREND BOS ENTERY CONDITION (ORDER BLOCK ): - AFTER BOS , WAIT FOR
TDI FILTER 30+ USD
EMA TDI FILTER Hello loking for Tdi indicator that use ema as filter ema 200 for trend direction ema 50 for pullback for pullback price has to touch or go below 50 ema but does not have more tha 2 candle that open and close below 200ema ( if 3 candle open and close below 200ema the signal is false) tdi grean line (rsi line)has to be out of the band and above OB level eg 68) sharkfin/ and then return to the band
Hi, I’m looking for an experienced MT5 developer to build a manual trade copier EA (Master → multiple Client accounts). I trade manually on my master MT5 account, and whatever I do (open, close, SL/TP change, partial close, pending orders) should be copied automatically to my clients’ MT5 accounts through a server-based system (clients can be anywhere, any broker). I want to be honest: I already tried developing the
I am looking for an experienced developer to create an automated trading bot on the Quantower platform based on my trading rules. The bot should execute trades automatically. Kindly bid for it if it is what you can code for me
Hello, I have a strategy written in Pine Script (TradingView) that used to send signals to MetaTrader 5 via PineConnector. Now I want a native MT5 Expert Advisor (EA) written in MQL5, so I can do full backtesting and trading inside MetaTrader without any external bridge. I will provide: - Full Pine Script code - Entry and exit rules (based on BOS and OB logic) - SL/TP and dynamic risk management (R:R) - Breakeven
EA for Gold 30+ USD
I am looking for a good EA robot for gold that will be taking trades on 1 min chart and takes profits on 1$ move on gold. that can take as many entries as possible in a day. example: ENTRY ON 3000.00 AND TAKE PROFIT AT 3001.00. The robot will have all the trading knowledge and strategy with a high win rate

Informations sur le projet

Budget
30+ USD

Client

Commandes passées1
Nombre d'arbitrages0