Take profit and max trades of current EA

Trabajo finalizado

Plazo de ejecución 26 días
Comentario del Cliente
Aleksey was able to assist with the added feature of EA. Despite several modifications on my part. Recommend
Comentario del Ejecutor
Thanks for your order. Glad work with you!

Tarea técnica

Current EA has entry requirements. The following would be to include Exit and Risk management.


Take profit (2 input level for take profit). 

1st input : percentage based off latest trade

example : 

1st trade: 2000

2nd trade : 3000

take profit input level: 101%

TP level : 3000 x 102% = 3060

1st trade TP level : 3060

2nd trade TP level : 3060



2nd input: percentage based off highest entry trade

if 2nd input TP level is more than 1st input TP level = apply 2nd input TP level, else

apply input 1 TP level


example 2nd input TP level more than 1st input TP level:

example : 

1st trade: 3000

2nd trade : 2000

input 1 TP : 101%

input 1 TP level(based on latest trade): 2020

input 2 TP : 102%

input 2 TP level(based on highest entry price): 3000 x 102% = 3060


TP level should be nearest highest 0.5 multiple

eg: if TP: 3027.66

converted to 3028


-------------------------------------------------------------------------

Maximum lot size across all trade (sum of all lots) - (up to 2 decimal point) example: 0.08 lots


3 input level in control panel.


1st: initial max trade size (input in percentage - 20 = 20%) based off all time high  ,,,,  


     if all time high is lesser than 4500 = referenced number will be 3000

     if all time high is more than or equal to 4500 but lesser than 6000 = referenced number will be 4500

     if all time high is more than or equal to 6000 but lesser than 7500 = referenced number will be 6000

     if all time high is more than or equal to 7500 but lesser than 9000 = referenced number will be 7500

     if all time high is more than or equal to 9000 but lesser than 10500 = referenced number will be 9000

     if all time high is more than or equal to 10500 but lesser than 12000 = referenced number will be 10500

     if all time high is more than or equal to 12000 but lesser than 13500 = referenced number will be 12000

     if all time high is more than or equal to 13500 but lesser than 15000 = referenced number will be 13500

     if all time high is more than or equal to 15000 = referenced number will be 15000



2nd: initial deposit

3rd: Increment amount

4th: Increment lot


example:

1st: initial max trade size: 10 --------- equate to 10%

2nd: initial deposit: 1000 USD

3rd: Increment amount: 500 USD (mean more than or equal to 500)

4th: Increment lot: 1 lot


all time high: 3500

referenced number = 3000


Initial deposit of account is set as 1000 USD.

Maximum lot EA can open is = initial deposit divided by 10% (1st input) of 3000 (referenced number)

1000 / 10% of 3000

1000 / 300

= 3.333

= only 2 decimal points - round down 

                                                                          

When Account balance is 1500 USD, EA can open position up to 4.33 lots. 

