I need an EA for MT4

MQL4 Experts

Trabalho concluído

Tempo de execução 5 dias
Comentário do desenvolvedor
Excellent customer! Good communication. Very clear task.
Comentário do cliente
Very professional and skilled coder, difficult EA completed on time. Definitely recomended.

Termos de Referência

I need an EA for MetaTrader 4. The market entry signal is based on trendline breakouts. Positions are closed by stop loss, take profit and reverse signal. All positions are accompanied by a trailing stop, based on the average between the maximum and minimum of the last n candlesicks. Some calculations are done as a fraction of the Average True Range indicator. Lot sizes are calculated as a percentage of the balance.

 

Trendlines


This system is based on trendlines, which are drawn connecting fractals.


Fractals are patterns where highs or lows are in the middle of a series of bars. A first order bearish fractal appears in a series of three consecutive bars, when the high of the central bar is preceded by a lower high and is followed by a lower high. The opposite for bullish fractals. Similarly, a second order bearish fractal is found in a series of five consecutive bars where the highest high is located on the central bar, and therefore, preceded by two lower highs and followed by two lower highs. The opposite would be a bullish second order fractal (see Image 1). An indicator for fractals is already built in MT4 (Indicators>Bill Williams>Fractals).

 

01

 

This expert advisor should draw trendlines connecting second order fractals. A bullish trendline will be drawn connecting the last two second order bullish fractals, if the most recent bullish fractal is higher than the previous bullish fractal. A bullish trendline can be also drawn connecting the last and the third-to-last second order fractals, if the most recent bullish fractal is higher than the third-to-last bullish fractal. The fourth and further fractals on the left will be ignored. To draw a trendline, fractals must be separated by at least five candlesticks.

The opposite conditions will be considered to draw a bearish trendline (see Image 2).

02 

Trendlines must be drawn considering second order fractals. Only in the case that no second order fractal appears in the last nine candlesticks, trendlines should be drawn based on first order fractals, following the same rules (see Image 3).

 

Signal to open a position


A long position is opened when a candlestick closes above a bearish trendline, plus a determinate number of pips in the same direction, calculated as a percentage of the 14 periods Average True Range (“ATR(14)”, henceforth) value in the last bar. This parameter should be adjustable and called Breakstrength (please allow fractional numbers). For example, if the ATR(14) value in the last bar is 100, and the Breakstrength is set as 10%, then 10 points should be added to the level of the breakout point to allow the opening of a position.

Conversely, a short position is opened when a candlestick closes below a bullish trendline, plus a determinate number of pips specified in Breakstrength (see Image 4). 

 

Only one position at a time can be opened, even if a candlestick breaks two different trendlines. If an opposite signal occurs (i.e., a candlestick breaks out a trendline in the opposite direction) the active position must be closed, and the opposite operation should be opened (see Image 5).

 

Stop loss

Initial stop loss

Every position is opened with an initial stop loss, that should be placed after the most recent fractal in the opposite direction (i.e. the last down fractal for long positions, or the last up fractal for short positions). A given number of pips, calculated as a percentage of the ATR(14), should be added to this initial stop loss (this parameter should be adjustable and called InitialSLBuffer, see Image 6).

 

Trailing stop loss

The initial stop loss should not move during the first n candlesticks following the entry point. This parameter should be adjustable and called StartTrailSL. After the n+1 candlestick following the entry point, the stop loss should be moved below the minimum of the n+1 candlestick in long positions, or above the maximum of the n+1 candlestick in short positions, plus a given number of pips. This parameter should be adjustable, calculated as a fraction of the ATR, and called TrailSLBuffer (see Image 7).

 

A line displaying the average between the maximum and minimum of the last n candlesticks should be calculated with each candle (called Kijun line, as in the Ichimoku indicator, already built in MT4). The number of candlesticks used to calculate this line should be adjustable and called KijunPeriod.


As soon as a candlestick opens and closes above this Kijun line in long positions, or below, in short positions, the stop loss level should be moved below or above the Kijun line, for long and short positions respectively, plus a number of pips specified by the TrailSLBuffer (see Image 8).

 

The trailing stop loss must move only in the direction of profit.


Momentum Filter

No position should be opened if in the last 10 bars price moves faster than a determinate number of pips, from mimimum to maximum. This maximum number of pips to allow trading should be adjustable, as a multiple of the ATR(14), and called MaxMomentum (see Image 9).

 

Time Filter

Opening positions shoud be only allowed during a determinate period of the session (e.g.: from 7:00 to 18:00). If a position is still open after this time, it shoud be closed following the Marked Exit rules of the next paragraph.


Market Exit

Part of the position should be closed if profit reaches a percentage of the number of pips risked by the initial stop loss (both parameters, the percentage of the position to be closed, and the percentage of pips of the initial stop loss, should be adjustable and called ClosePercent and InitialFraction respectively). The rest of the position should be closed when price hits the stop loss or when an opposite signal occurs, whatever happens first (see Image 10).

 

Position volume

The number of lots is calculated as a percentage of the current balance (this parameter should be adjustable and called RiskPercentage).

For example, equity is $10000, and we want to risk 1%, that is, RiskPercentage is set to 1%. The EURUSD pip value is $10 on a standard lot. Initial stop loss is at 200 pips distance. Then, the lot size should be:


$100 risked / (200 pips *$10 per pip) = 0,05 lot size.


Calculations should be rounded to the nearest microlot size.


Miscellaneous:

When the Expert Advisor is runned, it should attach the used indicators with the specified parameters.


If there are any errors, it must print a message describing the error. 

Respondido

