EA based on Candlestick Closure

MQL5 Experts

Termos de Referência

EA Specification (Updated with Risk Control Options)

1. General Concept

The Expert Advisor (EA) should open trades at the close of a candlestick, based on:

  • The market bias (user-defined: Buy or Sell only).

  • The timeframe selected by the trader.

The EA should include a dashboard panel on the chart that allows the trader to interact with and control the EA’s behavior.


2. Dashboard / User Interface

The on-chart dashboard should include:

  1. Market Bias Selection – Buy Only / Sell Only.

  2. Global TP and SL – in pips or price levels.

  3. Number of Positions per Signal – how many trades to open per valid signal.

  4. Floating PnL Display – real-time sum of EA trades.

  5. Close All Trades Button – closes all EA trades instantly.


3. Trading Logic

  • Check conditions at candle close.

  • If bias = Buy → open defined number of Buy trades.

  • If bias = Sell → open defined number of Sell trades.

  • Each trade uses Global TP/SL (unless overridden by risk-control options).

  • No opposite trades allowed.


4. Inputs / Parameters

  • Lot size (fixed).

  • Global Take Profit (pips/price).

  • Global Stop Loss (pips/price).

  • Number of positions per signal (integer).

  • Magic Number (to identify EA trades).

  • Maximum number of trades allowed (optional risk limit).


5. Trade Management

  • Each trade uses the configured TP/SL.

  • Close All” button closes all EA trades (Magic Number filter).

  • Floating PnL displayed on dashboard in real-time.


6. Additional Risk-Control Options (Optional Enhancements)

The EA can include the following advanced trade management options for handling multiple positions:

  1. Staggered Take Profit (Partial Exit)

    • Allow the trader to set different TP levels for multiple trades opened in the same signal.

    • Example: If 3 Buy trades are opened, TP1 = 20 pips, TP2 = 40 pips, TP3 = 60 pips.

    • Helps secure profits gradually while leaving positions to run.

  2. Break-Even Function

    • After X pips in profit (user-defined), automatically move SL to entry price (or entry + buffer).

    • Applies to all open positions or individually.

  3. Trailing Stop

    • Option to enable a trailing stop (user can define step and distance).

    • This replaces fixed SL once activated.

  4. Equity-Based Exit

    • A global condition to close all trades if account profit/loss reaches a certain threshold.

    • Example: Close all when floating profit ≥ $100, or when floating loss ≥ $50.

  5. Max Drawdown Protection

    • Prevent new trades from being opened if floating loss exceeds a user-defined percentage of account balance/equity.


7. Additional Notes

  • Dashboard updates dynamically.

  • No automatic bias detection — trader sets Buy/Sell manually.

  • EA must work on both MQL4 and MQL5 (or be specified for one platform).



Respondido

