Advanced Money Management for existing EA - coder needed!

MQL4 Experts

Job finished

Execution time 2 hours
Feedback from employee
It was very good, he sent straight forward details!
Feedback from customer
Super fast and on point! I can definitely recommend.

Specification

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!

Responded

1
Developer 1
Rating
(225)
Projects
284
42%
Arbitration
15
13% / 47%
Overdue
67
24%
Free
2
Developer 2
Rating
(38)
Projects
61
30%
Arbitration
5
20% / 40%
Overdue
0
Free
3
Developer 3
Rating
(115)
Projects
129
18%
Arbitration
11
27% / 55%
Overdue
4
3%
Free
4
Developer 4
Rating
(17)
Projects
22
5%
Arbitration
7
14% / 29%
Overdue
3
14%
Free
5
Developer 5
Rating
(277)
Projects
334
55%
Arbitration
14
36% / 29%
Overdue
1
0%
Free
Similar orders
I have simple EA i want to modify its parameters. If you are good at modifying EAs contact me for more details. I will issue the source code then you return after finishing without changing the buy or sell conditions
the code wasn't mine, i have got it somewhere on the web, but i like the performance of the EA, so i want to use it on mt5 platform. the given code based on price movements with ladder entry concept
* Advanced level dev only, NDA required * Hi, I have a multi timeframe, multiindicator expert that requires additional features added to it. First started development 5 years ago. Upgrading with new features. To be added Entry - Add Stochastic and CCI options for trade entry to be added to existing signal options. Add config options to existing menu Bulk Exit - Master switch for close all trades based on basket
I am developing a master EA that integrates several sub-EAs. The project is complex, and the documentation is thoroughly structured, spanning 50 pages with detailed step-by-step procedures. 1st sub-EA: This EA opens trades without using indicators. Instead, it opens a new trade based on the color or status of the last candle. For instance, if the last candle was green, a new buy trade is opened. 2nd sub-EA: This EA
Good Day I would like to order a trading robot. Pairs: XAUUSD (GOLD) EUR/USD USD/JPY The robot should be trading daily with TP/SL build in, would like to have trailing and stop loss, should execute up to 5 trades (preffarable setting choice) up to 10 trades Los sizes to be choise setting, must also trade major US vews events Like:US- PPI, CPI, NFP, Sales m/m and so on Must also show/display alert when opening
Hello Guys, I need a trading bot for the MT5 to place order based on my trading strategy which is based on - >> entry based on EMA with rejection from specific levels like support and resistance area - levels and time frame i will apply into the robot manually on daily basis. also need - trailing stoploss , shift to breakeven after gaining some points. need a highly expert developer
Trade Manger EA 30+ USD
Hello Programmer! I am looking to build an EA that will place my trade and manage it. Once i have manually found my setup, I will want an EA to open the trade, set the R:R and manage it according to my specifications. please take a look at the attached to get an Idea of what I would like. I will require the source code once completed
Hello there i need someone who will create a robot that will calculate the movement between buy/sell and show where to take profit the robot should work with all currency and indices including stock
EA to send account history to web request. It should send every 5 mins or when there is an update. It then sends the json to a web request where gain, drawdown, balance, equity will be displayed
I have a full strategy based on indicator and candle based on . i would like to make it into a robot which will trade for me on a specific time and specific rules. i need a person who can do this project for me. If you have done this type of job . you are most welcome for this. Apply only if you know binary trading option and binomo trading platform well and how it works

Project information

Budget
50+ USD
VAT (20%): 10 USD
Total: 60 USD
For the developer
45 USD