Multiple Lots EA with martingale coefficients and take profit table

MQL4 Experts

Termos de Referência

Dear Developer community,

I have developed a couple of custom indicators that I want to use in a trading ea. I don't have enough time to develop the ea myself, so I need your help. There is nothing special in the ea that I want, just requires prior experience in lot handling in mql4 that I do not have. 

Here is what I am looking for: EA takes from custom indicators several informations:

- No signal, Buy or Sell signal (-1, 0, 1), trend status (1 = bullish, -1 = bearish), age of current trend (x integer = number of bars) and Stop Loss (market value).

EA checks the parameters below and trades.  

Parameters:

1) Buy / sell lot allocation coefficient .
if the buy coefficient is equal to 0, that means no buy signals should be taken.  
if the buy coefficient is queal to 1, that means buy signals should be executed with calculated lot size times 1 (no change).
if the buy coefficient is queal to 1.5, that means buy signals should be executed with standard lot size increased by 1.5 (+50%).  
Same thing for sell signal. Default is 1 for buy and 1 for sell. 

2)  Maximum size of SL to enter a trade.
It is the maximum size of SL in pips allowed. For example if this parameter is set to 100 pips, any signals with SL>100pips will be ignored. 
There should be two parameters: default value and time window dependant value (time window parameters).
For example, parameter default SL max is equal to 40 pips, but if server time is in between 9:00 to 11:00 take signals only if SL size is inferior 50 pips.  
 

3) Lot size calculation mode parameter:
- Fixed % of account size. For example: 2%.
- Fixed lot size. For example 0.1 lots. 
- Fixed % of account size normalized to stop loss size. 
Example1: 10% of 10000 USD account = 1000$, if SL=200 pips and currency pair EURUSD, Lot size = 0.5 Lots
Example2: 10% of 10000 USD account = 1000$, if SL=100 pips and currency pair EURUSD, Lot size = 1 Lots


4) Martingale Table of Coefficients: 
if previous trade was a loss (or stop loss set to zero and hit i.e zero profit), then increase lot size by this coefficient. 
if previous trade (zero profit) and the one before were losses (or zero profit), then increase lot size by this coefficient.
Etc... This is basically a table with 20 parameters. 

5) Take Profit Table of Coefficients:

All the parameters in this table are measured relative to the stop loss size in pips.
For example: SL=100 pips, position size = 1 lot.
Take profit 1 = Open price + 0.5*SL = Open price + 50 pips.
Percentage of position allocated to take profit 1 = 75% = 1*0.75 = 0.75 lots
Take profit 2 = Open price + 0.75*SL = Open price + 75 pips
Percentage of the remaining position allocated to take profit 1 = 50% = (1-0.75)*0.5 = 0.25 * 0.5 = 0.125 lots = 0.13 lots (round).
Take profit 3 = Open price + 100 pips
Percentage of the remaining position allocated to take profit 1 = 100% = 0.12 lots.

This is a table should have 15 take profit levels: each level has two parameters: distance from open price in number of SLs and percentage of position allocated to take profit.
if the minimum remaining size lot cannot be divided then close the entire position on take profit level.

6) Stop loss managment:

Koef 1, new SL level1 : if current price has reached open price + koef1 x stop loss (initial stop loss), then move SL to open price + SL level1.
Koef 2, new SL level2 : if current price has reached open price + koef2 x stop loss (initial stop loss), then move SL to open price + SL level2. 

For example: koef 1 = 1 and new SL level1 = 0, SL = 30 pips, open price = 1.2750,
if current price = 1.2750  + 30 pips = 1.2780 then move stop loss to open price = 1.2750, basically to zero.
This example assumes buy position. 

7) Head fake management:

This is a switch: either ON or OFF.
If ON, then if we have a buy signal, and the stop loss is hit but the trend did not change, wait for new bullish candlestick (close>open), and open a new position with SL = low of the candlestick. 
The same for a sell signal. 




 

 

Respondido

