Bug Fix in Working EA in Money Management and Cycle Lot Sizing Functions

MQL4 Indicateurs Experts

Tâche terminée

Temps d'exécution 35 jours

Spécifications

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:

H have set the job duration to 10 days, however this is to allow 7 days for forward testing and 3 days for the development solution.

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, however it seems to work OK in the tester, though does not work correctly on live testing.

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 

Répondu

1
Développeur 1
Évaluation
(632)
Projets
1000
47%
Arbitrage
33
36% / 36%
En retard
98
10%
Travail
Publié : 6 codes
2
Développeur 2
Évaluation
(33)
Projets
35
40%
Arbitrage
11
9% / 91%
En retard
4
11%
Gratuit
Publié : 4 codes
3
Développeur 3
Évaluation
(42)
Projets
70
43%
Arbitrage
6
33% / 50%
En retard
19
27%
Gratuit
4
Développeur 4
Évaluation
(45)
Projets
59
14%
Arbitrage
31
26% / 52%
En retard
34
58%
Gratuit
Commandes similaires
I am looking for an experienced MQL4/MQL5 developer to build a custom MT4 indicator from scratch or cracking my ex4 file that i provide to you. I already have an existing indicator (EX4) which produces highly accurate buy/sell signals. I want a similar indicator developed based on its observable behavior and signal structure. my existing indicator is pc id protected so you have to do PC ID security bypass and source
RSI indicator 130 - 150 USD
The Relative Strength Index (RSI) is a technical momentum indicator measuring the speed and change of price movements, scaled from 0 to 100 to identify overbought (>70) or oversold (<30) conditions. Developed by J. Welles Wilder Jr., it helps traders spot potential trend reversals or corrections.Imagine a stock, XYZ, is trending upwards.Overbought Signal: The price increases sharply, and the RSI rises to 75. This
📌 Project Overview: I need a full Smart Trade Management System for MetaTrader 4/5. This is a complete trading ecosystem, not a simple EA. 📌 Core Features: Smart Money Management (risk-based lot calculation) Advanced Trading Toolbox (TradingView-style drawing tools) Central Master Dashboard (risk, filters, account control) Multi-account monitoring (MT4/MT5 synchronization) Real-time monitoring (spread, equity
Hi, I am looking for someone to create me a trading indicator that will scalp the market 30-90 pips successfully in high volumes, I would like to be able to bridge this to create a signal channel for my community so it would need to have buy and sell indication on the indicator we run quite small stop losses so execution of trades can’t go in to draw down much alternatively create me a MT5 EA bot that scalps the
Alert indicator 30+ USD
I want an alert indicator using moving average and another one is customized indicator, but i don't have it's source file. is it possible? if yes let me know we will discuss further
Hello, i would like to have a ninjatrader indicator. I wanna to have a footprint indicator with delta, imbalances and big trades identifiable. Also I wanna sell it on whop. And it should be fully customisable in NT8
I am looking for an experienced developer in MQL5 to build a fully AI and automated trading bot (Expert Advisor) for MetaTrader 5. The EA will trade XAUUSD only and will be based purely on price action and Smart Money Concepts (SMC), specifically focusing on liquidity sweeps, market structure shifts (MSS/CHoCH), and wick rejection entries at key points of interest (POIs). The system must follow a strict rule: no
I need a professional MT5 custom indicator that builds and displays a full Kagi chart , along with continuation-based alert signals . Part 1: Kagi Chart Construction The indicator must: Construct a proper Kagi chart structure Support: Reversal by fixed price Reversal by percentage Maintain correct: Yang (bullish thick line) Yin (bearish thin line) Shoulder (local high) Waist (local low) Draw: Yang lines (thick
Hi, I’m looking for an experienced developer to build an MT5 indicator based on the strategy outlined below. The indicator should: Identify and display entry points Plot TP1, TP2, TP3 , and Stop Loss (SL) using ATR-based calculations Run on my MT5 desktop platform Send real-time trade signals/alerts to my Telegram account If Telegram integration is not feasible, please suggest alternative methods (e.g. push
This robot is going to help me to assist my parents about their needs, it also going help me build a house and purchase my own car. Additionally, it is going to play an essential role upon my life as I will not struggle with the foods and transport for taking the trips

Informations sur le projet

Budget
30+ USD
Délais
de 1 à 10 jour(s)