MQL5 EA Programming Request

MQL5 Experts

Trabalho concluído

Tempo de execução 1 hora
Comentário do cliente
It is fast, efficient and easy to understand the instructions, 10/10
Comentário do desenvolvedor
The client is very clear on what he wants. Great working Experience!!!

Termos de Referência

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.


Respondido

1
Desenvolvedor 1
Classificação
(50)
Projetos
64
20%
Arbitragem
11
27% / 55%
Expirado
5
8%
Livre
2
Desenvolvedor 2
Classificação
(28)
Projetos
36
31%
Arbitragem
3
33% / 0%
Expirado
7
19%
Carregado
3
Desenvolvedor 3
Classificação
(60)
Projetos
87
29%
Arbitragem
24
13% / 58%
Expirado
7
8%
Trabalhando
4
Desenvolvedor 4
Classificação
(2653)
Projetos
3370
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
5
Desenvolvedor 5
Classificação
(159)
Projetos
215
76%
Arbitragem
4
50% / 25%
Expirado
18
8%
Livre
Publicou: 2 artigos
6
Desenvolvedor 6
Classificação
(28)
Projetos
39
23%
Arbitragem
14
0% / 93%
Expirado
4
10%
Livre
7
Desenvolvedor 7
Classificação
(311)
Projetos
557
35%
Arbitragem
79
32% / 43%
Expirado
202
36%
Trabalhando
Pedidos semelhantes
A perfect indicator 30 - 80 USD
Merge nearby zones yes/no Alert on/off Label on/off Show only current relevant zones near price yes/no Distance filter from current price Zone transparency Colors Preferred Output on Chart: I want the indicator to show only: the strongest nearby support zones under price the strongest nearby resistance zones above price major higher timeframe zones clean chart view I do not want excessive clutter. Entry Assistance
Criei um Robô para a venda alta precisão que automatiza a estratégia de correção média de Larry Williams. Possui filtros de tendência seletiva, controle de lote por risco percentual e execução rápida. Compatível com contas Hedge e Netting. Configuração simples e otimizada para mercados de alta volatilidade. *55(16) 993786056
SMC ORDER BLOCK 30 - 60 USD
I want already build FULLY AUTOMATED order block MT5 XAUUSD HTF H4 ENTRY LTF M15 - Show result on live account. m15 ob entry in the direction of h4 ob bias the developper to provide source code in the end
I need an MT5 Expert Advisor built as a high-precision volumizer for Forex. Its core purpose is to generate controlled trading volume for rebates, while still maintaining low-risk account growth. I am not looking for aggressive profit chasing. I am looking for a stable, intelligent EA that can produce volume in a disciplined way without damaging the account. The ideal system should trade major currency pairs, avoid
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot
I need a high frequency trading robot for gold in one or 5 minute timeframe the robot should have spread filter where it should only open trades below a set spread should have news filter to allow trading during fundal news or not the robot should have input in number of minutes to close all open trades and remove pending orders before fundamental news as part of news filter. It should also have the number of minutes
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

Informações sobre o projeto

Orçamento
60+ USD
Prazo
de 1 para 7 dias