Tarea técnica

1. The idea of the trading system is as follows: market entries are performed when MACD's main and signal lines intersect in the current trend direction.

2. Trend is determined based on the Exponential Moving Average with the specified period (InpMATrendPeriod). If the current EMA value is greater than the previous one, the trend is seen as growing (ema_current > ema_previous). Alternatively, if current EMA is below the previous one, the trend is considered to be falling (ema_current< ema_previous).

3. Trading Signals:

Buy signal: the main MACD line crosses the signal line upwards (macd_current>signal_current && macd_previous<signal_previous).
Sell signal: the main MACD line crosses the signal line downwards (macd_current<signal_current && macd_previous>signal_previous). The below figure shows Buy and Sell cases.



4. Positions are closed at opposite signals: Buy positions are closed at Sell signals, and Sell positions are closed at Buy signals.

5. Positions are opened at the market price, when a new bar emerges. The Expert Advisor is to be tested using Open prices, so there is no need to add functions for disabling operations inside the bar.

6. Additional filters for opening a position:

The absolute value of MACD's main line will be used to filter out weak signals: the signal is only confirmed if this value is greater than open_level (in points). Signal confirmation conditions are as follows:

Confirmation of a buy signal: Abs(macd_current)>open_level
Confirmation of a sell signal: macd_current>open_level

7. Additional filters for closing a position:

The absolute value of MACD's main line will also be used to confirm position closure: the signal is confirmed if this value is greater than close_level (in points). Close signal confirmation conditions are as follows:

Confirmation to close Buy positions — macd_current>close_level
Confirmation to close Sell positions — Abs(macd_current)>close_level
8. Close by Take Profit — during position opening, a Take Profit level is set at a fixed distance from the open price, specified in points. The value is set in the InpTakeProfit input parameter.

9. Position management

TrailngStop is used to protect profit. Stop Loss is set if profit in points exceeds the value specified in the InpTrailingStop parameter. If the price continues to move in the profit direction, Stop Loss should be trailed at the given distance. Stop Loss cannot be moved towards the loss direction, i.e. the Stop Loss value cannot be increased. If none of protective orders (Take Profit or Stop Loss) triggers, the position should be closed by an opposite signal. No other position exit methods are available.


Han respondido

1
Desarrollador 1
Evaluación
(454)
Proyectos
720
34%
Arbitraje
35
71% / 9%
Caducado
22
3%
Libre
2
Desarrollador 2
Evaluación
(21)
Proyectos
25
52%
Arbitraje
3
0% / 100%
Caducado
2
8%
Libre
3
Desarrollador 3
Evaluación
(62)
Proyectos
90
29%
Arbitraje
24
13% / 58%
Caducado
7
8%
Trabaja
4
Desarrollador 4
Evaluación
(4)
Proyectos
2
0%
Arbitraje
5
0% / 80%
Caducado
1
50%
Libre
5
Desarrollador 5
Evaluación
(274)
Proyectos
403
28%
Arbitraje
40
40% / 50%
Caducado
1
0%
Libre
6
Desarrollador 6
Evaluación
(1304)
Proyectos
1732
49%
Arbitraje
55
67% / 16%
Caducado
38
2%
Libre
7
Desarrollador 7
Evaluación
(5)
Proyectos
8
13%
Arbitraje
3
0% / 33%
Caducado
2
25%
Libre
Ha publicado: 1 ejemplo
8
Desarrollador 8
Evaluación
(2672)
Proyectos
3408
68%
Arbitraje
77
48% / 14%
Caducado
342
10%
Libre
Ha publicado: 1 ejemplo
9
Desarrollador 9
Evaluación
(611)
Proyectos
711
33%
Arbitraje
45
49% / 42%
Caducado
14
2%
Trabaja
10
Desarrollador 10
Evaluación
(43)
Proyectos
62
23%
Arbitraje
9
22% / 56%
Caducado
10
16%
Trabaja
11
Desarrollador 11
Evaluación
(14)
Proyectos
20
25%
Arbitraje
0
Caducado
2
10%
Libre
Ha publicado: 3 ejemplos
12
Desarrollador 12
Evaluación
(618)
Proyectos
1429
59%
Arbitraje
31
81% / 0%
Caducado
10
1%
Libre
13
Desarrollador 13
Evaluación
(2336)
Proyectos
2939
63%
Arbitraje
124
44% / 26%
Caducado
429
15%
Trabaja
14
Desarrollador 14
Evaluación
(318)
Proyectos
565
35%
Arbitraje
81
31% / 44%
Caducado
204
36%
Libre
15
Desarrollador 15
Evaluación
(59)
Proyectos
91
43%
Arbitraje
4
0% / 100%
Caducado
3
3%
Trabaja
16
Desarrollador 16
Evaluación
(318)
Proyectos
323
71%
Arbitraje
2
100% / 0%
Caducado
0
Libre
Ha publicado: 1 ejemplo
17
Desarrollador 17
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 1 ejemplo
18
Desarrollador 18
Evaluación
(69)
Proyectos
146
34%
Arbitraje
13
8% / 62%
Caducado
26
18%
Libre
Ha publicado: 6 ejemplos
19
Desarrollador 19
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
20
Desarrollador 20
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
Привіт. Шукаю когось, хто б застосував мій код як бота . Я торгую індексом Aus_200 SFE (не XJO). Бот базується на MACD входу/виходу, RSI, стохастиці та vwap. Як тільки роботу приймуть, мені потрібно внести кілька коректив; однак, нічого суттєвого. Дякую
I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 designed primarily for US30 (Dow Jones Index) . The EA performs consistently and profitably on demo accounts, but when I run it on an IC Markets Raw or Standard live account, it starts generating losses under what appear to be the same trading conditions. At this time, I cannot provide the source code (.mq4/.mq5). I can only provide the
EA Crafter 500+ USD
Act as a professional Quantitative Developer and Risk Manager. I want to build a systematic trading strategy rulebook that prioritizes capital preservation and statistical edge over raw performance. Please generate a structured trading strategy using the following framework: 1. ASSET CLASS & TIMEFRAME: - Asset: [e.g., Apple (AAPL), Bitcoin (BTC), or EUR/USD] - Timeframe: [e.g., 5-minute, 1-hour, Daily] 2. CORE
I am looking for an experienced MQL5 or MQL4 developer with a strong understanding of high-frequency trading (HFT) concepts who can explain how certain HFT-style strategies have historically been able to pass proprietary firm evaluations while also being profitable on demo accounts and capable of transitioning successfully to live trading. I am interested in understanding the legitimate trading logic, execution
Pine Script Integration Request (Experienced Coders Only) I am looking for a highly experienced Pine Script developer to integrate a Demand & Supply Zone module into my existing indicator. Requirements Keep my current indicator (Rudy) exactly as it is. Do NOT modify, remove, or alter any existing logic, calculations, signals, alerts, or visual elements. Add only the Demand & Supply Zone boxes from a second Pine

Información sobre el proyecto

Presupuesto
30 - 100 USD
Plazo límite de ejecución
de 30 a 60 día(s)