Modification to EA Stop Trading Function using Global Variable

MQL4 Indicadores Experts

Trabalho concluído

Tempo de execução 3 dias

Termos de Referência

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.


Respondido

1
Desenvolvedor 1
Classificação
(19)
Projetos
23
9%
Arbitragem
6
33% / 50%
Expirado
1
4%
Carregado
2
Desenvolvedor 2
Classificação
(4)
Projetos
4
50%
Arbitragem
5
0% / 100%
Expirado
0
Livre
3
Desenvolvedor 3
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(253)
Projetos
316
29%
Arbitragem
34
26% / 65%
Expirado
10
3%
Livre
5
Desenvolvedor 5
Classificação
(2655)
Projetos
3373
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
6
Desenvolvedor 6
Classificação
(11)
Projetos
18
28%
Arbitragem
4
50% / 50%
Expirado
1
6%
Livre
7
Desenvolvedor 7
Classificação
(3)
Projetos
1
0%
Arbitragem
5
0% / 100%
Expirado
0
Livre
8
Desenvolvedor 8
Classificação
(45)
Projetos
91
13%
Arbitragem
34
26% / 59%
Expirado
37
41%
Livre
9
Desenvolvedor 9
Classificação
(14)
Projetos
15
40%
Arbitragem
2
50% / 50%
Expirado
1
7%
Livre
10
Desenvolvedor 10
Classificação
(296)
Projetos
475
40%
Arbitragem
105
40% / 24%
Expirado
80
17%
Ocupado
Publicou: 2 códigos
11
Desenvolvedor 11
Classificação
(74)
Projetos
84
64%
Arbitragem
5
100% / 0%
Expirado
9
11%
Livre
12
Desenvolvedor 12
Classificação
(452)
Projetos
565
26%
Arbitragem
24
42% / 38%
Expirado
85
15%
Trabalhando
Publicou: 6 códigos
13
Desenvolvedor 13
Classificação
(190)
Projetos
233
56%
Arbitragem
13
15% / 54%
Expirado
43
18%
Livre
14
Desenvolvedor 14
Classificação
(34)
Projetos
35
60%
Arbitragem
1
100% / 0%
Expirado
1
3%
Trabalhando
Publicou: 5 códigos
15
Desenvolvedor 15
Classificação
(14)
Projetos
17
18%
Arbitragem
2
0% / 100%
Expirado
3
18%
Livre
16
Desenvolvedor 16
Classificação
(271)
Projetos
553
50%
Arbitragem
57
40% / 37%
Expirado
227
41%
Trabalhando
17
Desenvolvedor 17
Classificação
(45)
Projetos
46
24%
Arbitragem
34
9% / 85%
Expirado
10
22%
Livre
18
Desenvolvedor 18
Classificação
(18)
Projetos
24
38%
Arbitragem
6
33% / 50%
Expirado
0
Livre
19
Desenvolvedor 19
Classificação
(171)
Projetos
195
42%
Arbitragem
13
8% / 54%
Expirado
9
5%
Livre
Publicou: 3 códigos
Pedidos semelhantes
looking for a highly experienced mql5 developer to build a professional trading ea based on multi timeframe top down analysis and market structure concepts the system should combine higher timeframe context with lower timeframe execution and provide both precise logic and clean visual representation on chart ⸻ core requirements • implementation of multi timeframe logic higher timeframe bias combined with lower
I am looking for an experienced Pine Script developer to create a custom TradingView indicator based on a rule-based forex trading strategy. The strategy focuses on breakout and retest setups, combined with multi-timeframe confirmation for precise entries. Scope of Work Detect key support and resistance levels Identify strong breakout candles (close beyond level with momentum) Confirm valid retest of the broken level
🏆 HIRING: Quantitative Gold (XAU/USD) Trading Strategy Developer ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📌 PROJECT OVERVIEW ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ I am building a professional trading signal platform (xtraderlab.com) and need an experienced quant trader or algo developer to design, code, and backtest a high-performance intraday Gold (XAU/USD) trading strategy. The strategy will be integrated into an existing
Manly 30 - 200 USD
ZigZag based on oscillators is needed The idea of ​​the indicator Create a ZigZag indicator, which is constructed based on extreme values determined using oscillators. It can use any classical normalized oscillator, which has overbought and oversold zones. The algorithm should first be executed with the WPR indicator, then similarly add the possibility to draw a zigzag using the following indicators: CCI Chaikin RSI
AI Trading Bot 30 - 80 USD
Essential Components for Indicator Specification Objective & Overview: Briefly describe what the indicator calculates (e.g., trend, momentum, volatility) and its main purpose. Input Parameters (Variables): List all user-definable inputs (e.g., Moving Average periods, ATR multiplier) to avoid hardcoding values. Detailed Logic/Calculation Rules: Explain the formula or logic to calculate indicator values. Define
Hi, I hope you’re doing great. I’d like to share the project details. The original EA is already working, but I need you to first review and verify that all existing features are functioning correctly. After confirming everything works properly, the next task is to add a simple user dashboard that shows the number of detected zones, buy/sell/none status, and includes an ON/OFF button. Also, please make sure that
Indicator 250+ USD
Looking for an all in one buy sell indicator I'm looking for a strategy too as part of the project I'm willing to pay well but I will want to test it before proceeding with contract. I'm looking for a developer that is skilled motivated open for future projects... if you aren't one of those do us a favor and just don't respond
Im after a person to copy, exactly MACD in TRADINGVIEW to use on MT5. Ive tryed alot of the apps available...Tradingview works for me. Im also after a person to make a real time chart, overlayed on the delayed chart Thanks
need a dots marking of a simple rules pullback indicator. in the .tpl file look at 28 Jan 2026, TF M5 basically it is just overlaping lows or highs of the previous candle price. there are 2 scenario to accomodate: 1. simple pullbacks 2. pullbacks with inside bar and outside bar involved
buy condition when blue color appears sell condition when yellow color appears close all buys when there is a sell order close all sells when there is a buy order

Informações sobre o projeto

Orçamento
40 - 50 USD