Fix Step Lot Sizing and Money Management Bug in Functioning EA

MQL4 Indicatori Esperti

Specifiche

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 


 

 

 

 

 

 

 

 

 


Con risposta

1
Sviluppatore 1
Valutazioni
(1)
Progetti
3
0%
Arbitraggio
1
100% / 0%
In ritardo
1
33%
Gratuito
2
Sviluppatore 2
Valutazioni
(39)
Progetti
69
9%
Arbitraggio
18
11% / 56%
In ritardo
18
26%
Gratuito
3
Sviluppatore 3
Valutazioni
(45)
Progetti
59
14%
Arbitraggio
31
26% / 52%
In ritardo
35
59%
Gratuito
Ordini simili
i have a ready made SMC EA and looking for optimizing and debugging and also adding back the missing things in the requirement file. Basically work with the current code and refine it to fit the requirement file. Most indicator is already in the EA and the requirement file below are mostly finish. here are the things need to add back and debug based on the requirement file 1. TP from the filter and need to check
If you think you can replicate EA ("reverse engineering") from Metarader's Market, and create a new EA from scratch that works 100% the same - please send an offer. I have already managed to find out many features of that EA (entry times, risk management, averaging, trailing...) but I still miss a few
Candle wick bot The bot will have a set amount of wick length to enter trade at candle open price, there will be a set Amount in points that the candle wick has to be to then enter that opposite of the wick direction Settings will look like this : Timeframe: (meaning which candles you’re using to measure open price from for the wick length ) If set to 5 min it’ll be using 5 min candles , if set to 15 it’ll use 15
Looking for a developer to create an MT4 EA based on a custom currency strength indicator and simple moving average. Will provide currency strength indicator code to the selected developer. Buy rules If the EA added in the EURUSD chart and EUR has a currency strength above or equal to 6 and USD has strength less than 2. Wait for the prices comes back to SMA and open the buy trade if the price closes above SMA. Place
I have an equity reporter. This equity reporter displays the maximum and minimum equity reached over a specific interval. So, if the interval is set to 24 hours, the script will generate data in the format: "Profit ATT" (profit AtThatTime) shows max./min. during the specific interval This specific report shows data in pips. It can also be set to display in price or percentages. The interval is also easily adjustable
Sistema HTF EFECTIVO 30 - 60 USD
Hola, me gustaría que un programador experimentado creea un sistema de trading EA que abra y cierre operaciones muy rápido en segundos (HFT). Sería óptimo tener una opción/botón para activar solo para comprar o solo para vender (operaciones unidireccionales). Con una buena interfaz gráfica de usuario. Se agradece la implementación de su propia experiencia con sistemas de trading HFT. Es para mercados volátiles como
Hello, I would like an experienced programmer to create an EA trading system which opens and closes trades very fast within seconds (HFT). To have an option/button to activate either for only buy or only sell (one way trading) would be optimal. With a nice GUI. Implementing your own experience with HFT trading systems is welcomed. It's for volatile markets such as XAUUSD or US30. Taking advantage of order placements
The strategy is a martingale type . i.e if it hits the stop loss , it will double the lot size and place again in that direction, and when it hits the take profit at any level of the martingale, it will start over from the first lot size used initially
I want you to make me an indicator in Training View. Its idea is very simple, and I want it to have an alarm. Here's a clearer step-by-step guide to checking the last 50 candles on your chart and applying Fibonacci retracement levels based on their colors: Identify Candle Color: Start from the 100th candle from the left on the chart and check its color. If the 100th candle is green (i.e., the close is higher than the
I'm looking for a developer to assist in creating an Expert Advisor (EA) for use in a prop firm. The EA should be designed for the MT4 trading platform and include the following features: Scalping strategy Maximum drawdown of 3% Please let me know if you're interested and capable of handling this project

Informazioni sul progetto

Budget
30+ USD
Per lo sviluppatore
27 USD
Scadenze
da 2 a 14 giorno(i)