New Expert Advisor algorithm required

MQL4 Indicadores Asesores Expertos

Trabajo finalizado

Plazo de ejecución 6 días
Comentario del Cliente
Terrific. Arkadii is a pleasure to work with.

Tarea técnica

Expert Advisor needed for MetaTrader4

System essentially looks for a large price movement, followed by a retracement to an EMA(x) line where a Limit Order has now been placed. The order direction – long or short – follows the direction of the original large movement.

Following use of the EA for backtesting, it will be necessary to finalize the EA to work on a real account, placing all of the necessary checks, standard handling of simple errors (requotes, invalid stops, etc).


EMA(x) and EMA(y) shown on 1hr candlestick chart.

 

Rules of trade entry:

1.       When price diverges from EMA(x) by + or – PIPS(xx) on a 1hr chart, judged at the opening of the following 1hr bar (in order to prevent EMA(x) movement in real-time).

AND

When on the following 1hr candle there is at least PIPS(yy) gap between EMA(x) and the Low (for going Long) or the High (for going Short) of the new candle…

Then place a Limit Order on EMA(x) in same direction as original PIPS(xx) + or – movement. This Limit Order position will need to move as the EMA(x) is re-drawn (re-accessed perhaps every 15 mins).

2.       Once that Limit Order trade is enacted by the price touching EMA(x), immediately place a StopLoss at PIPS(sl) and TakeProfit at PIPS(tp).

3.       Cancelling Limit Order: If the price/EMA(x) touch has not occurred within further HOURS(z) candles then cancel Limit Order without placing the trade. 

4.       Possible further order after initial EMA(x) trade. Ordinarily only one trade placed at a time. However, a second trade may be entered if the first trade is live AND price touches EMA(y). The same rules as above apply and this trade can only happen if there is a live EMA(x) initiated order in place

 

Rules of trade exit:

1.       StopLoss hit.

2.       TakeProfit hit.

3.       Time/date (if end of trading period if specified) is reached.

 


 

Interface for backtest

When you run the Expert Advisor, it should attach the used indicators with the specified parameters.  So for example, in order to assess the EA performance, indicators like arrows should appear on the chart showing where the PIPS(yy) decision was made, where the Limit Order is placed and where the StopLoss & TakeProfit are located.

The information on the opening/closing of positions and of modifications of the SL should be stored in the Journal;

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

 


IMPORTANT NOTE: I want to use this algorithm both to backtest and trade and so the backtest must work as accurately to trading reality as possible. In particular judgements over the gap between the EMA(x) and price are to be made looking at the 1hr chart. However, the actual execution including StopLoss  and TakeProfit must be judged in real-time (1 minute is probably ok) in order to match reality.

For testing Lot Size will be 1, but the EA should contain logic to increase Lot Size depending on retained profit from the strategy for use when actually trading.

For reference the system will run with an IG Index Spread MT4 account.

I hope to work with you for a long time, but either way I will want the source code and will own the rights.

 

Adjustable Testing Parameters:

1hr chart could be another time frame, but calculations must always be real-time tick by tick.

EMA(x) and EMA(y)

PIPS(xx)

HOURS(z)

PIPS(sl)

PIPS(tp)

Market open times (open & close time/date)

Market indicator being tested obviously

 

Han respondido