1
Desenvolvedor 1
Classificação
(2)
Projetos
6
33%
Arbitragem
2
0% / 50%
Expirado
0
Livre
2
Desenvolvedor 2
Classificação
(52)
Projetos
133
44%
Arbitragem
14
50% / 29%
Expirado
55
41%
Livre
3
Desenvolvedor 3
Classificação
(490)
Projetos
1016
58%
Arbitragem
29
28% / 24%
Expirado
132
13%
Trabalhando
4
Desenvolvedor 4
Classificação
(71)
Projetos
156
44%
Arbitragem
22
41% / 14%
Expirado
16
10%
Livre
5
Desenvolvedor 5
Classificação
(40)
Projetos
58
22%
Arbitragem
10
10% / 70%
Expirado
13
22%
Livre
6
Desenvolvedor 6
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
7
Desenvolvedor 7
Classificação
(647)
Projetos
1295
67%
Arbitragem
84
26% / 49%
Expirado
338
26%
Livre
8
Desenvolvedor 8
Classificação
(133)
Projetos
185
30%
Arbitragem
77
9% / 73%
Expirado
77
42%
Livre
9
Desenvolvedor 9
Classificação
(3)
Projetos
7
14%
Arbitragem
1
0% / 100%
Expirado
5
71%
Livre
10
Desenvolvedor 10
Classificação
(62)
Projetos
140
46%
Arbitragem
19
42% / 16%
Expirado
32
23%
Livre
Pedidos semelhantes
a coder is required to add an indicator to existing ea The new indicator will work as 1. option to combine with exiting indicator to open trade 2. it will be used as alternative BE point 3. It can also be used to close order or combine with other to close trade The second Job is telegram bot to get alert fr news trade and others Details when you apply i will test the ea work on live market and all bug is fixed before
Hello, I want to make an EA based on SMC and a developer that is familiar with the concept and full understanding of this. Must have done similar jobs before and be able show it. I only want to work with developer that has good track record and is precise. Further information will be handed when contact is made. Developers that has zero rating will not be considered. Listed price is a base point. The project can also
EA DEJA FABRIQUE ? MODIFIER QUELQUE LIGNE POUR LE RENDRE RENTABLE /////////////////////++++++++++++++++++++++++++++++++++ EA AVEC UN SYTEME SIMPLE ; SEULEMENT A MODIFIER %%%%%%%%%%%%%%%%%% SI PERSONNE SACHANT CODER CORRECTEMENT , CE TRAVAIL EST POUR TOI
Trade methodology based on Red and Green lines entering Overbought / Oversold zone. Using confluence of Higher time frame, Moving Average a trade can enter when there is a strong slope angle. Market Base Line is used to determine overall market sentiment. This is designed to be an established trend scalping strategy on lower time frames. To be used initially on demo then real account when settings have been fine
There are six conditions in total . source code from an existing expert will be provided to aid the completion of this job . - Install the following by the Panel (copy paste form my existing Expert ) 1. Pips Lost : number of pips lost ( monthly reset ) 2. Pips Gained : number of pips gained ( monthly reset ) 3. Have a black background to avoid the
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: function (A) Add Transform combine the 4 Expert Advisors into just 1 Expert Advisor, maintaining the individuality of each one Leave in extern (false) or (true)
Description: I am seeking an experienced MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5 based on a specific trend-following strategy. The strategy includes precise risk management, advanced trade management features, and additional risk management tools. The EA should be adaptable to any timeframe on which it is attached. Below are the detailed requirements and parameters for the EA: Strategy
I need an EA trading frequently (HFT or something like), and it sould have some features below: 1、Have a clear trading logic 2、Have a good backtest result 3、Have a demonstrated benefitable result in a live account trading 4、Can avoid the news time period or not sensitive to news
Tenho um EA mql4 que está com funcionalidades funcionando e outras com funcionalidades sem funcionar. Tenho um vídeo do EA funcionando como deve funcionar perfeitamente. O meu não consegue seguir o mesmo programa pois quando coloca os pontos de parada e retirada são bem diferentes. Não tenho pressa para tempo, só queria que conseguisse renovar o EA. O arquivo do grafico anexo é como ele se encontra agora. O certo é
New york session based strategy 9:30 open Price takes out buy side or sell side liquidity Usually using 15min high and lows 5m entry Price takes out that high/low and price must close strongly back into the zone Is price is above price we have a sell bias vis versa for buys Sl is at the high or low with option for “offset” for cushion Tp is usually the opposite High or low. Would like the option for set pips-points &

Informações sobre o projeto

Orçamento
20 - 50 USD
Desenvolvedor
18 - 45 USD
Prazo
de 1 para 10 dias