Advanced Money Management for existing EA - coder needed!

MQL4 Experts

Trabalho concluído

Tempo de execução 2 horas
Comentário do cliente
Super fast and on point! I can definitely recommend.
Comentário do desenvolvedor
It was very good, he sent straight forward details!

Termos de Referência

Hello,

I would like you to add some lines of code to existing EA that I had from Strategy quant program (attachment .mq4). The program by default offers fixed lots, fixed sum and percent of capital money management only. I want to add 2 new money management methods to the EAs that can be also backtested in MT4 strategy tester.

Advanced money manegement methods ::

1. "consec wins" - form of positive progression martingale system. You start with 1 unit of risk per trade. When this trade is a winner you add +1 unit of risk to next trade (so the next trade is 2 units). If this wins again you add +1 unit (3 units now). Anyways if trade loses you start from beginning that is +1 unit. There is also a cycle target included. That is if there are e.g. 8 consec wins that can be defined as end of sucessful cycle ...then you go back to 1 unit risk and start a new cycle (picture below explains it better). 

2. "consec adding" - form of positive progression martingale system. You start with 1 unit of risk per trade. When this trade is a winner you add +1 unit of risk to next trade (so the next trade is 2 units). If this wins again you add +1 unit (3 units now). Anyways if trade loses you substract -1 unit of risk for next trade.

There is also a cycle target included. That is if there are e.g. 8 consec wins that can be defined as end of sucessful cycle ...then you go back to 1 unit risk and start a new cycle (picture below explains it better). The +1 unit is default minimum in any case.

MM systems mentioned above are positive progression systems. Now I would like to code also a feature that can switch systems to negative progression system. It is like progressive systems above, but in reverse. For example negative progression "consec wins" system is on the picture below


To recap there are actually 4 MM system from core "consec wins" + "winner adding"

positive progressive "consec wins"

+1 unit after a win, back to 1 unit after any loss or a win at the cycle target. 

positive progressive "consec adding"

+1 unit after a win, -1 unit after a loss, back to 1 unit after a win at the cycle target. 


negative progressive "consec wins"

+1 unit after a loss, back to 1 unit after any win or a loss at the cycle stop-loss. 

negative progressive "consec adding"

+1 unit after a loss, -1 unit after a win, back to 1 unit after a loss at the cycle stop-loss. 


P.S. That is it! I would like to calculate one unit from fixed sum of money that are risked for a trade. For example there is SL of 79 pips that should equal for example to 100 dollars which is 1 unit (parameter of EA). Then 2 units are 200 dollars and so on. Also there should be a possibility to select either positive or negative MM to one of the 2 systems, can be something simple like true or false.  Cycle target is an number that I would like to select in parameter inputs window for EA.

In any case the SL is taken from strategy quant code based on ATR or fixed stop loss for a trade in form of fixed money. I want this new MM to supersede MM from strategy quant and also possibility to backtest this MM in MT4 strategy tester.

Please let me know if it can be done!

Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(225)
Projetos
285
41%
Arbitragem
15
13% / 47%
Expirado
67
24%
Livre
2
Desenvolvedor 2
Classificação
(38)
Projetos
61
30%
Arbitragem
5
20% / 40%
Expirado
0
Livre
3
Desenvolvedor 3
Classificação
(115)
Projetos
129
18%
Arbitragem
11
27% / 55%
Expirado
4
3%
Livre
4
Desenvolvedor 4
Classificação
(17)
Projetos
22
5%
Arbitragem
7
14% / 29%
Expirado
3
14%
Livre
Publicou: 1 código
5
Desenvolvedor 5
Classificação
(277)
Projetos
334
55%
Arbitragem
14
36% / 29%
Expirado
1
0%
Livre
Pedidos semelhantes
My MQL5 Expert Advisor wins most trades with small profits, then suddenly takes one large loss that wipes out weeks of gains. This is the "picking up pennies in front of a steamroller" pattern. Required fix: Find the exact cause of the large losses in the code. Cap the loss on every trade with a fixed stop loss (no martingale or averaging down). Stop trading in dangerous conditions (high volatility, strong trends
AI Forex Trading Bot for MT4 and MT5 I need an advanced Forex trading robot (Expert Advisor) that works on both MetaTrader 4 and MetaTrader 5. The robot should automatically analyse the Forex market, identify BUY and SELL opportunities, and execute trades when the trading conditions are met. It should support GBPUSD, EURUSD, USDJPY and GBPJPY. The robot should use EMA, RSI, MACD, price action and trend analysis
Name: SteelEdge Platform: MetaTrader 5 (MQL5) Expert Advisor Instruments: XAUUSD, EURUSD, US30 Timeframe: H1 (inputs to change it) STRATEGY - Trend filter: buy only when price is above the 200 EMA, sell only when below - Entry: price pulls back to the 50 EMA and a bullish (buy) or bearish (sell) engulfing candle closes - Confirmation: RSI(14) above 50 for buys, below 50 for sells - Stop loss: 1.5 x ATR(14) - Take
I need an existing mt5 expert advisor that can been in trading for more than 12 months. The PF of the ea should not be less than 2.0 and be in profit in the last four months with average profit of not less than 20% per month. The Maximum drawdown should be less than 20% and Max deposit load less than 10%. Such ea should be able to trade with less than or equal to $300. Whats needed is .ex5 and source file is also
Ready to use MT5 bot 99 - 6990 USD
seller must provide the following to be considered... i will answer to all who fit this description, and can purchase more than 1 EA... - brief strategy description - overall EA expectancy - 1 week limited trial version, with whatever settings you consider best
I am a trader looking to acquire an existing, stable, and consistently profitable Expert Advisor (EA) specifically designed primarily for Gold (XAUUSD). This is an outright purchase. I am not interested in developing a new EA from scratch. I am only interested in ready-to-use systems with a genuine, verifiable track record of performance
Aziz Toure 50 - 400 USD
I am an independent trader and entrepreneur based in Côte d’Ivoire. I work in financial markets, analyze trading opportunities, and provide digital financial services. I am also interested in international trade, online business, and developing long-term business activities
SMC Bot Creation 350 - 550 USD
Hello, I am interested in developing a professional MT5 Expert Advisor similar in functionality and technical sophistication to your reference product, Institutional SMC Robot: https://www.mql5.com/en/market/product/187011 I want to develop my own independent EA based on advanced Smart Money Concepts (SMC), with a strong focus on institutional price action, liquidity and market structure. The key functionalities I
(I can't pay 30 for this of course if you can just help.me solve this problem I would appreciate you )It was doing everything perfectly until yesterday this happened this is a python file that copies from telegram Iand send to ea signal if you have any idea what to do or why this happened please tell me
Specify your Requirements Specification here point by point. Try to describe your requirements briefly and clearly, so that your potential developer is able to correctly assess its complexity and cost, as well as the required execution time. A bad or too generic description will result in your order being ignored, or you will spend a lot of time negotiating the details with each applicant. Remember: It is better to

Informações sobre o projeto

Orçamento
50+ USD