EA based on Candlestick Closure

MQL5 Experts

Spécifications

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).



Répondu

1
Développeur 1
Évaluation
(462)
Projets
907
76%
Arbitrage
25
16% / 68%
En retard
99
11%
Gratuit
Publié : 1 article, 6 codes
2
Développeur 2
Évaluation
(8)
Projets
10
20%
Arbitrage
0
En retard
0
Occupé
3
Développeur 3
Évaluation
(230)
Projets
286
27%
Arbitrage
14
50% / 36%
En retard
9
3%
Chargé
4
Développeur 4
Évaluation
(14)
Projets
15
0%
Arbitrage
1
0% / 0%
En retard
0
Travail
5
Développeur 5
Évaluation
(13)
Projets
17
18%
Arbitrage
3
67% / 0%
En retard
0
Gratuit
6
Développeur 6
Évaluation
(75)
Projets
123
43%
Arbitrage
12
33% / 50%
En retard
17
14%
Travail
7
Développeur 7
Évaluation
(50)
Projets
73
21%
Arbitrage
11
18% / 27%
En retard
6
8%
Travail
8
Développeur 8
Évaluation
(395)
Projets
574
53%
Arbitrage
30
53% / 23%
En retard
7
1%
Chargé
9
Développeur 9
Évaluation
(109)
Projets
137
43%
Arbitrage
8
38% / 38%
En retard
6
4%
Gratuit
10
Développeur 10
Évaluation
(427)
Projets
751
49%
Arbitrage
62
16% / 48%
En retard
136
18%
Chargé
11
Développeur 11
Évaluation
(325)
Projets
535
67%
Arbitrage
52
21% / 38%
En retard
169
32%
Travail
Publié : 1 code
12
Développeur 12
Évaluation
(368)
Projets
472
24%
Arbitrage
51
61% / 20%
En retard
53
11%
Chargé
13
Développeur 13
Évaluation
(36)
Projets
38
11%
Arbitrage
2
50% / 50%
En retard
2
5%
Travail
14
Développeur 14
Évaluation
(302)
Projets
466
18%
Arbitrage
29
48% / 24%
En retard
29
6%
Chargé
15
Développeur 15
Évaluation
(6)
Projets
6
17%
Arbitrage
2
0% / 0%
En retard
1
17%
Chargé
16
Développeur 16
Évaluation
(8)
Projets
12
0%
Arbitrage
22
0% / 77%
En retard
4
33%
Gratuit
17
Développeur 17
Évaluation
(5)
Projets
4
25%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
18
Développeur 18
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
19
Développeur 19
Évaluation
(11)
Projets
11
0%
Arbitrage
4
25% / 50%
En retard
2
18%
Gratuit
20
Développeur 20
Évaluation
(4)
Projets
2
0%
Arbitrage
1
0% / 0%
En retard
1
50%
Travail
21
Développeur 21
Évaluation
(84)
Projets
115
70%
Arbitrage
5
80% / 0%
En retard
11
10%
Gratuit
22
Développeur 22
Évaluation
(51)
Projets
69
35%
Arbitrage
1
100% / 0%
En retard
0
Gratuit
23
Développeur 23
Évaluation
(3)
Projets
3
0%
Arbitrage
0
En retard
0
Occupé
24
Développeur 24
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
25
Développeur 25
Évaluation
(2596)
Projets
3275
67%
Arbitrage
77
48% / 14%
En retard
342
10%
Gratuit
Publié : 1 code
26
Développeur 26
Évaluation
(291)
Projets
521
36%
Arbitrage
62
34% / 35%
En retard
187
36%
Chargé
27
Développeur 27
Évaluation
(279)
Projets
330
51%
Arbitrage
12
42% / 0%
En retard
18
5%
Chargé
28
Développeur 28
Évaluation
(43)
Projets
65
11%
Arbitrage
12
58% / 42%
En retard
1
2%
Gratuit
29
Développeur 29
Évaluation
(2248)
Projets
2835
62%
Arbitrage
118
46% / 25%
En retard
428
15%
Gratuit
30
Développeur 30
Évaluation
(287)
Projets
293
70%
Arbitrage
2
100% / 0%
En retard
0
Gratuit
Publié : 1 code
31
Développeur 31
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
32
Développeur 32
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
33
Développeur 33
Évaluation
(156)
Projets
280
35%
Arbitrage
14
29% / 50%
En retard
42
15%
Gratuit
34
Développeur 34
Évaluation
(450)
Projets
560
26%
Arbitrage
22
41% / 36%
En retard
85
15%
Gratuit
Publié : 6 codes
35
Développeur 35
Évaluation
(77)
Projets
232
73%
Arbitrage
6
100% / 0%
En retard
1
0%
Gratuit
Commandes similaires
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
Modify my MT5 EA 30 - 40 USD
I am looking for an MQL5 programmer who can modify and customize my personal MT5 EA. There is problem in placing stop loss but still the EA is profitable on back testing. I also want to add news filter and prop firm compatible. The details will be shared to the developer personally

Informations sur le projet

Budget
50 - 100 USD
Délais
de 1 à 3 jour(s)

Client

Commandes passées1
Nombre d'arbitrages0