(account balance minus (2nd) initial deposit is 500, which satisfy criteria (3).

So now (1) initial max trade + (4) Increment lot = 4.33 lots


**if open trade total is 4 lots and we have entry fulfilment to enter another 1 lot. 

Trade would not be able to open as 4+1 lot = 5 lot , which will be more than 4.33 lot (max trade)


if account balance falls, lot size will decrease as well but dont close existing trade if lot size exceeds.

eg: current balance 2000 USD

updated max lots = 3 lots 

withdraw 500 usd

updated balance: 2500 USD

updated max lots = 2 lots.


if current max lots requirement does not match with current balance: send mt5 app notification and mt5 terminal alert

"Deposit more amount to maintain existing position"



----------------------------------------------------------------


Han respondido

1
Desarrollador 1
Evaluación
(12)
Proyectos
14
29%
Arbitraje
2
0% / 0%
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(39)
Proyectos
55
13%
Arbitraje
5
20% / 20%
Caducado
6
11%
Libre
3
Desarrollador 3
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(58)
Proyectos
76
33%
Arbitraje
9
78% / 11%
Caducado
7
9%
Libre
Ha publicado: 2 ejemplos
5
Desarrollador 5
Evaluación
(65)
Proyectos
71
30%
Arbitraje
8
0% / 88%
Caducado
5
7%
Libre
6
Desarrollador 6
Evaluación
(137)
Proyectos
167
35%
Arbitraje
11
91% / 0%
Caducado
0
Libre
7
Desarrollador 7
Evaluación
(69)
Proyectos
146
34%
Arbitraje
13
8% / 62%
Caducado
26
18%
Libre
Ha publicado: 6 ejemplos
Solicitudes similares
Description: I need a semi-automatic Expert Advisor (EA) developed for MetaTrader 5 (Hedging account, optimized for Exness Cent accounts) to manage my manual trades on Gold (XAUUSD) using a positive pyramiding trend-following strategy. Detailed Specifications: 1. Multi-Basket Management (Crucial): The EA does NOT open the initial trade. It waits for me to open a manual trade (Buy or Sell). If I open another manual
Live chart [ expert is not executing trades on xauusd ] , Deleting Existing Parameter not in use , Live Chart Adjustments Only , No Need to Change anything else , expert will be live testing Throughout
El 3aksiyat 0 35+ USD
//@version=6 indicator("منظومة El_3aksiiya 0 المتكاملة", overlay=true, max_labels_count=500, max_boxes_count=500, max_lines_count=500) // الألوان color_accum = color.new(#0000FF, 85) color_manip = color.new(#FFFF00, 80) color_dist = color.new(#FFC0CB, 80) color_elliot = #FF8C00 color_fib = #FFFF00 color_entry = #00FFFF color_tp = #00FF00 rsiVal = ta.rsi(close, 14) // نموذج AMD var int barCount = 0 if
Prepare expert for xauusd live chart [ expert is not executing trades on xauusd ] . Deletion and cleaning code . Trailing Stop Rule to follow the given method . Live Chart Only
SNIPER X AI 30 - 120 USD
I need help in building a Robot SNIPER X AI — FINAL BUILD Trading System Type AI Scalping + Sniper Entry Expert Advisor Platforms MetaTrader 4 MetaTrader 5 Supported Brokers � exness.com � justmarkets.com � deriv.com Universal MT4/MT5 broker support FINAL CORE FEATURES ✅ AI Scalping Engine ✅ Sniper Entries ✅ Auto Buy/Sell ✅ EMA Trend Detection ✅ RSI Momentum Filter ✅ Smart Stop Loss ✅ Dynamic Take Profit ✅ Trailing
Hello, I am looking for a serious and experienced MQL5 developer who also has practical trading experience , not only programming skills. The goal is to develop a professional-grade Expert Advisor / semi-automated trading system suitable for prop firm trading , with a strong focus on: ✅ Quality ✅ Robustness ✅ Risk control ✅ Realistic execution ✅ Professional backtesting ✅ Prop firm-friendly logic This is not a simple
//+------------------------------------------------------------------+ //| $10 Smart Scalping Bot for MT5 | //| EURGBP + AUDUSD + XAGUSD Optimized | //+------------------------------------------------------------------+ #property strict #include <Trade/Trade.mqh> CTrade trade; //========================= INPUTS ================================== input double LotSize = 0.01; input int FastEMA = 20; input int SlowEMA =
1. Project Overview & Strategic Objective We are seeking an elite, senior-level MQL developer to design and engineer a bulletproof, proprietary MT4 non-standard bar generation application. The primary objective of this project is to build an independent, institutional-grade charting infrastructure to permanently eliminate third-party plugin dependency risks (highlighted by legacy solutions like AZ-INVEST going
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
MT5 Indicator – QML (Quasimodo Left) Pattern I need an experienced MQL5 developer to build a custom MT5 indicator based on the QML Quasimodo pattern as used in SMC/ICT trading. I will attach reference screenshots showing exactly how the pattern should look. The indicator must detect and draw: 1. QML pattern structure — HH, HH, HL, LL swing labels with the QML level drawn as a horizontal dotted line at the last Higher

Información sobre el proyecto

Presupuesto
30 - 50 USD
Plazo límite de ejecución
de 7 a 14 día(s)