1
Desenvolvedor 1
Classificação
(462)
Projetos
907
76%
Arbitragem
25
16% / 68%
Expirado
99
11%
Livre
Publicou: 1 artigo, 6 códigos
2
Desenvolvedor 2
Classificação
(8)
Projetos
10
20%
Arbitragem
0
Expirado
0
Ocupado
3
Desenvolvedor 3
Classificação
(230)
Projetos
286
27%
Arbitragem
14
50% / 36%
Expirado
9
3%
Carregado
4
Desenvolvedor 4
Classificação
(14)
Projetos
15
0%
Arbitragem
1
0% / 0%
Expirado
0
Trabalhando
5
Desenvolvedor 5
Classificação
(13)
Projetos
17
18%
Arbitragem
3
67% / 0%
Expirado
0
Livre
6
Desenvolvedor 6
Classificação
(75)
Projetos
123
43%
Arbitragem
12
33% / 50%
Expirado
17
14%
Trabalhando
7
Desenvolvedor 7
Classificação
(50)
Projetos
73
21%
Arbitragem
11
18% / 27%
Expirado
6
8%
Trabalhando
8
Desenvolvedor 8
Classificação
(395)
Projetos
574
53%
Arbitragem
30
53% / 23%
Expirado
7
1%
Carregado
9
Desenvolvedor 9
Classificação
(109)
Projetos
137
43%
Arbitragem
8
38% / 38%
Expirado
6
4%
Livre
10
Desenvolvedor 10
Classificação
(427)
Projetos
751
49%
Arbitragem
62
16% / 48%
Expirado
136
18%
Carregado
11
Desenvolvedor 11
Classificação
(325)
Projetos
535
67%
Arbitragem
52
21% / 38%
Expirado
169
32%
Trabalhando
Publicou: 1 código
12
Desenvolvedor 12
Classificação
(368)
Projetos
472
24%
Arbitragem
51
61% / 20%
Expirado
53
11%
Carregado
13
Desenvolvedor 13
Classificação
(36)
Projetos
38
11%
Arbitragem
2
50% / 50%
Expirado
2
5%
Trabalhando
14
Desenvolvedor 14
Classificação
(302)
Projetos
466
18%
Arbitragem
29
48% / 24%
Expirado
29
6%
Carregado
15
Desenvolvedor 15
Classificação
(6)
Projetos
6
17%
Arbitragem
2
0% / 0%
Expirado
1
17%
Carregado
16
Desenvolvedor 16
Classificação
(8)
Projetos
12
0%
Arbitragem
22
0% / 77%
Expirado
4
33%
Livre
17
Desenvolvedor 17
Classificação
(5)
Projetos
4
25%
Arbitragem
1
0% / 100%
Expirado
0
Livre
18
Desenvolvedor 18
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
19
Desenvolvedor 19
Classificação
(11)
Projetos
11
0%
Arbitragem
4
25% / 50%
Expirado
2
18%
Livre
20
Desenvolvedor 20
Classificação
(4)
Projetos
2
0%
Arbitragem
1
0% / 0%
Expirado
1
50%
Trabalhando
21
Desenvolvedor 21
Classificação
(84)
Projetos
115
70%
Arbitragem
5
80% / 0%
Expirado
11
10%
Livre
22
Desenvolvedor 22
Classificação
(51)
Projetos
69
35%
Arbitragem
1
100% / 0%
Expirado
0
Livre
23
Desenvolvedor 23
Classificação
(3)
Projetos
3
0%
Arbitragem
0
Expirado
0
Ocupado
24
Desenvolvedor 24
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
25
Desenvolvedor 25
Classificação
(2596)
Projetos
3275
67%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
26
Desenvolvedor 26
Classificação
(291)
Projetos
521
36%
Arbitragem
62
34% / 35%
Expirado
187
36%
Carregado
27
Desenvolvedor 27
Classificação
(279)
Projetos
330
51%
Arbitragem
12
42% / 0%
Expirado
18
5%
Carregado
28
Desenvolvedor 28
Classificação
(43)
Projetos
65
11%
Arbitragem
12
58% / 42%
Expirado
1
2%
Livre
29
Desenvolvedor 29
Classificação
(2248)
Projetos
2835
62%
Arbitragem
118
46% / 25%
Expirado
428
15%
Livre
30
Desenvolvedor 30
Classificação
(287)
Projetos
293
70%
Arbitragem
2
100% / 0%
Expirado
0
Livre
Publicou: 1 código
31
Desenvolvedor 31
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
32
Desenvolvedor 32
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
33
Desenvolvedor 33
Classificação
(156)
Projetos
280
35%
Arbitragem
14
29% / 50%
Expirado
42
15%
Livre
34
Desenvolvedor 34
Classificação
(450)
Projetos
560
26%
Arbitragem
22
41% / 36%
Expirado
85
15%
Livre
Publicou: 6 códigos
35
Desenvolvedor 35
Classificação
(77)
Projetos
232
73%
Arbitragem
6
100% / 0%
Expirado
1
0%
Livre
Pedidos semelhantes
I need an MQL4 developer to create two projects on MT4. The first is a grid trading EA that should not use martingale, but allow customizable settings such as grid step, lot size, maximum trades, take profit, stop loss, trading hours, and include risk management features. The second is a reverse trade copier that mirrors trades from one MT4 account to another in the opposite direction (for example, if the master
I'm seeking a highly skilled MQL5 developer to backtest and optimize an existing Expert Advisor (EA) for consistent and stable performance on XAUUSD (Gold), M5 timeframe . Project Scope: Conduct detailed backtesting using high-quality, accurate historical data Perform advanced optimization of key parameters: Risk settings Stop Loss / Take Profit Trailing stop Lot sizing Other relevant EA settings Ensure robust
Hello, I’m currently looking to hire a professional and experienced developer to help create a custom trading bot (Expert Advisor) for the MetaTrader platform (MT5). What I Need: I’m looking for someone who can: Develop a fully automated trading bot based on my strategy (which I will provide in detail)
Hello, I’m looking for an MQL5 or MQL4 EA that trades EURUSD (optionally other majors or XAUUSD). The broker applies a 4-pip spread on EURUSD and higher on other symbols. The sole objective is to generate at least 45–60 lots of volume within 2 weeks or max one month (more is better; a bonus is paid for every additional 10 lots traded). The account has 1000 USD starting balance. Capital preservation is not required
I need help building a successful trading strategy on QuantConnect. The goal is to achieve a sharp ratio greater than 2 and returns above 100% per annum, with the strategy scripted and backtested on the platform. Scope of work - Develop a trading strategy with a sharp ratio greater than Ensure returns exceed 100% annually. - Draft and backtest the strategy using QuantConnect platform. Additional information Build &
Hello, I run a service providing Expert Advisors (EAs) and trading tools to clients, and I am looking for a skilled developer to partner with on a long-term basis. The key requirements include: MT4/MT5 Development – Creating new EAs, editing existing ones, and managing licensing. TradingView Indicators – Developing and modifying indicators with licensing solutions. As my client base grows, there will be a steady flow
1. Project Overview Name : BB Channel Trading EA Objective : Execute reversal trades based on price action (engulfing patterns and liquidity sweeps) at the extremes defined by Bollinger Bands. Trades will be taken when price breaks volatility bounds, indicating potential exhaustion and reversal. 2. Functional Components 2.1 Bollinger Bands Channel Purpose : Identify overbought and oversold zones. Indicator : Custom
I am looking for an experience MQL4 developer for making a profitable prop firm compatible MT4 gold scalper EA on a 5 Minute time frame. The EA should have a win rate of not less than 90% on back testing. The EA should be able to pass all prop firm challenges like Funded Next, FTMO, Funding Pips within 1-2 weeks. The EA should also work on live funded account. Any strategy can be used to develop the EA. Proper risk
I’m looking for a profitable Expert Advisor (EA) — the real beast that can deliver strong results on MT4/MT5. If you have a proven EA with good performance and risk management, kindly reach out with details and results
Description: I'm looking for an experienced MQL5 developer to build a fully automated Expert Advisor (EA) for trading the MNQ100 Micro E-mini Nasdaq futures on MetaTrader 5 , specifically tailored for use on a funded prop firm account . The EA will be running unattended, so it must have reliable built-in risk management and strict protections to comply with typical prop firm rules (such as daily loss limits, max

Informações sobre o projeto

Orçamento
50 - 100 USD
Prazo
de 1 para 3 dias

Cliente

Pedidos postados1
Número de arbitragens0