Modification to EA Stop Trading Function using Global Variable

MQL4 Indicators Experts

Job finished

Execution time 3 days

Specification

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.


Responded

1
Developer 1
Rating
(21)
Projects
27
7%
Arbitration
9
33% / 33%
Overdue
1
4%
Working
2
Developer 2
Rating
(4)
Projects
4
50%
Arbitration
5
0% / 100%
Overdue
0
Free
3
Developer 3
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
4
Developer 4
Rating
(265)
Projects
333
29%
Arbitration
36
28% / 64%
Overdue
10
3%
Loaded
5
Developer 5
Rating
(2672)
Projects
3407
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
6
Developer 6
Rating
(11)
Projects
18
28%
Arbitration
4
50% / 50%
Overdue
1
6%
Free
7
Developer 7
Rating
(3)
Projects
1
0%
Arbitration
5
0% / 100%
Overdue
0
Free
8
Developer 8
Rating
(45)
Projects
91
13%
Arbitration
34
26% / 59%
Overdue
37
41%
Free
9
Developer 9
Rating
(14)
Projects
15
40%
Arbitration
2
50% / 50%
Overdue
1
7%
Free
10
Developer 10
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes
11
Developer 11
Rating
(74)
Projects
84
64%
Arbitration
5
100% / 0%
Overdue
9
11%
Free
12
Developer 12
Rating
(453)
Projects
566
26%
Arbitration
24
42% / 38%
Overdue
85
15%
Free
Published: 6 codes
13
Developer 13
Rating
(190)
Projects
233
56%
Arbitration
13
15% / 54%
Overdue
43
18%
Free
14
Developer 14
Rating
(44)
Projects
51
59%
Arbitration
2
100% / 0%
Overdue
1
2%
Free
Published: 5 codes
15
Developer 15
Rating
(14)
Projects
17
18%
Arbitration
2
0% / 100%
Overdue
3
18%
Free
16
Developer 16
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
17
Developer 17
Rating
(45)
Projects
46
24%
Arbitration
34
9% / 85%
Overdue
10
22%
Free
18
Developer 18
Rating
(20)
Projects
26
38%
Arbitration
6
33% / 50%
Overdue
0
Free
19
Developer 19
Rating
(171)
Projects
195
42%
Arbitration
13
8% / 54%
Overdue
9
5%
Free
Published: 3 codes
Similar orders
I am looking for an experienced Sierra Chart ACSIL (C++) developer to create a custom indicator that measures the average Prior Day High-Low range over a configurable number of trading days (default: 7 days) using a 23-hour trading session
I have a technical specification ready for a custom alert indicator in NinjaTrader 8 (NinjaScript / C#). Important clarification: it is NOT an automatic trading bot, it is solely a visual indicator (arrows/lines on the chart) and sound alerts (notifications) based on EMA crossovers and range breakouts (ORB 15m) on lower timeframes for futures (MES). I already have the exact rules written out unambiguously
Custom MT5 EA for buy stop and sell stop breakout strategy.’ ‘Requirements, develop a custom Expert Advisor for MetaTrader 5 that places buy-stop and sell-stop pending orders based on defined breakout rules.’ ‘All important values adjustable via inputs.’ ‘Includes stop loss, take profit, trailing stop, and configurable risk management.’ ‘One trade at a time, works on demo before live.’ Provide source code and
I have an automated trading strategy in NinjaTrader 8 (C# / NinjaScript) that is currently under development. Before diving into technical details, I’d like to ask a quick question from someone who's interested. Do you work on existing / in-progress codebases to debug, refactor, or add new features, or do you strictly build projects from scratch? NOTE : Only professional Developer should apply for this project
السلام عليكم ورحمة الله وبركاته، ​أبحث عن مبرمج MQL5 خبير ومتمكن جداً لتطوير روبوت تداول (Expert Advisor) محترف لمنصة MetaTrader 5 يعمل باستراتيجية هيدج محددة بصفقة واحدة فقط في كل اتجاه (1 Buy & 1 Sell Max) مع إدارة مخاطر صارمة. ​المواصفات والاستراتيجية المطلوبة: ​1. آلية الهيدج المحدود (Single Position Hedging Limit): ​الحد الأقصى للصفقات: يُسمح للروبوت بفتح صفقة شراء واحدة (1 Buy) وصفقة بيع واحدة (1 Sell) فقط كحد
Looking for A verifiable, disciplined XAUUSD analyst with controlled drawdown, consistent stop-loss use, clear communication and the capacity to service a live community. To send daily London and New York signals exclusively in my channel on Telegram
SENIOR MQL5 / QUANTITATIVE DEVELOPER REQUIRED — PROFESSIONAL AI-ASSISTED MT5 TRADING SYSTEM Project Overview I am seeking a highly experienced MQL5 developer, quantitative trading-system engineer or small specialist team to design and build a professional, fully auditable MetaTrader 5 trading system. This is not a request for a basic indicator conversion, copied Expert Advisor, martingale robot, grid-recovery system
Hello, I'm working since few months on a project which is running. But there are entry Chase Problem between Paper and Live order Can you help investigate that. I know that entry execution differences between Paper and Live trading are fairly common and can be caused by factors such as order type, execution timing, slippage, market data differences, or broker/API behavior. I‘m stuggling bc paper made full profit and
Platform MetaTrader 5 (MT5) MQL5 Source Code Required Compatible with Exness MT5 both standard and cent accounts/ICMarket accounts Works on EUR/USD only (initial version) ⸻ Objective Develop a fully automated AI Expert Advisor based on ICT Smart Money Concepts (SMC). The EA must only execute high-probability trades that satisfy all required conditions before opening a position. The EA must avoid overtrading and
السلاموني | ​أبحث عن مبرمج MQL5 قوي تداول تداول (EA) لمنصة MetaTrader 5 يعمل بإستراتيجية Hedging with Trailing Stop. المواصفات المطلوبة: ​العمل: يعمل الروبوت على مدار اليوم ويقوم بتشغيله بشكل مستمر. ​التحويط (التحوط): عند فتح الصفقة، يقوم جهات مختصة بمحور رئيسي مختلف ويبعد النظر عن نطاق محدد. ​ملاحقة التليفون المباشر (Trailing Stop): ترك التداولات الرابحة مع، ولا يتم إغلاقها إلا عند انعكاس السعر المحدد (Trailing

Project information

Budget
40 - 50 USD