MarginGuardBot – Disable EAs Without Open Trades Below 500% Margin Level

MQL5 Experts

Termos de Referência

I want to build a MetaTrader 5 Expert Advisor that monitors the account margin level in real time and performs the following:

Main Functions:

  1. If margin level falls below 500%, the EA should:

  • Disable AutoTrading on charts where an EA is running but has no open trades.

  • Keep EAs running if there are active trades.

  1. If margin level rises above 700%, the EA should:

  • Re-enable AutoTrading on charts that were previously disabled by this EA.

Requirements:

  • Works across multiple charts/symbols.

  • Uses Global Variables or other safe logic to track which charts were disabled.

  • Adjustable check interval (default 10 seconds).

  • Must run from one chart only.

Inputs:

  • MarginLevel_Low (default: 500)

  • MarginLevel_High (default: 700)

  • CheckInterval_Seconds (default: 10)

Optional:

  • Display current margin level and status of EA-disabling actions in a corner of the chart (text overlay).

Please provide .mq5 source code. No external libraries.


Respondido

1
Desenvolvedor 1
Classificação
(189)
Projetos
234
35%
Arbitragem
8
63% / 38%
Expirado
6
3%
Livre
Publicou: 1 artigo, 8 códigos
2
Desenvolvedor 2
Classificação
(30)
Projetos
35
14%
Arbitragem
3
0% / 33%
Expirado
0
Livre
3
Desenvolvedor 3
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(5)
Projetos
4
25%
Arbitragem
1
0% / 100%
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
(461)
Projetos
906
76%
Arbitragem
25
16% / 68%
Expirado
99
11%
Trabalhando
Publicou: 1 artigo, 6 códigos
6
Desenvolvedor 6
Classificação
(7)
Projetos
8
13%
Arbitragem
5
40% / 20%
Expirado
0
Livre
7
Desenvolvedor 7
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
8
Desenvolvedor 8
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
(164)
Projetos
212
20%
Arbitragem
18
44% / 17%
Expirado
0
Trabalhando
11
Desenvolvedor 11
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
I’m looking for a developer to create a custom backtesting tool for MetaTrader 5 (MT5) . The software should allow me to attach it to any chart, rewind in time, and manually backtest strategies as if trading live. Key Features Required Attach to any MT5 chart (multi-timeframe & multi-symbol). Replay historical data with controls (start/stop, speed adjustment, candle-by-candle). Place simulated trades (buy/sell, stop
Simple ea 30+ USD
Will be on MT4 and MT5 It trades with time and timeframe (It can trade on any timeframe but the entry should set to open a trade at a particular time at the end of a timeframe). The entry will be either SELL or BUY depending on the direction I want it to go from which direction the last timeframe closes. 1. A parameter to open a trade at the beginning of the next timeframe when the set time is hit. 2. A parameter if
A coder with experience in Coding indicator to ea and fixing telegram bot message The EA has two indicators installed with two strategy for open trade This will be explained in the document that will be provided The task in summary Remove two of the indicator and replace it with Two indicators i will provide Now we will have three optional indicators installed for opening trade The telegram work initially but i need
Title: Need MT4 Indicator Modification - Buy/Sell Arrows + Alerts Hello developers, I have an existing MT4 indicator that calculates VAH, VAL, and POC levels (volume profile). I would like to modify it to include clear **Buy and Sell arrows** based on the following logic: 🔹 Buy Signal: - Price closes above VAH (Value Area High), after previously being below. - OR: A rejection wick candle near VAL (Value Area Low)
I am looking for an experienced Pine Script developer to fix several specific bugs in a, custom TradingView indicator. The core logic of the indicator is already built, but it has a few functional issues that need to be resolved
I need a ready made EA for MT5 to make a lot of trades every day to earn broker rebates. EA should be stable and do not blow account suitable for forex or gold should work with low deposits like 500-1000 should open min 5 lots daily should be compatible with high spread accounts like 50 for EURUSD only ready made solutions, I dont have any strategy and all methods are allowed. if you have any thing ready please send
Hi Developers, I need High Risk Profit EA , High Frequency Trade not allowed,Need high Profit in short time take high risk, send Trial EA asap, if working good i will pay more..... thanks
Kamohelo Phehlane 50 - 150 USD
The robot must make me a large profits and it must be strategic.It must look for strategies and tell me whether to buy or sell the trade.And it must take a half of the profit and must give me the other half of the profit
Hey, I need someone to troubleshoot and fix my current Breakout EA. Shouldn't take too long to fix, work ist mostly already done. The strategy is clear and simple, but some things don't work like they should: - Optimization / Backtesting problems, trades are not closing as they are supposed to at their desired time - Check my inbuilt Randomization features (I doubt they are working correctly) - Info Panel needs some
//+------------------------------------------------------------------+ //| Expert Advisor: Gold AI Scalping Bot (M1/M5 MA Crossover) | //+------------------------------------------------------------------+ #property copyright "OpenAI" #property version "1.01" #property strict input string symbol = "XAUUSD"; input ENUM_TIMEFRAMES timeframe = PERIOD_M1; // Change to PERIOD_M5 if needed input int fastMA = 5; input

Informações sobre o projeto

Orçamento
30 - 70 USD
Prazo
de 2 para 3 dias

Cliente

Pedidos postados1
Número de arbitragens0