1
Desarrollador 1
Evaluación
(879)
Proyectos
1393
67%
Arbitraje
117
32% / 42%
Caducado
215
15%
Trabaja
2
Desarrollador 2
Evaluación
(182)
Proyectos
342
42%
Arbitraje
118
12% / 73%
Caducado
104
30%
Libre
3
Desarrollador 3
Evaluación
(13)
Proyectos
24
42%
Arbitraje
3
33% / 0%
Caducado
4
17%
Libre
4
Desarrollador 4
Evaluación
(304)
Proyectos
509
47%
Arbitraje
29
10% / 45%
Caducado
138
27%
Libre
5
Desarrollador 5
Evaluación
(103)
Proyectos
205
41%
Arbitraje
17
29% / 71%
Caducado
45
22%
Libre
6
Desarrollador 6
Evaluación
(2441)
Proyectos
3076
66%
Arbitraje
77
48% / 14%
Caducado
340
11%
Libre
7
Desarrollador 7
Evaluación
(130)
Proyectos
210
40%
Arbitraje
90
20% / 43%
Caducado
85
40%
Libre
8
Desarrollador 8
Evaluación
(1100)
Proyectos
1782
61%
Arbitraje
14
64% / 7%
Caducado
84
5%
Libre
9
Desarrollador 9
Evaluación
(25)
Proyectos
36
17%
Arbitraje
14
14% / 57%
Caducado
3
8%
Libre
10
Desarrollador 10
Evaluación
(118)
Proyectos
201
42%
Arbitraje
44
9% / 68%
Caducado
47
23%
Libre
11
Desarrollador 11
Evaluación
(59)
Proyectos
182
55%
Arbitraje
31
45% / 16%
Caducado
103
57%
Libre
12
Desarrollador 12
Evaluación
(34)
Proyectos
80
34%
Arbitraje
13
31% / 54%
Caducado
19
24%
Libre
13
Desarrollador 13
Evaluación
(8)
Proyectos
7
14%
Arbitraje
1
0% / 100%
Caducado
0
Libre
Solicitudes similares
Im looking for an coder to code an EA: Trade management 1. opening trades according to the indicator 2. trades settings to choose from like: open all trades according to the signal open only trade 1,2,3 or 4 % per trade ( example 50/30/20 of the lot settings, with 4 trades it would be for example 50/30/10/10) 3. SL/Trailing settings: Move SL to entry after hitting TP1/TP2 or TP3 moving SL by % keep the original SL
Hi I'm looking to have 2 of my pinescript strategies converted to MQL5 and was wondering if you could first give me a quote for the more simple strategy and then for both the simple and complex strategy together. The simple strategy is a MACD crossover type thing that uses a special EMA script that filters out some ranging price action and also fractal candles for the stop loss. The second strategy is market
I want grate robot for making profits that know when to start a good trade and close a trade and must be active all time to avoid lost of money
I have developed a very strong TradingView strategy in Pine Script but unfortunately, a third-party connector is requiired and in my opinion, I want a more direct connection. I am not brilliant at coding, but I have coded the majority of the MT5 code and I would like you to make sure that the MT5 code matches my TradingView script and executes the same way as the TradingView script that I will provide if you are
Mbeje fx 50+ USD
I like to own my robot that why I want to build my own.i like to be a best to every robot ever in the life to be have more money
I need an MT5 EA that can do the following: I have to give the EA a price in advance, when the price is reached the EA has to automatically place a buy stop or sell stop order 0.5 pips below or above the price. Is this possible
Dr Pattern 30+ USD
good day i need the service of the seaso coder to help me fix my ea The Job required 1 knowledge of Mt4 and Mt5 indicator coding 2. Telegram code 3. ability to code indicator to work on multiple Time frame combine to trade 4 Ability to Join two or three indicator on same ir different time frame if you have these skill please let chart i will discuss the details of the Job inside to you The required day including
Good day, I want someone to help me create a universal news filter with on/off switch, with start and end settings, and drawdown control with magic number of EAs, etc. Thanks
Hello, I am looking for a professional programmer to optimize my existing EA integrating it with ChatGPT to analyze currencies using various methods to make the right trading decisions. i want it to be an EA that can be trusted to carry trade with the help of chat gpt and also have a very low drawdown
Hello, I am looking for a professional programmer to create a trading expert on the MT4 platform, integrating it with ChatGPT to analyze currencies using various methods to make the right trading decisions. Further details will be provided to the applicants later

Información sobre el proyecto

Presupuesto
100 - 400 USD
Para el ejecutor
90 - 360 USD
Plazo límite de ejecución
de 1 a 3 día(s)