I need to add a limit for the number of trades a EA will open in correlation with the current free margin

Trabajo finalizado

Plazo de ejecución 13 horas
Comentario del Cliente
Perfect job by Mikhail. I would recommend him to everyone. He also added extra to what I asked him to do within the short time promised. Thank you so very much!!
Comentario del Ejecutor
Thanks a lot for the order, Ylidor! :)

Tarea técnica

You will need to add to available source code 3 parameters: "MaxOrder"; "FreeMargin<=%" and "FreeMargin>=%". When the FreeMargin would be=x the MaxOrder =x. For example, when FreeMargin<=% =1000 MaxOrder=2; when FreeMargin>=% =2000 MaxOrder=default of EA).

I believe there is a shorter way to write this code but in essence this is what I need, i.e., when the free margin (%) goes below a certain value I want to limit the number of trades that the EA can open and when the free margin recovers, I want the EA to reset the number of trades it can open to the default of the EA.


Archivos adjuntos:

MQ4
SkyUp_EA.mq4
47.6 Kb

Han respondido

1
Desarrollador 1
Evaluación
(636)
Proyectos
1005
47%
Arbitraje
33
36% / 36%
Caducado
99
10%
Trabaja
Ha publicado: 6 ejemplos
2
Desarrollador 2
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(81)
Proyectos
93
31%
Arbitraje
9
22% / 56%
Caducado
5
5%
Trabaja
4
Desarrollador 4
Evaluación
(144)
Proyectos
186
41%
Arbitraje
24
58% / 21%
Caducado
13
7%
Libre
Solicitudes similares
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
I have developed a custom semi-automated MT5 trading workflow for personal use. I am available to discuss its technical implementation, automation features, and overall workflow with developers or traders interested in similar solutions. The project includes MT5 automation, Telegram communication, trade execution tools, and configurable risk management components. If you are working on a similar project or looking
automatic robo sell at bollinger band upwards breach and rsi should above 80 and buy when bollinger breach downwards and rsi is below 30, rsi shoould works only on Gold trade and none ofhe trades
Hello, I need a custom Expert Advisor for MetaTrader 5. I am trading from mobile only. **Account & Style:** - Capital: $5,000 - $10,000 - Risk: Moderate/Balanced - Trading Style: Scalping **Pairs & Timeframe:** - Symbols: EURUSD and XAUUSD - Timeframe: M5 **Strategy:** - BUY: RSI(14) < 30 AND Price > 20 EMA - SELL: RSI(14) > 70 AND Price < 20 EMA - Only 1 trade per symbol at a time - No Martingale / No Grid **Risk
I am looking for an experienced MetaTrader 5 expert. I already have 3 MT5 trading accounts. I need someone to: 1. Help me choose a reliable Windows VPS. 2. Connect to my VPS remotely (AnyDesk or TeamViewer). 3. Install 3 MetaTrader 5 terminals. 4. Configure: - 1 Master Account - 2 Slave Accounts 5. Install and configure a professional Trade Copier. 6. Copy all trades from the Master account to both Slave
I am looking for a highly experienced developer to build a professional, commercial-grade trading indicator for MT4/MT5. I am not looking for a basic indicator or a modified public script. I need a custom solution based on real market logic with high-quality coding standards. Requirements 100% Non-Repainting indicator. Accurate Entry signals. Automatic Stop Loss placement based on real market structure. Automatic
I have an MT4 custom indicator (.ex4) that I use regularly, and I would like an identical MT5 version. Important: I do not have the source code (.mq4). I only have the compiled MT4 indicator. I am looking for an experienced MQL developer who can recreate the indicator's functionality and appearance for MT5 by analyzing its behavior. The MT5 version should match the MT4 version as closely as possible, including
Mac200 50+ USD
I need a Trend following Bot. Here we took entries by looking at two indicator which are 200 period ema and 12 26 9 MacD. Rules for entry exit are: Buy trade: When market is above 200 ema and MacD Line cross over the signal line and this cross over happened below the zero line of MacD indicator. We simply put Buy trade. Sell trade: When market is below 200 ema and MacD line crosses below the signal line and this
Iconic Boy 300 - 400 USD
Am looking for a bot to trade .so that I can be able to trade and become very successful and make some profit so that I cannot sleep on a empty stomach
Hello Traders and Investors, I am a professional algorithmic trading developer specialized in building high-quality Expert Advisors (EAs), Indicators, Scripts, and Trade Management Tools for MetaTrader 4 and MetaTrader 5. With extensive experience in financial markets and trading automation, I can transform your trading ideas into reliable and efficient solutions with clean, optimized, and well-structured code. My

Información sobre el proyecto

Presupuesto
30 - 40 USD
Plazo límite de ejecución
de 1 a 3 día(s)