Additional Module to an existing EA (Profit and Lot size focused)

MQL5 Indicadores Experts

Trabalho concluído

Tempo de execução 4 dias
Comentário do cliente
Excellent Superb Job as usual
Comentário do desenvolvedor
Good to work with.

Termos de Referência

Currently this EA is taking order upon conditions met for 3 indicators  (TEMA , PSAR & MACD )  in 2 modes 

Mode 1 : it closes previous order before opening next one  and so on 

OR

MOde 2 : it keep previous order open and open the next one ... and so on 


What I want to add is a Accumulative TP parameter(s)


Accumulated TP mode : on/off (when off All below is discarded )
Accumulated TP value = A = (this value I should be able to enter in XX USD)
Accumulated TP Action : (2 Options)

A. Reset Lot size only
B. Close order (All existing orders) and Reset Lot size


Example for A :
Mode 1:
We have orders O1 ,O2 , O3 … etc . each one close before the second one is opened as explained
Accumulated TP mode : on
Accumulated TP value = 10 USD
Accumulated TP Action >> A: Reset Lot size only

O1 is closed with loss -2 USD (including Swap fees ..etc ) , O2 opened
Then O2 is closed as well with loss -7 USD , O3 Opened
Then O3 is closed with a profit of +22 USD

So EA now should understand that since I attached the EA to the chart it has executed 3 orders , with total profit of -2-7+22=13 USD
Since 13 USD is greater than (or equal) 10 ( Defined TP Accumulative Value) , the EA should reset the lot size

Accordingly next order ( order number 4 ) … O4 should be opened with the initial lot size we had for O1 and start over …..

Here we waited for O3 to be closed to take the decision of lot size resetting

O4 for the EA will considered as O1 for TP accumulative calculations next cycle (cycle completion is triggered by lot size resetting )

Mode 2 :

This option cannot work with MODE 2 


Example for B :

Mode 1:

We have orders O1 ,O2 , O3 … etc . each one close before the second one is opened as explained
Accumulated TP mode : on
Accumulated TP value = 10 USD
Accumulated TP Action >> B. Close order and Reset Lot size


O1 is closed with loss -2 USD (including Swap fees ..etc ) , O2 opened
O2 is closed as well with loss -7 USD , O3 Opened
O3 is still open , however it is making a profit of 19 USD so far

Since total accumulative TP is now -2-7+19=10 , which is equal to Accumulative value A=10 USD , Action : EA should close O3 , reset the lot size and wait for the next signal to open O4 (O4 will be opened with the initial lot size )

O4 for the EA will considered as O1 for TP accumulative calculations next cycle (cycle completion is triggered by lot size resetting )

Mode 2 : 

Orders open O1 ,O2 ,O3  and are not closed yet

Accumulated TP mode : on

Accumulated TP value = 10 USD

Accumulated TP Action >> B. Close order  (All open orders ) and Reset Lot size 

IF total profit of the opened orders = 10 , then EA should close all 3 orders , reset the lot size and start over  


Thanks  




Respondido

