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

仕事が完了した

実行時間4 日
依頼者からのフィードバック
Excellent Superb Job as usual
開発者からのフィードバック
Good to work with.

指定

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  




応答済み

1
開発者 1
評価
(33)
プロジェクト
36
33%
仲裁
5
0% / 80%
期限切れ
0
仕事中
パブリッシュした人: 2 codes
2
開発者 2
評価
(510)
プロジェクト
977
74%
仲裁
27
19% / 67%
期限切れ
100
10%
パブリッシュした人: 1 article, 6 codes
3
開発者 3
評価
(4)
プロジェクト
6
17%
仲裁
2
0% / 100%
期限切れ
3
50%
4
開発者 4
評価
(48)
プロジェクト
56
34%
仲裁
15
27% / 60%
期限切れ
1
2%
仕事中
5
開発者 5
評価
(200)
プロジェクト
256
21%
仲裁
23
48% / 17%
期限切れ
0
取り込み中
6
開発者 6
評価
(574)
プロジェクト
945
47%
仲裁
309
58% / 27%
期限切れ
125
13%
7
開発者 7
評価
(14)
プロジェクト
19
11%
仲裁
1
0% / 100%
期限切れ
5
26%
8
開発者 8
評価
(62)
プロジェクト
90
29%
仲裁
24
13% / 58%
期限切れ
7
8%
仕事中
9
開発者 9
評価
(298)
プロジェクト
427
26%
仲裁
18
61% / 33%
期限切れ
26
6%
パブリッシュした人: 8 codes
10
開発者 10
評価
(4)
プロジェクト
5
40%
仲裁
1
0% / 0%
期限切れ
0
類似した注文
I am looking for an experienced MQL5 developer to create a custom indicator for MetaTrader 5. The project requirements and indicator logic will be shared privately with the selected candidate to protect the concept and implementation details. Requirements: Strong experience with MQL5 indicator development. Ability to create clean, efficient, and well-structured code. Experience with custom buffers, chart objects
Hello, I am looking to develop a commercial-grade Expert Advisor for MT5 specifically optimized for XAUUSD (Gold). The underlying logic should be an intelligent, trend-filtered cost-averaging grid system focused on capital preservation. The EA must include the following functional architecture: 1. Core Strategy Structure: - Must feature a multi-strategy logic entry module. I want to use a combination of 3-4 standard
Generate a signal and place 2 arrows on the chart when these conditions happen. Rules: Levels up:price is below the Kijunsen and Senku A value is less than Senku B value Kijun sen close = previous kijun sen close; Kijun sen close value is LESS than Senku B close value Senkou B close = previous senku B close. Levels down: price is above Kijunsen. Senku A value is above Senku B value
i need the EA same working on trading view chart with same specifications of enter in a trade and sl/tp open 2 trades and 1 trade set tp1 & second trade set to tp 3 but sl should move to breakeven when tp1 hit and go to tp2 sl on tp1
preciso de um programa paracido com o CAP channel com botao de refresh e opcaos de alterar o periodo. utilizava um muito bom, mas o vendedor acredito ter sido excluido da comunidade, sumiu. e o que tinha parou de funcionar
Требуется напи сать пользовательский форекс-индикатор на основе стандартного индикатора ZigZag для торговой платформы МТ5 с фильтрацией колен (граней) по их минимальной длине. Пояснение: используя стандартный индикатор ZigZag для МТ5, добавить в его настройки функцию\опцию задания минимальной длины граней зигзага (чтобы индикатор игнорировал мелкие грани, а рисовал \ отмечал только те грани, длина которых составляет
ZigZag based on oscillators is needed The idea of ​​the indicator Create a ZigZag indicator, which is constructed based on extreme values determined using oscillators. It can use any classical normalized oscillator, which has overbought and oversold zones. The algorithm should first be executed with the WPR indicator, then similarly add the possibility to draw a zigzag using the following indicators: CCI Chaikin RSI
TrendPulse EMA Wick EA 50 - 200 USD
EA specification for MT5 developer (coder‑ready spec) You can copy‑paste this directly into an MQL5 Freelance job. --- 1. General * Platform: MetaTrader 5 (MT5) * Type: Expert Advisor (EA) * Markets: Major FX pairs (configurable list via inputs) * Execution: Market orders only * Timeframes: EA must work on any timeframe, but I will mainly use it on M15–H1 --- 2. Indicators & definitions * EMA 20: Exponential Moving
looking for a highly experienced mql5 developer to build a professional trading ea based on multi timeframe top down analysis and market structure concepts the system should combine higher timeframe context with lower timeframe execution and provide both precise logic and clean visual representation on chart ⸻ core requirements • implementation of multi timeframe logic higher timeframe bias combined with lower
Hey I need help with the development of my ea. I am using a built in indicator and a custom indicator. It shouldn't take too long. I will tell you the conditions and then I just need some help with the coding but I have some experience. Thanks we can chat on whatsap or telegram

プロジェクト情報

予算
30 - 40 USD
締め切り
最高 3 日