Fix Step Lot Sizing and Money Management Bug in Functioning EA

MQL4 Indicadores Experts

Termos de Referência

The framework of the EA works fine however there are 2 bugs that need fixing within the trade cycle management and Take Profit - money management functions:

Both bug fix's must work correctly in accordance with the Main setting inputs, Pending order inputs and Time to trade inputs. As stated earlier the overall EA functionality works OK however there are errors to fix as explained further...

I will need time to forward test the functionality before I can sign it off as the EA is designed for 15 minute time frame, the forward testing should take no longer than a week, after the final prototype is received.

The take profit function works in that it sets correctly on live trades, however if I set the Take Profit input to 0 and or an unreachable target say 100000 pips when back testing and or optimising it effects the other money management functions. Where the trailing stop functions do not work correctly. So as part of this job the developer will need to ensure the Take Profit functions works in tandem with other money management function for back testing, optimising and on forward/live testing.

The following text explains how the lot sizing functionality should work.

Lot size of first StandardCycleTrade to be set at n%, then after each consecutive win the lot size is increased by n% in accordance to the the CycleTargetPercent until a loss is incurred e.g.  

UseCycleTarget=Yes

StandardCycleTrade=0.25%

CycleTargetPercent=1.00%


First trade win lotsize=0.25%

Second trade win lotsize=1.00%

Third Trade win lotsize=2.00%

Then if the fourth trade is a loss trade the lot size would be reduced to first n% trade lot size on the 5th trade e.g. 

First Trade win lotsize=0.25%

Second Trade win lotsize=1.00%

Third Trade win lotsize=3.00%

Fourth Trade loss lotsize=4.00%

Fifth Trade win Lotsize=0.25%

Sixth Trade win lotsize=1.00%

Seventh Trade loss lotsize=2.00%  

Eight Trade win/lose? lotsize=0.25% etc…….


Please note: The cycle target functionality must also work as a way of limiting drawdown in that lot sizing can be set as such: 

UseCycleTarget=Yes

StandardCycleTrade=1.00%

CycleTargetPercent=0.25%


First trade win lotsize=1.00%

Second trade win lotsize=0.25%

Third Trade win lotsize=0.50%

Then if the fourth trade is a loss trade the lot size would be returned to first n% trade lot size on the 5th trade e.g. 

First Trade win lotsize=1.00%

Second Trade win lotsize=0.25%

Third Trade win lotsize=0.50%

Fourth Trade loss lotsize=0.75%

Fifth Trade win Lotsize=1.00%

Sixth Trade win lotsize=0.25%

Seventh Trade loss lotsize=0.50%  

Eight Trade win/lose? lotsize=1.00% etc…….


Further to this both a UseNumberOfCycles input and a NumberOfCycles input will also be needed, to set the maximum number of lot size increases before returning to the original n% lot size e.g 

UseCycleTarget=Yes

StandardCycleTrade=0.25%

CycleTargetPercent=1.00%

UseNumberOfCycles=Yes

NumberOfCycles=6

 

First Trade win lotsize=0.25%

Second Trade win lotsize=1.00%

Third Trade win lotsize=2.00%

Fourth Trade win lotsize=3.00%

Fifth Trade win lotsize=4.00%

Six Trade win lotsize=5.00%

Seventh Trade win lotsize=0.25%

Eight Trade win lotsize=1.00%

Ninth Trade loss lotsize=2.00%

Tenth Trade win win/lose? =0.25% 


Further to this a UseStayAtMaximum input will also be needed, where UseNumberOfCycles sets the maximum lotsize, however it overrides the re-setting of the NumberOfCycles to n% until a losing trade occurs e.g. 

UseCycleTarget=Yes

StandardCycleTrade=0.25%

CycleTargetPercent=1.00

UseNumberOfCycles=Yes

NumberOfCycles=6

UseStayAtMaximum=Yes


First Trade win lotsize=0.25%

Second Trade win lotsize=1.00%

Third Trade win lotsize=2.00%

Fourth Trade win lotsize=3.00%

Fifth Trade win lotsize=4.00%

Six Trade win lotsize=5.00%

