MQL5 EA Programming Request

MQL5 Esperti

Lavoro terminato

Tempo di esecuzione 1 ora
Feedback del cliente
It is fast, efficient and easy to understand the instructions, 10/10
Feedback del dipendente
The client is very clear on what he wants. Great working Experience!!!

Specifiche

EA Programming Request

This EA aims to manage user-opened trades by adding a pending order based on specific conditions. This pending order has a configurable size and Take Profit (TP) level, depending on the original trade opened by the user.

EA Components

  1. Original Position

    • This is the trade manually opened by the user.

    • The trade has a user-defined Stop Loss (SL) and Take Profit (TP).

  2. Stop Loss Percentage - Entry

    • Defines the distance from the Stop Loss to the pending order, expressed as a percentage.

    Example:

    • Long entry at price 100.

    • Stop Loss at 90 (10 points distance).

    • Stop Loss Percentage - Entry of 30%.

    • Pending order placed at price 93. (30% of 10 points = 3 points, so it will be placed 3 points above the SL for a long entry).

  3. Position Multiplier

    • A multiplier for the size of the pending order compared to the original position.

    Example:

    • Initial entry with 1 lot.

    • Multiplier of 3.

    • The pending order will have a size of 3 lots.

  4. Modes of TP Placement for the Pending Order

    • Mode 1: Set the TP at the entry price of the original position.

    • Mode 2: Set the TP at the TP price of the original position.

    • Mode 3: Set 50% of the TP at the entry price of the original position and the other 50% at the TP of the original position.

  5. System Scope Modes

    • Mode 1: Only valid for the current symbol (applies only to the asset with the open position).

    • Mode 2: Valid for all trades in the account (applies to all open positions in the account).

EA Operation

  1. The user manually opens an original position, with a defined Stop Loss and Take Profit.

  2. The EA automatically places a pending order based on the Stop Loss Percentage - Entry defined by the user.

    • Stop Loss Percentage - Entry determines the distance from the Stop Loss where the pending order is placed.

  3. The pending order will have:

    • Size defined by the Position Multiplier (i.e., a larger or smaller size compared to the original position).

    • Take Profit based on the selected mode (Mode 1, Mode 2, or Mode 3).

    • Stop Loss will always be the same as the Stop Loss of the original position.

Examples of TP Placement Modes

Mode 1: Set the TP at the entry price of the original position

Example:

  • User opens a long position at price 100.

    • Stop Loss at 90 (10 points distance).

    • Take Profit at 110.

  • Stop Loss Percentage - Entry: 30%.

    • Pending order placed at 93 (30% of 10 points = 3 points, so the pending order price will be 90 + 3).

  • Position Multiplier: 2.

    • The pending order will be 2 lots.

  • TP Placement Mode: Mode 1.

    • The TP of the pending order is set at the entry price of the original position, i.e., 100.

Mode 2: Set the TP at the TP price of the original position

Example:

  • User opens a long position at price 100.

    • Stop Loss at 90 (10 points distance).

    • Take Profit at 110.

  • Stop Loss Percentage - Entry: 30%.

    • Pending order placed at 93.

  • Position Multiplier: 2.

    • The pending order will be 2 lots.

  • TP Placement Mode: Mode 2.

    • The TP of the pending order is set at the Take Profit price of the original position, i.e., 110.

Mode 3: Set 50% of the TP at the entry price of the original position and the other 50% at the TP of the original position

Example:

  • User opens a long position at price 100.

    • Stop Loss at 90 (10 points distance).

    • Take Profit at 110.

  • Stop Loss Percentage - Entry: 30%.

    • Pending order placed at 93.

  • Position Multiplier: 2.

    • The pending order will be 2 lots.

  • TP Placement Mode: Mode 3.

    • The TP of the pending order is divided into two parts:

      • 50% of the position size has TP at the entry price of the original position, i.e., 100.

      • The remaining 50% has TP at the Take Profit price of the original position, i.e., 110.

Complete Example

Example:

  • User opens a long position at price 100.

    • Stop Loss at 90 (10 points distance).

    • Take Profit at 110.

  • Stop Loss Percentage - Entry: 30%.

    • Pending order placed at 93 (30% of 10 points = 3 points, so the pending order price will be 90 + 3).

  • Position Multiplier: 2.

    • The pending order will be 2 lots.

  • TP Placement Mode: Mode 1.

    • The TP of the pending order is set at the entry price of the original position, i.e., 100.

With this logic, the EA helps manage user-opened trades automatically, allowing for hedging strategies and increasing exposure under specific conditions.

Note: The Stop Loss will always be the same as the original position opened by the user.


Con risposta

