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

MQL5 Indicatori Esperti

Lavoro terminato

Tempo di esecuzione 4 giorni
Feedback del cliente
Excellent Superb Job as usual
Feedback del dipendente
Good to work with.

Specifiche

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  




Con risposta

1
Sviluppatore 1
Valutazioni
(33)
Progetti
36
33%
Arbitraggio
5
0% / 80%
In ritardo
0
In elaborazione
Pubblicati: 2 codici
2
Sviluppatore 2
Valutazioni
(510)
Progetti
977
74%
Arbitraggio
27
19% / 67%
In ritardo
100
10%
Gratuito
Pubblicati: 1 articolo, 6 codici
3
Sviluppatore 3
Valutazioni
(4)
Progetti
6
17%
Arbitraggio
2
0% / 100%
In ritardo
3
50%
Gratuito
4
Sviluppatore 4
Valutazioni
(48)
Progetti
58
34%
Arbitraggio
15
27% / 60%
In ritardo
1
2%
In elaborazione
5
Sviluppatore 5
Valutazioni
(202)
Progetti
263
22%
Arbitraggio
23
52% / 17%
In ritardo
0
Caricato
6
Sviluppatore 6
Valutazioni
(574)
Progetti
945
47%
Arbitraggio
309
58% / 27%
In ritardo
125
13%
Gratuito
7
Sviluppatore 7
Valutazioni
(14)
Progetti
19
11%
Arbitraggio
1
0% / 100%
In ritardo
5
26%
Gratuito
8
Sviluppatore 8
Valutazioni
(62)
Progetti
90
29%
Arbitraggio
24
13% / 58%
In ritardo
7
8%
In elaborazione
9
Sviluppatore 9
Valutazioni
(298)
Progetti
427
26%
Arbitraggio
18
61% / 33%
In ritardo
26
6%
Gratuito
Pubblicati: 8 codici
10
Sviluppatore 10
Valutazioni
(4)
Progetti
5
40%
Arbitraggio
1
0% / 0%
In ritardo
0
Gratuito
Ordini simili
TumiiFX 30 - 20000 USD
1. Use two EMAs: 20 and 50. If EMA 20 is above EMA 50 → uptrend (look for buys) If EMA 20 is below EMA 50 → downtrend (look for sells) 2. Wait for a pullback into the area between the two EMAs. - For buys: price must touch or move between EMA 20 and EMA 50 during the last few candles. - For stils: same idea, but in a downtrend. 3. Entry signal: Buy: a bullish engulfing candle in an uptrend after the pullback
I am looking for an experienced MQL4 developer to build a professional High-Frequency Trading (HFT) / Low-Latency Expert Advisor for MetaTrader 4 (MT4) . The EA will be deployed on an IC Markets Live account and should be optimized for the fastest possible execution using a low-latency VPS located in LD4 or NY4 . The primary instruments will be US30 and XAUUSD (Gold) . The goal is to create an EA capable of
A robot 50+ USD
HIGH-FREQUENCY M5/M15 CONCURRENT ENTRY SNIPER import time class HighFrequencySniper: def __init__(self): self.target_profit = 25.00 # Targeted Delta Move self.max_execution_time = 3600 # 1 Hour Sandbox (Seconds) self.lot_allocation = "CALIBRATED_TO_RISK" def execute_hft_scan(self, current_price, m5_rsi, m15_order_block): print(f"[SCANNING] Current Kernel Metric: ${current_price:.2f
I need a trading bot, please i need this project urgently and when messaing me kindly send me samples of past works and dont forget i need the project to be done as soon as possible
A lightweight MT5 chart overlay displaying total floating P&L, average entry price, combined lot size, and current symbol exposure as a percentage of account balance, all updating in real time with color-coded profit/loss indicators, delivered with clean object-oriented source code and no DLL dependencies
QUIERO CONSEGUIR EL CODIGO FUENTE DE ESTE INDICADOR QUE ME GUSTA MUCHO TAMBIEN TIENE EL NOMBRE DE ET BANDS O ENTRY EXIT TIMING . no se los componentes pero estas son las imagenes. que mejor lo describen
I am looking to convert my existing TradingView Pine Script (v5) strategy into an MQL5 Expert Advisor (EA) for MetaTrader 5. Strategy Details: Asset: Gold (XAUUSD) Timeframe: 15-minute Strategy Logic: The strategy is based on a breakout concept. Anchor Candle: The base calculation starts from the Specified Candle Entry Window: The EA should only look for entries As Per Indicator Risk Management: The strategy
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from publishing Orders in the Freelance
Akram boushaba 30 - 500 USD
مرحبا كيف حالكم انا اكرم مهتم بالتداول احاول ان اصمم برنامج روبوت قادر على التداول من تلقاء نفسه من يمكنه ان يساعدني او يعلمني كيف استطيع فهل ذلك وسأكون ممتناً له وشكرا لكم
MetaTrader In-App Trade Alerts An existing MetaTrader terminal is already running on my side, but its account is kept hidden for privacy reasons. I need a specialist to wire up native in-app notifications so that every time a position is opened or later closed I see an immediate pop-up inside the platform—no emails or SMS, just the built-in alert window (and the usual MT push to mobile if that comes automatically

Informazioni sul progetto

Budget
30 - 40 USD
Scadenze
a 3 giorno(i)