Modification to EA Stop Trading Function using Global Variable

MQL4 Indicatori Esperti

Lavoro terminato

Tempo di esecuzione 3 giorni

Specifiche

I require help to get my stop trading function to work (EA is setting GV but not reading to stop trading):

This is how it should work, once a trade is open EA should set Global Variable “_stoptrading”

Example GV: "AUDUSD"_stoptrading"magicnumber"


EA reads (bool stoptrading = GlobalVariableGet(symbol + "_stoptrading") and should not open more than the allowed additional trades per symbol “(input int)max_trades_per_symbol” and not more than the total allowed open trades “(input int) max_trades_total” so if either SL or TP hit no trades are open even if buy/sell conditions met until next Day (Open of new D1 Candle).

Work will be done remotely on my PC please dont bid if you cant work this way. Thank you.


Con risposta

1
Sviluppatore 1
Valutazioni
(19)
Progetti
24
8%
Arbitraggio
9
33% / 33%
In ritardo
1
4%
Caricato
2
Sviluppatore 2
Valutazioni
(4)
Progetti
4
50%
Arbitraggio
5
0% / 100%
In ritardo
0
Gratuito
3
Sviluppatore 3
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
4
Sviluppatore 4
Valutazioni
(258)
Progetti
323
30%
Arbitraggio
34
26% / 65%
In ritardo
10
3%
In elaborazione
5
Sviluppatore 5
Valutazioni
(2668)
Progetti
3400
68%
Arbitraggio
77
48% / 14%
In ritardo
342
10%
Gratuito
Pubblicati: 1 codice
6
Sviluppatore 6
Valutazioni
(11)
Progetti
18
28%
Arbitraggio
4
50% / 50%
In ritardo
1
6%
Gratuito
7
Sviluppatore 7
Valutazioni
(3)
Progetti
1
0%
Arbitraggio
5
0% / 100%
In ritardo
0
Gratuito
8
Sviluppatore 8
Valutazioni
(45)
Progetti
91
13%
Arbitraggio
34
26% / 59%
In ritardo
37
41%
Gratuito
9
Sviluppatore 9
Valutazioni
(14)
Progetti
15
40%
Arbitraggio
2
50% / 50%
In ritardo
1
7%
Gratuito
10
Sviluppatore 10
Valutazioni
(298)
Progetti
477
40%
Arbitraggio
105
40% / 24%
In ritardo
81
17%
Caricato
Pubblicati: 2 codici
11
Sviluppatore 11
Valutazioni
(74)
Progetti
84
64%
Arbitraggio
5
100% / 0%
In ritardo
9
11%
Gratuito
12
Sviluppatore 12
Valutazioni
(453)
Progetti
566
26%
Arbitraggio
24
42% / 38%
In ritardo
85
15%
Gratuito
Pubblicati: 6 codici
13
Sviluppatore 13
Valutazioni
(190)
Progetti
233
56%
Arbitraggio
13
15% / 54%
In ritardo
43
18%
Gratuito
14
Sviluppatore 14
Valutazioni
(40)
Progetti
43
58%
Arbitraggio
2
50% / 0%
In ritardo
1
2%
In elaborazione
Pubblicati: 5 codici
15
Sviluppatore 15
Valutazioni
(14)
Progetti
17
18%
Arbitraggio
2
0% / 100%
In ritardo
3
18%
Gratuito
16
Sviluppatore 16
Valutazioni
(271)
Progetti
553
50%
Arbitraggio
57
40% / 37%
In ritardo
227
41%
In elaborazione
17
Sviluppatore 17
Valutazioni
(45)
Progetti
46
24%
Arbitraggio
34
9% / 85%
In ritardo
10
22%
Gratuito
18
Sviluppatore 18
Valutazioni
(20)
Progetti
26
38%
Arbitraggio
6
33% / 50%
In ritardo
0
Gratuito
19
Sviluppatore 19
Valutazioni
(171)
Progetti
195
42%
Arbitraggio
13
8% / 54%
In ritardo
9
5%
Gratuito
Pubblicati: 3 codici
Ordini simili
Hello, I'm looking for EA or indicator that would help me reach at least 0.5 lot daily on XAUUSD pair. I trade with 30-35 spread on live standard account. 0.3 to 0.5 lot on XAUUSD is all i need per day, without losing too much money during week or month doing that. Every advice od product is welcome. tg @stellarcptadmin
Professional MT5 Multi-Asset Trading Robot Realistic Architecture & Practical Characteristics Specification Below is a filtered, realistic, and practical specification for an excellent automated MT5 Expert Advisor focused on XAUUSD scalping (M1–M15) with multi-asset capability. I've removed marketing fluff and kept only what's technically achievable and profitable in live trading conditions. CORE IDENTITY Attribute
Mobeen 200 USD
I am looking for a professional EA (Expert Advisor) trading bot for XAUUSD with a high success rate and low drawdown. Key requirements: Consistent and stable profitability Low drawdown (preferably under 10%) Strong risk management High risk-to-reward ratio No martingale or dangerous recovery systems Works on MT4/MT5 Adjustable lot size, stop loss, and take profit News filter and spread filter Backtesting and verified
Expert Advisor Development Specification (MT5) Project Overview I am looking for an experienced MQL5 developer to build a professional Expert Advisor for MetaTrader 5 dedicated exclusively to Bitcoin trading (BTCUSD / BTCUSDT). The objective is to create a robust, adaptive trading system focused on consistency, controlled drawdown, and long-term scalability. The EA must NOT use: Martingale Grid systems Recovery
Dear All i am working on strategy in forex market specifically in xausud and i just want someone to make it automatic execution mode as per my requirements with propee risk management my broker is exness and i have an account in MT5
✅ MT4 EA Developer Checklist (For Your Ladder EA) 1️⃣ Indicator Integration EA reads signals from provided custom indicator (.ex4 or .mq4) Detects “Buy Next” / “Sell Next” signals on current candle Works with arrow-based or buffer-based signals 2️⃣ Next Candle Execution EA does not trade on the candle where the signal appears Orders placed only at first tick of the next candle Timeframes supported: M1, M5, M15
Hi to all, I need a modification of an existing grid EA with the following instructions: Add the following optional external inputs to the attached Expert Advisor: input bool TradeModeAgainstTrend ( TMAT ) = true ; input int CounterTrendLotsToStartTMAT = 0.15 ; input double CoefficientForTrendLots = 0.30 ; input double MaxTrendLot = 0.08 ; input bool OneSideTMATOnly = true ; input double CombinedClosureAmount = 10.0
Simple EA 100+ USD
I need write EA which load csv file which content prices where is expected support/resistance level. When market price overstep price from csv file, EA open trade some pips above/under csv file price. Example: at symbol EURUSD market price overstep 1.16500 where is expected resistance. EA open trade pending order sellstop 1.1647 (3 pips will be external input). Trade will be closed based on smart trailling stoploss
Hello, i need expert developer that have been develop so many profitable AI bots that work for mt5 and ctrader autonomously if you know you can easily execute this requirement bid for it. NOTE:- YOU MUST COME WITH SAMPLE FOR THE 2 TRADING PLATFORM. While i take a look at your profile and reach out to you thanks
Hi, GOLD EA is an automated trading robot designed for MetaTrader 5, focused mainly on GOLD/XAUUSD trading. The EA uses a combination of multi-timeframe trend confirmation, EMA pullback logic, ADX strength filtering, support/resistance rejection, momentum breakout, and reversal capture modules to identify potential Buy and Sell opportunities. Strategy and Trading Logic: The EA is designed to detect market direction

Informazioni sul progetto

Budget
40 - 50 USD