1
Sviluppatore 1
Valutazioni
(36)
Progetti
44
23%
Arbitraggio
5
40% / 60%
In ritardo
5
11%
In elaborazione
2
Sviluppatore 2
Valutazioni
(22)
Progetti
27
37%
Arbitraggio
1
100% / 0%
In ritardo
3
11%
Caricato
3
Sviluppatore 3
Valutazioni
(30)
Progetti
42
19%
Arbitraggio
7
29% / 43%
In ritardo
5
12%
Gratuito
4
Sviluppatore 4
Valutazioni
(2464)
Progetti
3102
66%
Arbitraggio
77
48% / 14%
In ritardo
340
11%
In elaborazione
5
Sviluppatore 5
Valutazioni
(141)
Progetti
195
76%
Arbitraggio
4
50% / 25%
In ritardo
18
9%
Gratuito
6
Sviluppatore 6
Valutazioni
(10)
Progetti
16
6%
Arbitraggio
0
In ritardo
2
13%
In elaborazione
7
Sviluppatore 7
Valutazioni
(258)
Progetti
460
35%
Arbitraggio
58
36% / 36%
In ritardo
168
37%
In elaborazione
Ordini simili
I have an indicator-based Expert Advisor (EA) for MetaTrader 5 that needs the following corrections: --Note This is an easy job this should take a few hours, I dont want to wait until you finish 4 jobs and have me waiting I need this job completed ASAP, Important Allow the EA to open all trades immediately AFTER the indicator lines COMPLETELY CROSS, t he trade should trigger as soon as a complete indicator crossover
I have an indicator-based Expert Advisor (EA) for MetaTrader 5 that needs the following corrections: --Note This is an easy job this should take a few hours, I dont want to wait until you finish 4 jobs and have me waiting I need this job completed ASAP, Important Allow the EA to open all trades immediately AFTER the indicator lines COMPLETELY CROSS, t he trade should trigger as soon as a complete indicator crossover
I got a bot but cannot upload to market. I cannot fix these issues: test on EURUSD,H1 there are no trading operations test on NZDUSD,H1 there are no trading operations test on GBPUSDcheck,M30 there are no trading operations test on XAUUSDcheck,Daily there are no trading operations Anyone can help fix this. please Dm me
Hello Developers, I’m looking for an experienced MT5 developer to help address a specific execution issue with pending orders on the US500 instrument, trading through OX Securities. In fast-moving markets, pending orders are currently not filling at the expected limit prices, possibly due to widened spreads or broker execution policies. If you have the expertise to ensure consistent and reliable order fills under
I would like to have existing indicator (MT4) to be modified however i do not have access to the source code only the exe. The modification is to send and alert to mobile phone stating that candle has closed partially or fully above or below base line for sepicific time frames.This should be for all forex pairs in the market watch, or selected paris from market watch. File will be sent to developer when choosen
Need to fix WebSocket disconnection issue in MT5 Expert Advisor. EA works fine while running but has problems during removal: MT 5 freezes when removing EA from chart WebSocket connection not properly closed MT 5 crashes if receiving messages after improper disconnection Technical Details: Platform: Met aTrader 5 WebSocket connection using winhttp.dll Secure WS S connection (port 443) Basic WebSocket message
The expert advisor is designed to activate different strategies based on certain conditions. In the first development there is a "STRATEGY A" which is active by default and a "STRATEGY B" which is activated based on exposure conditions. STRATEGY A - Trading Idea The EA executes both BUY and SELL orders in parallel, managing them in a "separate" way. At each Timeframe start (for example every hour start on H1
I need to create an EA (MQL4) MT4 with can auto create buy and sell according to the Indicator " Machine Learning Adaptive SuperTrend [AlgoAlpha]" in trading view Setting could be same as trading view Additional setting such as : Start lot Stop-Order: same as indicator
I have a really very, very simple professional, proven, profitable forex strategy that works on a higher time frame with over 85% winning rate. I am searching a professional programmer to create expert advisor based on this stategy, in general I am searching a developer for a longer co-operation. I am a forex trader with over 12 years experience. telegram: fxMiguel It's a 15minute work job, 30min max, My budget is 10
Testing 30 - 200 USD
// กำหนดค่าตัวแปรเริ่มต้น input double DailyProfitTarget = 200; // กำไรที่ต้องการในแต่ละวัน (2% ของทุน) input double LotSize = 0.1; // ขนาด Lot input double TakeProfit = 10; // กำไรต่อการเทรดใน pip input double StopLoss = 5; // การหยุดขาดทุนต่อการเทรดใน pip double dailyProfit = 0; // กำไรที่ทำได้ในวันนี้ // ฟังก์ชันเริ่มต้น int OnInit() { dailyProfit = 0; return(INIT_SUCCEEDED); } //

Informazioni sul progetto

Budget
60+ USD
Per lo sviluppatore
54 USD
Scadenze
da 1 a 7 giorno(i)