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
(636)
Projetos
1007
47%
Arbitragem
33
36% / 36%
Expirado
99
10%
Trabalhando
Publicou: 6 códigos
2
Desenvolvedor 2
Classificação
(47)
Projetos
61
54%
Arbitragem
7
86% / 0%
Expirado
2
3%
Trabalhando
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
1070
50%
Arbitragem
39
28% / 41%
Expirado
49
5%
Livre
Publicou: 1 artigo, 8 códigos
Pedidos semelhantes
Hi, I want to develop a custom SMC (Smart Money Concepts) EA for MT5. My budget is $100. Here are the strategy requirements: 1. Auto identification of BOS, CHoCH, Order Blocks (OB), and FVG. 2. Auto entry when price returns to OB/FVG. 3. Auto SL above/below OB and TP based on Risk-to-Reward ratio (1:2, 1:3). 4. Risk Management (Risk % per trade or fixed lot size), Trailing Stop, Break-Even, and Max Spread filter. 5
I need an experienced MQL5 developer to build a prototype MT5 Expert Advisor called RiskLock. The software should enforce user-defined trading risk rules before trades are executed. It should support risk percentage or fixed monetary risk, calculate position size using account equity, entry price, stop loss, tick value and contract specifications, block or reduce oversized trades, and include daily loss limits
I need EA Lil-MeProBot for MT5. Phone user, deliver .mq5 + .ex5. Symbols: XAUUSD EURUSD GBPUSD USDJPY BTCUSD, M15, Magic 777001 Strategy 6X Confluence score 4/6: 1. EMA 50/200 trend 2. Break of Structure 3. RSI 14 4. Strong body FVG/Order Block 5. Session 8am-9pm GMT+2 6. ATR filter Money Management LASTING: Lot 0.01 fixed, NO martingale, NO grid, Max 1 per symbol Max 2 total, SL ATR*2 TP ATR*3, Daily loss R40 stop
Project Overview I have an existing MT5 Expert Advisor (EA) written in MQL5. The source code ( .mq5 ) will be provided. The underlying strategy is a trend-following system that performs well during trending market conditions, but requires professional quantitative research to improve its ability to identify and avoid highly sideways/range-bound market conditions. The objective of this project is not to build a new EA
I am looking for an experienced MQL5 Expert Advisor (EA) developer to analyze an existing trading setup and develop a similar automated trading robot. Project Overview I have access to a demo trading account where trades are being executed automatically. The trading results look very promising, but I do not know exactly what strategy, logic, indicators, or trade-management rules are being used. I will provide access
Most of the expert is already coded . Create a panel to show the Ratio for the Range . Trigger is based on ratio . Show Distribution / project starts after we clear Distribution
Modification of existing ea …. Add ema filter, add risk percentage per trade, and modify the pips per day filter. I already have the ea code I just need these things added and modifified
Expert Advisors 300+ USD
double CRiskManager::CalculateLotSize(double slPoints) { double balance = AccountInfoDouble(ACCOUNT_BALANCE); double riskMoney = balance * (m_riskPercent / 100.0); double tickValue = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_VALUE); double tickSize = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_SIZE); double pointValue = tickValue / tickSize; double lot = riskMoney / (slPoints * pointValue);
i share my strategy i need a bot trending bot fo mt5 . i attached the photo with this it help to make bot. it basicly 1 hours time frame base. i try but failed to make it
Title: Simple background trading bot for my Oanda account (v20 REST API) Overview Hi, I need a simple, lightweight event based standalone trading bot that connects directly to my Oanda account using broker’s standard REST API (V20 account) via VPS The bot just needs to look at group of 5 currency pairs (manually selectable and adjustable) in different 4 baskets, do some basic percentage math every period, and place

Informações sobre o projeto

Orçamento
30+ USD
Prazo
de 1 dias