Seventh Trade win lotsize=5.00%

Eight Trade win lotsize=5.00%

Ninth Trade loss lotsize=5.00%

Tenth Trade win lotsize=0.25%

Eleventh Trade win/lose? lotsize=1.0% etc……………. 


I will supply the EA on work step agreement.

I look forward to working with you. Thank you Mike 


 

 

 

 

 

 

 

 

 


Respondido

1
Desenvolvedor 1
Classificação
(1)
Projetos
3
0%
Arbitragem
1
100% / 0%
Expirado
1
33%
Livre
2
Desenvolvedor 2
Classificação
(39)
Projetos
69
9%
Arbitragem
18
11% / 56%
Expirado
18
26%
Livre
3
Desenvolvedor 3
Classificação
(45)
Projetos
59
14%
Arbitragem
31
26% / 52%
Expirado
35
59%
Livre
Pedidos semelhantes
Hello Investors, I'm selling a profitable and stable expert advisor trading on the Gold (XAUUSD) pair using a cutting-edge scalping strategy. The EA is able to generate a stable monthly income without using martingale strategy, and with an optional cut loss in place. Particularly the average monthly gain can go from 2-3% (at a relatively low risk, with an historical max DD of 6%) to 20-30% (with an aggressive style
Hello, I have a strategy and I need a very good programmer who will create me an exprt or make me an indicator that will open positions for buy/sell limit (see picture below). The indicator/Expert will have to open positions (buy/sell limit) regarding the strategy and indicators (I will explain it more in collaboration). Below I will give pictures of what I mean. I will send a link to the telegram group where it
Atomic Analyst Indicator to EA. I have an mt4 indicator called Atomic Analyst. The indicator gives buy/sell signals as shown in the screenshot. I want to know if you can take this indicator, and create an EA that automatically takes the signals. The indicator puts in the SL and TP1, TP2, TP3, TP4, TP5 automatically. I would like the option to put in my lot size parameter and I would also like an automatic trail stop
can you help me with Ctrader i need modification on the linkhttps://docs.google.com/document/d/1fggk49xWbnwahtfOlE-U7G6muZB1FT8eWmftGiY7R-s/edit?usp=sharing can you assist with cTrader modifications to enhance functionality and improve performance. do text me if you a professional on it i will be looking forward to your response best regards
MT4 Expert Advisor 30 - 120 USD
EA sittings The EA utilises the concept of grid and hedging by creating a zone for recovering losing trades It is a continues trading EA without any stop loss. The EA initially aims to trade continually without the need to hedge. The EA enter the first trade following the direction of the moving average (when price is above or below the moving average), and only hedge when, the trade goes against the trend and reach
Would I honestly need is someone who can make a profitable EA for me that can at least make me around $80 a day starting with $50 and the EA must be able to work with exness the EA should automat trades 24/7. Broker = Exness Pairs = USD/JPY XAU/USD and etc Chart time frames = M1 M15 History = last month till last 6 months. Lot size 0.10 take profit at $2 stop
Hello i am seeking a skilled MetaTrader 5 (MQL5) developer to modify an existing Telegram signal copier. The goal is to enhance the copier's functionality, reliability, and user experience. kindly bid this job to get started immediately
Hello, I’m looking for assistance with creating or customizing a TradingView indicator to suit my trading needs. If you have experience in this area, please reach out. Your help would be greatly appreciated. Thanks
# MT4 Expert Advisor Development Rules ## Time Period Definition 1. Allow user to define a specific time period (e.g., 10:00 to 15:00). 2. Identify and store the high and low prices within this period. ## Price Breakout Detection 3. Monitor current price for breakouts above the period high or below the period low. ## Signal Confirmation (signals will be taken on m5 timeframe) 4. After a breakout, wait for a signal
HI Recently purchased VPS, But now i am getting Following message "failed to get list of virtual hosts [404]", I need one help to fix this isues and make sure my EA working on VPS, when my computer off Thank you

Informações sobre o projeto

Orçamento
30+ USD
Desenvolvedor
27 USD
Prazo
de 2 para 14 dias