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

MQL4 Indikatoren Experten

Auftrag beendet

Ausführungszeit 35 Tage

Spezifikation

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 

Bewerbungen

1
Entwickler 1
Bewertung
(599)
Projekte
932
46%
Schlichtung
31
39% / 29%
Frist nicht eingehalten
93
10%
Frei
2
Entwickler 2
Bewertung
(33)
Projekte
35
40%
Schlichtung
11
9% / 91%
Frist nicht eingehalten
4
11%
Frei
3
Entwickler 3
Bewertung
(42)
Projekte
70
43%
Schlichtung
6
33% / 50%
Frist nicht eingehalten
19
27%
Frei
4
Entwickler 4
Bewertung
(45)
Projekte
59
14%
Schlichtung
31
26% / 52%
Frist nicht eingehalten
35
59%
Frei
Ähnliche Aufträge
Good day, I want someone to help me create a universal news filter with on/off switch, with start and end settings, and drawdown control with magic number of EAs, etc. Thanks
Hello, I am looking for a professional programmer to optimize my existing EA integrating it with ChatGPT to analyze currencies using various methods to make the right trading decisions. i want it to be an EA that can be trusted to carry trade with the help of chat gpt and also have a very low drawdown
Hello, I am looking for a professional programmer to create a trading expert on the MT4 platform, integrating it with ChatGPT to analyze currencies using various methods to make the right trading decisions. Further details will be provided to the applicants later
I have developed a very strong TradingView strategy in Pine Script but unfortunately, a third-party connector is requiired and in my opinion, I want a more direct connection. I am not brilliant at coding, but I have coded the majority of the MT5 code and I would like you to make sure that the MT5 code matches my TradingView script and executes the same way as the TradingView script that I will provide if you are
EA based on RSI and MA 100 - 400 USD
Program is based on RSI and MA indicators dynamic as triggers, for Open/Close criteria. Runs automatically but inputs can be updated manually. It uses a GUI to manage it. Multi TF analysis. Log register of every operation for analysis (db) Open Source deliver. Kindly apply IF you have previous experience with trading and mql/python/c bot/algo developing. And if you have a good track record . ps: Better if you have a
This is and EPA (Entry Point Analyzer). Automatically analyzes the algorithm for XAU/USD and places a safe entry point mark for your trade. This has been tested and gives out 90% success rates
I am looking for an experienced MQL5 developer to help me finalize and optimize an Expert Advisor (EA) for the FTMO challenge. I have already built a significant portion of the code, but it requires further refinement and optimization to ensure it functions according to the trading strategy I intend to use. I am happy to share all the resources, including the current code, reference materials, and detailed
dreams good and have a great Cash out from your smart phone , tuyoywuiy glamorous flood see full idk idk slow so dolls stupid sis workouts who's spark koalas oral waits also doggo idk
I need a modification on my existing Ea if you can Can fixed risk management to lot size instead of percentage. don’t want strategic risk management input to be based on percentage Instead lot size. The strategic risk management function I need turned from percentage to lot based And I need sells and buys to have separate tps and sl options Budget:$100 Day: 1 day
I have developed a very strong TradingView strategy in Pine Script but unfortunately, a third-party connector is requiired and in my opinion, I want a more direct connection. I am not brilliant at coding, but I have coded the majority of the MT5 code and I would like you to make sure that the MT5 code matches my TradingView script and executes the same way as the TradingView script that I will provide if you are

Projektdetails

Budget
30+ USD
Für die Entwickler
27 USD
Ausführungsfristen
von 1 bis 10 Tag(e)