1
Desenvolvedor 1
Classificação
(33)
Projetos
36
33%
Arbitragem
5
0% / 80%
Expirado
0
Trabalhando
Publicou: 2 códigos
2
Desenvolvedor 2
Classificação
(510)
Projetos
977
74%
Arbitragem
27
19% / 67%
Expirado
100
10%
Trabalhando
Publicou: 1 artigo, 6 códigos
3
Desenvolvedor 3
Classificação
(4)
Projetos
6
17%
Arbitragem
2
0% / 100%
Expirado
3
50%
Livre
4
Desenvolvedor 4
Classificação
(52)
Projetos
64
39%
Arbitragem
15
27% / 60%
Expirado
1
2%
Trabalhando
5
Desenvolvedor 5
Classificação
(209)
Projetos
272
21%
Arbitragem
24
54% / 17%
Expirado
0
Trabalhando
6
Desenvolvedor 6
Classificação
(574)
Projetos
945
47%
Arbitragem
309
58% / 27%
Expirado
125
13%
Livre
7
Desenvolvedor 7
Classificação
(14)
Projetos
19
11%
Arbitragem
1
0% / 100%
Expirado
5
26%
Livre
8
Desenvolvedor 8
Classificação
(62)
Projetos
90
29%
Arbitragem
24
13% / 58%
Expirado
7
8%
Trabalhando
9
Desenvolvedor 9
Classificação
(298)
Projetos
427
26%
Arbitragem
18
61% / 33%
Expirado
26
6%
Livre
Publicou: 8 códigos
10
Desenvolvedor 10
Classificação
(4)
Projetos
5
40%
Arbitragem
1
0% / 0%
Expirado
0
Livre
Pedidos semelhantes
Code the indicator to MT5 EA, include all the inputs variables and values Allow live trading Allow demo trading Allow strategy tester Bar shift 0 adjustable Allow indicator to show on strategy tester Lot size adjustable Max spread in points (0=disable) Use stop loss circle true or false Stop loss circle in points adjustable Use stop loss true or false Stop loss in points (adjustable) Take profit true or false Use
Hi All, Looking for a ready to TEST and USE EA which makes $20 per day with initial deposit of $100 only with controlled drawdown and no trades during news time. Please note: Budget is fixed and no trial and hit error for testing and developing EA as I do not have time. I will select the developer only after the TEST is successful only, do not force to select and make the payment and payment will be done once I am
Create a bot that can trade and read indicators easy to read for first time users. Bot that can be used on a phone and connect to MT5. It should be easy to install or use on any device especially phone and laptop, preferably the bot that can run over night and controllable when needed
Need Grid + Martingale Type Averaging EA ( Directional Buy or Sell entry then uses grid/martingale for Recovery if need ) * Must Work Buy + Sell Both Side ( Do not Open Buy or Sell at Once Let the Previous Order Close ) * Min Lot size 0.01 * Max Lot Size 1 ( Can be Edited to maximum ) * Auto TP Shift * Auto Averaging Position also Auto Shift TP as per Averaging * After Averaging Close the Trade in Maximum Profit (
C'est un Expert Advisor (EA) MQL5 pour MetaTrader 5, conçu pour l' XAUUSD , combinant un filtre de tendance et une grille adaptative avec gestion de panier ("basket") et protections contre le drawdown. Version 1.00. Logique de trading Filtre de tendance (H4 par défaut) • EMA rapide (50) vs EMA lente (200) pour déterminer la direction (UP/DOWN) • Filtre ADX (période 14, seuil 18) pour éviter de trader en
I have 2 trading view indicators by GainzAlgo that I want code to mt5 , could u advise? I need you to give me response if you can convert This
Looking for an MT4/MT5 independent risk-management service or system that can monitor and automatically close trades opened and managed by another trader’s EA. The existing EA continuously removes/overrides manually added Stop Losses and may also override SLs placed by another EA. I need a solution that does not rely on modifying the existing trade or placing a Stop Loss. Instead, it should independently monitor each
I currently sell a white-label XAUUSD EA, but the existing supplier owns the source code. I now need a new, independently developed EA and licensing system that my company fully owns and controls. I am not requesting decompilation or copying of proprietary code. Existing settings, presets and trading examples will be provided as reference. The developer must first identify any missing strategy rules before
I am looking for an experienced trader, preferably a manual trader, with a minimum 12-month verifiable live trading track record. Requirements: - Target: Up to 10% monthly return - Maximum risk/drawdown tolerance: 20% - Maximum trade duration: 5 hours - No Martingale - No Hedging - No grid or other high-risk strategies - Minimum 12 months continuous track record - Track record must be independently verifiable through
Hello! I'm looking for an experienced programmer to help me fix bugs in NEOLOGICA, PROFIT. The code is written, without errors or warnings, but not everything works correctly. Please help me. I'm looking for a programmer for a long-term collaboration, so that this project can open doors to other interesting projects. :) You need to have access to this platform, but I think that's obvious

Informações sobre o projeto

Orçamento
30 - 40 USD
Prazo
para 3 dias