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
(365)
Proyectos
577
33%
Arbitraje
27
70% / 7%
Caducado
16
3%
Trabaja
2
Desarrollador 2
Evaluación
(19)
Proyectos
22
55%
Arbitraje
3
0% / 100%
Caducado
2
9%
Libre
3
Desarrollador 3
Evaluación
(31)
Proyectos
44
20%
Arbitraje
8
25% / 38%
Caducado
5
11%
Trabaja
4
Desarrollador 4
Evaluación
(3)
Proyectos
2
0%
Arbitraje
1
0% / 0%
Caducado
1
50%
Libre
5
Desarrollador 5
Evaluación
(189)
Proyectos
268
22%
Arbitraje
17
65% / 18%
Caducado
1
0%
Trabajando
6
Desarrollador 6
Evaluación
(1126)
Proyectos
1495
46%
Arbitraje
49
73% / 12%
Caducado
37
2%
Libre
7
Desarrollador 7
Evaluación
(1)
Proyectos
3
0%
Arbitraje
0
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(2472)
Proyectos
3110
66%
Arbitraje
77
48% / 14%
Caducado
340
11%
Trabaja
9
Desarrollador 9
Evaluación
(498)
Proyectos
569
33%
Arbitraje
29
41% / 45%
Caducado
9
2%
Trabajando
10
Desarrollador 10
Evaluación
(7)
Proyectos
9
0%
Arbitraje
2
50% / 0%
Caducado
1
11%
Trabaja
11
Desarrollador 11
Evaluación
(11)
Proyectos
13
38%
Arbitraje
0
Caducado
2
15%
Trabaja
12
Desarrollador 12
Evaluación
(562)
Proyectos
1352
59%
Arbitraje
28
82% / 0%
Caducado
10
1%
Libre
13
Desarrollador 13
Evaluación
(2131)
Proyectos
2702
62%
Arbitraje
115
45% / 25%
Caducado
420
16%
Trabaja
14
Desarrollador 14
Evaluación
(260)
Proyectos
463
35%
Arbitraje
57
37% / 37%
Caducado
168
36%
Trabajando
15
Desarrollador 15
Evaluación
(49)
Proyectos
77
43%
Arbitraje
3
0% / 100%
Caducado
1
1%
Trabaja
16
Desarrollador 16
Evaluación
(205)
Proyectos
207
75%
Arbitraje
2
100% / 0%
Caducado
0
Libre
17
Desarrollador 17
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
18
Desarrollador 18
Evaluación
(67)
Proyectos
144
34%
Arbitraje
11
9% / 55%
Caducado
26
18%
Trabaja
19
Desarrollador 19
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
I send this offer before but it seems no one is able to do it, I need an expert that can finish it in 24 hours Please read it and understand it very well before you send me offer, Thank you I need an EA with these features Timeframe M5 Operativity only long + only short in the same chart Ability to trade on different Forex pairs Operativity with CENT account Control of open positions and possible closing of all
Looking for someone who can create for me 3 different bots on pocket option who gonna write me to get start with my project i will send him the examples videos to make the same this all 3 bots are simple as i see and its all about trading on pocket option only
I have a pine script indicator from tradingview. I need to convert it to mt5 just like it works in tradingview. It should work in mt5 just like it works in tradingview. There should be no difference between the two. If any developer can do that then contact me
WatchMeAI 50+ USD
I would like to make this bot,so it can learn my trading patterns, and creat a market strategy and improve my candle stick trading, and market patterns with good clear graphics and chart patterns and a text communication box to be able to talk to bot about trades and bot can give replies in English
Hello, I’m looking for a TradingView indicator that fits my forex trading needs. If you can create or customize one for me, please reach out. I'd appreciate your help! Best regards ridynaty
Fibonacci EA 30 - 180 USD
This EA will utilize the Fibonacci indicator after a break of structure, there will be three trading points, the 23.6 , 76.4 and a hedge trade for the 23.6. More explanation will be made if you signify interest, my mql5 account has been funded and i am ready to get this started Right awaay

Información sobre el proyecto

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

Cliente

Encargos realizados1
Número de arbitrajes0