1
Desenvolvedor 1
Classificação
(885)
Projetos
1410
67%
Arbitragem
123
32% / 41%
Expirado
217
15%
Livre
Publicou: 1 código
2
Desenvolvedor 2
Classificação
(1156)
Projetos
1462
63%
Arbitragem
21
57% / 10%
Expirado
43
3%
Livre
3
Desenvolvedor 3
Classificação
(2678)
Projetos
3429
68%
Arbitragem
78
49% / 14%
Expirado
343
10%
Livre
Publicou: 1 código
4
Desenvolvedor 4
Classificação
(219)
Projetos
370
42%
Arbitragem
145
17% / 41%
Expirado
124
34%
Livre
Publicou: 38 códigos
5
Desenvolvedor 5
Classificação
(69)
Projetos
76
59%
Arbitragem
0
Expirado
12
16%
Livre
Publicou: 2 códigos
6
Desenvolvedor 6
Classificação
(195)
Projetos
395
28%
Arbitragem
155
20% / 52%
Expirado
112
28%
Livre
7
Desenvolvedor 7
Classificação
(1931)
Projetos
3552
88%
Arbitragem
73
40% / 15%
Expirado
268
8%
Livre
8
Desenvolvedor 8
Classificação
(107)
Projetos
149
36%
Arbitragem
29
3% / 55%
Expirado
35
23%
Livre
9
Desenvolvedor 9
Classificação
(589)
Projetos
1072
50%
Arbitragem
39
28% / 41%
Expirado
49
5%
Livre
Publicou: 1 artigo, 8 códigos
10
Desenvolvedor 10
Classificação
(89)
Projetos
137
24%
Arbitragem
35
9% / 40%
Expirado
52
38%
Livre
11
Desenvolvedor 11
Classificação
(258)
Projetos
396
28%
Arbitragem
70
19% / 49%
Expirado
121
31%
Livre
Pedidos semelhantes
Experienced Trading Software Developer Needed – Multi-Platform Development Hello! I'm looking for an experienced developer to create a custom trading indicator and convert it into an automated trading bot for the following platforms: MT5 NinjaTrader 8 Quantower cTrader The plan is to develop the same indicator and trading bot for all four platforms, one after another. Project requirements: Custom trading indicator
un écosystème logiciel asynchrone multi-comptes dopé par un module de supervision par Intelligence Artificielle (Guardian AI). La solution assure le pilotage automatisé, le filtrage de marché en temps réel et le contrôle des risques pour 20+ comptes MetaTrader 4/5 (via MetaApi) et Deriv sur VPS Equinix NY4. vous aurez plus de detail dans les échanges
Order flow 30+ USD
Hi! I need an experience developer with order flow, volume delta, and futures scalping, and I wanted to ask you a few questions. Have you personally developed and tested fast-paced strategies for Gold Futures (GC), particularly those that enter during short-term price impulses and scale into positions as momentum builds? From your experience, what indicators or signals help you determine whether an impulse has enough
I am looking for an experienced MQL5 developer for the first milestone of a larger MetaTrader 5 project: a multi-symbol, multi-timeframe signal scanner with alerts. This milestone covers indicator integration only. There is no order placement or trade management at any stage. Scope of this milestone Read outputs from three custom indicators (provided as compiled files after selection and NDA) reliably via iCustom and
RA_BOT 2.0 36+ USD
//@version=4 study(title="UT Bot Alerts", overlay = true) // Inputs a = input(1, title = "Key Vaule. 'This changes the sensitivity'") c = input(10, title = "ATR Period") h = input(false, title = "Signals from Heikin Ashi Candles") xATR = atr(c) nLoss = a * xATR src = h ? security(heikinashi(syminfo.tickerid), timeframe.period, close, lookahead = false) : close xATRTrailingStop = 0.0 xATRTrailingStop := iff(src >
Andrew 50 - 200 USD
Hello, I am from Tanzania. I am looking for a professional MQL5 programmer from Tanzania who can help me develop and improve my automated MT5 trading robot. The project is called SMC XAVAGE AI, and it trades XAUUSD (Gold). I would like to discuss the project with you. Are you based in Tanzania? Would it be possible to arrange a meeting or a call? Thank you
Metafix 50 - 200 USD
Here is a professional specification you can send directly to your developer. # Project Requirements Specification: MetaTrader 5 Trading Robot Development ### 1. Project Overview I want to develop an automated Forex trading robot (Expert Advisor) for MetaTrader 5 (MT5). The robot should analyse the financial markets, identify trading opportunities, and execute trades automatically based on predefined strategies. ###
1. Platform: MT4 The EA required is not linked, neither depending on trading strategy nor trading signals nor indicators. 2. Initial order is a pending order (buy stop/ sell stop) and it is created manually. It is open for a specified symbol (pair) at a specified price with a specified S/L 3. Example: buy stop 0.1 lot GBPUSD @ 1.3085 WITH S/L @1.3075 Once target price is reached, pending order will
I am looking for an experienced trading software developer interested in building a long-term working relationship. Im a professional Trader, Coach and Mentor, I work with traders and Student who require customized trading solutions, including automated trading bots, Expert Advisors, custom indicators, trading strategies and other algorithmic trading tools. I am looking for a technically skilled developer who can
Salman serhal 30 - 100 USD
MT5 ICT XAUUSD Sell-Only Trading Robot with Fibonacci Confirmation I am looking for an experienced MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5, specifically for trading Gold (XAUUSD). 1. Trading Strategy The robot must use the ICT trading methodology and focus on SELL trades only. The strategy should include: * Identify important resistance and premium zones. * Use Fibonacci retracement

Informações sobre o projeto

Orçamento
70 - 150 USD
Prazo
de 10 para 15 dias