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

MQL5 Göstergeler Uzmanlar

İş tamamlandı

Tamamlanma süresi: 4 gün
Müşteri tarafından geri bildirim
Excellent Superb Job as usual
Geliştirici tarafından geri bildirim
Good to work with.

Şartname

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  




Yanıtlandı

1
Geliştirici 1
Derecelendirme
(33)
Projeler
36
33%
Arabuluculuk
5
0% / 80%
Süresi dolmuş
0
Çalışıyor
Yayınlandı: 2 kod
2
Geliştirici 2
Derecelendirme
(510)
Projeler
977
74%
Arabuluculuk
27
19% / 67%
Süresi dolmuş
100
10%
Serbest
Yayınlandı: 1 makale, 6 kod
3
Geliştirici 3
Derecelendirme
(4)
Projeler
6
17%
Arabuluculuk
2
0% / 100%
Süresi dolmuş
3
50%
Serbest
4
Geliştirici 4
Derecelendirme
(48)
Projeler
58
34%
Arabuluculuk
15
27% / 60%
Süresi dolmuş
1
2%
Çalışıyor
5
Geliştirici 5
Derecelendirme
(202)
Projeler
263
22%
Arabuluculuk
23
52% / 17%
Süresi dolmuş
0
Yüklendi
6
Geliştirici 6
Derecelendirme
(574)
Projeler
945
47%
Arabuluculuk
309
58% / 27%
Süresi dolmuş
125
13%
Serbest
7
Geliştirici 7
Derecelendirme
(14)
Projeler
19
11%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
5
26%
Serbest
8
Geliştirici 8
Derecelendirme
(62)
Projeler
90
29%
Arabuluculuk
24
13% / 58%
Süresi dolmuş
7
8%
Çalışıyor
9
Geliştirici 9
Derecelendirme
(298)
Projeler
427
26%
Arabuluculuk
18
61% / 33%
Süresi dolmuş
26
6%
Serbest
Yayınlandı: 8 kod
10
Geliştirici 10
Derecelendirme
(4)
Projeler
5
40%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
0
Serbest
Benzer siparişler
I have a technical specification ready for a custom alert indicator in NinjaTrader 8 (NinjaScript / C#). Important clarification: it is NOT an automatic trading bot, it is solely a visual indicator (arrows/lines on the chart) and sound alerts (notifications) based on EMA crossovers and range breakouts (ORB 15m) on lower timeframes for futures (MES). I already have the exact rules written out unambiguously
Custom MT5 EA for buy stop and sell stop breakout strategy.’ ‘Requirements, develop a custom Expert Advisor for MetaTrader 5 that places buy-stop and sell-stop pending orders based on defined breakout rules.’ ‘All important values adjustable via inputs.’ ‘Includes stop loss, take profit, trailing stop, and configurable risk management.’ ‘One trade at a time, works on demo before live.’ Provide source code and
I have an automated trading strategy in NinjaTrader 8 (C# / NinjaScript) that is currently under development. Before diving into technical details, I’d like to ask a quick question from someone who's interested. Do you work on existing / in-progress codebases to debug, refactor, or add new features, or do you strictly build projects from scratch? NOTE : Only professional Developer should apply for this project
السلام عليكم ورحمة الله وبركاته، ​أبحث عن مبرمج MQL5 خبير ومتمكن جداً لتطوير روبوت تداول (Expert Advisor) محترف لمنصة MetaTrader 5 يعمل باستراتيجية هيدج محددة بصفقة واحدة فقط في كل اتجاه (1 Buy & 1 Sell Max) مع إدارة مخاطر صارمة. ​المواصفات والاستراتيجية المطلوبة: ​1. آلية الهيدج المحدود (Single Position Hedging Limit): ​الحد الأقصى للصفقات: يُسمح للروبوت بفتح صفقة شراء واحدة (1 Buy) وصفقة بيع واحدة (1 Sell) فقط كحد
Looking for A verifiable, disciplined XAUUSD analyst with controlled drawdown, consistent stop-loss use, clear communication and the capacity to service a live community. To send daily London and New York signals exclusively in my channel on Telegram
SENIOR MQL5 / QUANTITATIVE DEVELOPER REQUIRED — PROFESSIONAL AI-ASSISTED MT5 TRADING SYSTEM Project Overview I am seeking a highly experienced MQL5 developer, quantitative trading-system engineer or small specialist team to design and build a professional, fully auditable MetaTrader 5 trading system. This is not a request for a basic indicator conversion, copied Expert Advisor, martingale robot, grid-recovery system
Hello, I'm working since few months on a project which is running. But there are entry Chase Problem between Paper and Live order Can you help investigate that. I know that entry execution differences between Paper and Live trading are fairly common and can be caused by factors such as order type, execution timing, slippage, market data differences, or broker/API behavior. I‘m stuggling bc paper made full profit and
Platform MetaTrader 5 (MT5) MQL5 Source Code Required Compatible with Exness MT5 both standard and cent accounts/ICMarket accounts Works on EUR/USD only (initial version) ⸻ Objective Develop a fully automated AI Expert Advisor based on ICT Smart Money Concepts (SMC). The EA must only execute high-probability trades that satisfy all required conditions before opening a position. The EA must avoid overtrading and
السلاموني | ​أبحث عن مبرمج MQL5 قوي تداول تداول (EA) لمنصة MetaTrader 5 يعمل بإستراتيجية Hedging with Trailing Stop. المواصفات المطلوبة: ​العمل: يعمل الروبوت على مدار اليوم ويقوم بتشغيله بشكل مستمر. ​التحويط (التحوط): عند فتح الصفقة، يقوم جهات مختصة بمحور رئيسي مختلف ويبعد النظر عن نطاق محدد. ​ملاحقة التليفون المباشر (Trailing Stop): ترك التداولات الرابحة مع، ولا يتم إغلاقها إلا عند انعكاس السعر المحدد (Trailing
Need to create an Scalping EA for Silver-XAGUSD Generating multiple trades with small profits and with a good result with no grid or martingale. if not multiple trades then limited trades also work but it should be precise

Proje bilgisi

Bütçe
30 - 40 USD
Son teslim tarihi
to 3 gün