Add dynamic lot size, martingale and maximun loss in Points to an Expert Advisor

MQL4 Indicadores Experts

Trabalho concluído

Tempo de execução 11 horas
Comentário do cliente
Great job!
Comentário do desenvolvedor
Many thanks!

Termos de Referência

Hi, I have an Expert Advisor based on the StepMa indicator and I would like to add 3 functions to it: 


1. Dynamic lot size : Add a dynamic lot size calculation. 

You can choose between Fix Lot size (the one we currently have) or Dynamic lot size. 

If Dynamic lot is True,  you are enabling dynamic lot calculation in percent of free margin for the new position. 

In this way, when Dynamic is true, the larger the free marging becomes, the larger the size of the initial lot will be. 

Here you can see how it is possible to implement a dynamic lot size: 

2. Martingale option: If the EA closes the previous positions in loss then the next time the lot size will be multiplied by X. You can choose the value of X in the Expert inputs tab. Once the EA closes the positions in profit we go back to the initial lot size (fix lot size or dynamic lot size calculated from the free margin)

If Martin increase lot is set to 1 then martingale is not enabled. 


3. Stop loss. Calculation of the maximun loss in Points. The EA currently closes all positions automatically when the maximun profit in points is reached. I want to add the same function when the total loss in points is reached. You can choose the number of points in loss for closing all the positions. The EA will close all the positions when the total loss in points is reached. Force closure of all positions when the total floating loss is reached. 



Respondido

1
Desenvolvedor 1
Classificação
(635)
Projetos
1005
47%
Arbitragem
33
36% / 36%
Expirado
99
10%
Trabalhando
Publicou: 6 códigos
2
Desenvolvedor 2
Classificação
(46)
Projetos
60
53%
Arbitragem
7
86% / 0%
Expirado
2
3%
Livre
3
Desenvolvedor 3
Classificação
(23)
Projetos
29
14%
Arbitragem
3
0% / 67%
Expirado
3
10%
Trabalhando
4
Desenvolvedor 4
Classificação
(34)
Projetos
51
43%
Arbitragem
5
40% / 20%
Expirado
14
27%
Livre
Publicou: 2 códigos
5
Desenvolvedor 5
Classificação
(361)
Projetos
644
26%
Arbitragem
92
72% / 14%
Expirado
12
2%
Trabalhando
Publicou: 1 código
6
Desenvolvedor 6
Classificação
(589)
Projetos
1069
50%
Arbitragem
39
28% / 41%
Expirado
49
5%
Trabalhando
Publicou: 1 artigo, 8 códigos
Pedidos semelhantes
TumiiFX 30 - 20000 USD
1. Use two EMAs: 20 and 50. If EMA 20 is above EMA 50 → uptrend (look for buys) If EMA 20 is below EMA 50 → downtrend (look for sells) 2. Wait for a pullback into the area between the two EMAs. - For buys: price must touch or move between EMA 20 and EMA 50 during the last few candles. - For stils: same idea, but in a downtrend. 3. Entry signal: Buy: a bullish engulfing candle in an uptrend after the pullback
I am looking for an experienced MQL4 developer to build a professional High-Frequency Trading (HFT) / Low-Latency Expert Advisor for MetaTrader 4 (MT4) . The EA will be deployed on an IC Markets Live account and should be optimized for the fastest possible execution using a low-latency VPS located in LD4 or NY4 . The primary instruments will be US30 and XAUUSD (Gold) . The goal is to create an EA capable of
A robot 50+ USD
HIGH-FREQUENCY M5/M15 CONCURRENT ENTRY SNIPER import time class HighFrequencySniper: def __init__(self): self.target_profit = 25.00 # Targeted Delta Move self.max_execution_time = 3600 # 1 Hour Sandbox (Seconds) self.lot_allocation = "CALIBRATED_TO_RISK" def execute_hft_scan(self, current_price, m5_rsi, m15_order_block): print(f"[SCANNING] Current Kernel Metric: ${current_price:.2f
I need a trading bot, please i need this project urgently and when messaing me kindly send me samples of past works and dont forget i need the project to be done as soon as possible
A lightweight MT5 chart overlay displaying total floating P&L, average entry price, combined lot size, and current symbol exposure as a percentage of account balance, all updating in real time with color-coded profit/loss indicators, delivered with clean object-oriented source code and no DLL dependencies
QUIERO CONSEGUIR EL CODIGO FUENTE DE ESTE INDICADOR QUE ME GUSTA MUCHO TAMBIEN TIENE EL NOMBRE DE ET BANDS O ENTRY EXIT TIMING . no se los componentes pero estas son las imagenes. que mejor lo describen
I am looking to convert my existing TradingView Pine Script (v5) strategy into an MQL5 Expert Advisor (EA) for MetaTrader 5. Strategy Details: Asset: Gold (XAUUSD) Timeframe: 15-minute Strategy Logic: The strategy is based on a breakout concept. Anchor Candle: The base calculation starts from the Specified Candle Entry Window: The EA should only look for entries As Per Indicator Risk Management: The strategy
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from publishing Orders in the Freelance
Akram boushaba 30 - 500 USD
مرحبا كيف حالكم انا اكرم مهتم بالتداول احاول ان اصمم برنامج روبوت قادر على التداول من تلقاء نفسه من يمكنه ان يساعدني او يعلمني كيف استطيع فهل ذلك وسأكون ممتناً له وشكرا لكم
MetaTrader In-App Trade Alerts An existing MetaTrader terminal is already running on my side, but its account is kept hidden for privacy reasons. I need a specialist to wire up native in-app notifications so that every time a position is opened or later closed I see an immediate pop-up inside the platform—no emails or SMS, just the built-in alert window (and the usual MT push to mobile if that comes automatically

Informações sobre o projeto

Orçamento
30+ USD
Prazo
de 1 dias