Take profit and max trades of current EA

MQL5 エキスパート 統合

仕事が完了した

実行時間26 日
依頼者からのフィードバック
Aleksey was able to assist with the added feature of EA. Despite several modifications on my part. Recommend
開発者からのフィードバック
Thanks for your order. Glad work with you!

指定

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"



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


応答済み

1
開発者 1
評価
(12)
プロジェクト
14
29%
仲裁
2
0% / 0%
期限切れ
0
2
開発者 2
評価
(39)
プロジェクト
55
13%
仲裁
5
20% / 20%
期限切れ
6
11%
3
開発者 3
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
4
開発者 4
評価
(58)
プロジェクト
76
33%
仲裁
9
78% / 11%
期限切れ
7
9%
パブリッシュした人: 2 codes
5
開発者 5
評価
(65)
プロジェクト
71
30%
仲裁
8
0% / 88%
期限切れ
5
7%
6
開発者 6
評価
(137)
プロジェクト
167
35%
仲裁
11
91% / 0%
期限切れ
0
7
開発者 7
評価
(69)
プロジェクト
146
34%
仲裁
13
8% / 62%
期限切れ
26
18%
パブリッシュした人: 6 codes
類似した注文
Hello! I want to programm EA that uses volume profile indicator, but I am not sure if this is possible. Only experienced programmers please, I will not select a programmer who did only few jobs. Before starting I need to make sure you understand everything and that this is for sure technically possible
Hello, I am looking for a professional trading system including: 1- Trading Bot (Expert Advisor): - Good profit performance - High security and strong risk management - Works efficiently during high market volatility (news and strong movements) - Works on all pairs (Forex + Gold) 2- Signal Indicator: - Provides clear Buy and Sell signals - Includes Take Profit and Stop Loss - No repaint (signals must not change or
Hi, I’m looking for a top-tier, profit-optimized EA that has the potential to scale trading returns significantly. My goal is to maximize growth over time. Can you help develop a bespoke EA that could potentially scale to high six or seven figures
Max amount grid 30+ USD
max amount grid step for magic number do keep deleting .only when it is in negative floating .but when it is profit allow to go over the max and replays to grid step
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone
I will pay 3000+ USD (negotiable) for an EA for existing MT5 that generates a minimum of 15-20% or higher a month consistently (provide source code after final deal) Looking for a highly profitable EA Please send demo version directly subject (Buying profitable EA Budget up to $ 3000 USD), past results and optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it
EA fx 30+ USD
Hello, I need an already developed EA similar to the one trading XAUUSD, with consistent entries and good risk management. Before we proceed, I would like to verify its performance. Please provide a live or demo account login along with the investor (read-only) password so I can monitor the trading results. I am looking for stable performance, controlled drawdown, and consistent profit on gold (XAUUSD). Once I
The strategy records the highest and lowest prices within a specified duration (default 15 minutes) after the New York market opens, forming the opening range. Post-Formation Breakout: When the price breaks above or below the opening range after its formation, it may indicate the direction of the day’s price movement. Trend Confirmation: The strategy uses two EMAs (default 20-period and 50-period) as trend filters to
Tengo una estrategia basada en divergencia para el oro sobre todo en tf m1 Basado en divergencia con stoch .. confirmando la entrada con ciertos parameteos de entrada Es mejor conversarlo para dar mejor los detalles Cuando entrar, porque o todas las divergencias se debe tomar para entrar en compras o ventas He adjuntado un ejemplo La confrmacion más exacta es el cruce de esos parámetros de stoch edebajo de level de

プロジェクト情報

予算
30 - 50 USD
締め切り
最低 7 最高 14 日