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

MQL4 Indicatori Esperti

Lavoro terminato

Tempo di esecuzione 11 ore
Feedback del cliente
Great job!
Feedback del dipendente
Many thanks!

Specifiche

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. 



Con risposta

1
Sviluppatore 1
Valutazioni
(636)
Progetti
1007
47%
Arbitraggio
33
36% / 36%
In ritardo
99
10%
In elaborazione
Pubblicati: 6 codici
2
Sviluppatore 2
Valutazioni
(47)
Progetti
61
54%
Arbitraggio
7
86% / 0%
In ritardo
2
3%
In elaborazione
3
Sviluppatore 3
Valutazioni
(23)
Progetti
29
14%
Arbitraggio
3
0% / 67%
In ritardo
3
10%
In elaborazione
4
Sviluppatore 4
Valutazioni
(34)
Progetti
51
43%
Arbitraggio
5
40% / 20%
In ritardo
14
27%
Gratuito
Pubblicati: 2 codici
5
Sviluppatore 5
Valutazioni
(361)
Progetti
644
26%
Arbitraggio
92
72% / 14%
In ritardo
12
2%
In elaborazione
Pubblicati: 1 codice
6
Sviluppatore 6
Valutazioni
(589)
Progetti
1070
50%
Arbitraggio
39
28% / 41%
In ritardo
49
5%
Gratuito
Pubblicati: 1 articolo, 8 codici
Ordini simili
I have 2 trading view indicators by GainzAlgo that I want code to mt5 , could u advise? I need you to give me response if you can convert This
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
Mr quetta 100+ USD
Yes, that is exactly what I need. The bot should not be restricted to a fixed list of currency pairs. It should technically scan all available Quotex pairs in real time and automatically select the pair where the market conditions are strongest. The bot should analyze each pair using multiple confirmations, such as short-term price momentum, trend direction, market structure, support/resistance, candle formation
Platform: TradingView Programming Language: Pine Script v6 Type: Custom Indicator Project Name: Scalping Reaction Zones + Valid Order Blocks MAIN GOAL I need a custom TradingView indicator for scalping. The indicator must detect: 1. Reaction / Explosion Zones 2. Valid Order Blocks 3. Combined Reaction Zone + Order Block zones The indicator should NOT generate: Buy signals Sell signals TP SL Entry signals Trading
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
Indicador Maximas e Minimas + Super Trend O Indicador MAX/MIN é um indicador de análise técnica para o MetaTrader 5 , desenvolvido para ajudar você a identificar regiões importantes de preço e possíveis oportunidades de compra e venda. O que ele faz MAX/MIN: identifica máximas e mínimas relevantes do mercado e mostra os preços no gráfico. HH / HL / LH / LL: ajuda a visualizar a estrutura do mercado, mostrando quando
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I'm looking for an experienced developer to create an automated gold trading bot. The bot should be compatible with MetaTrader 4/5 and TradingView. Key Requirements: - Automated trading bot - Compatible with MetaTrader 4/5 and TradingView - Implement scalping and swing trading strategies Ideal Skills and Experience: - Proficiency in trading algorithms - Experience with gold trading - Familiarity with MetaTrader and
I need a robust optimization of my MT5 EA, mainly for XAUUSD (Gold). Please optimize the existing adjustable parameters such as entry/exit settings, SL/TP, trailing/break-even settings, and any other strategy parameters that are appropriate. I want the optimization focused on stable profitability, low/moderate drawdown, and robustness rather than simply the highest possible profit. Please use out-of-sample testing

Informazioni sul progetto

Budget
30+ USD
Scadenze
da 1 giorno(i)