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
(360)
Proyectos
572
33%
Arbitraje
27
70% / 7%
Caducado
16
3%
Libre
2
Desarrollador 2
Evaluación
(17)
Proyectos
20
55%
Arbitraje
3
0% / 100%
Caducado
2
10%
Trabaja
3
Desarrollador 3
Evaluación
(30)
Proyectos
42
19%
Arbitraje
7
29% / 43%
Caducado
5
12%
Libre
4
Desarrollador 4
Evaluación
(3)
Proyectos
2
0%
Arbitraje
1
0% / 0%
Caducado
1
50%
Libre
5
Desarrollador 5
Evaluación
(185)
Proyectos
262
22%
Arbitraje
17
65% / 18%
Caducado
1
0%
Trabaja
6
Desarrollador 6
Evaluación
(1117)
Proyectos
1482
46%
Arbitraje
49
73% / 12%
Caducado
37
2%
Trabaja
7
Desarrollador 7
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(2464)
Proyectos
3102
66%
Arbitraje
77
48% / 14%
Caducado
340
11%
Trabaja
9
Desarrollador 9
Evaluación
(497)
Proyectos
568
33%
Arbitraje
28
43% / 43%
Caducado
9
2%
Ocupado
10
Desarrollador 10
Evaluación
(6)
Proyectos
8
0%
Arbitraje
2
50% / 0%
Caducado
0
Trabaja
11
Desarrollador 11
Evaluación
(11)
Proyectos
13
38%
Arbitraje
0
Caducado
2
15%
Libre
12
Desarrollador 12
Evaluación
(560)
Proyectos
1348
59%
Arbitraje
28
82% / 0%
Caducado
10
1%
Libre
13
Desarrollador 13
Evaluación
(2123)
Proyectos
2695
62%
Arbitraje
116
45% / 25%
Caducado
420
16%
Trabajando
14
Desarrollador 14
Evaluación
(256)
Proyectos
458
35%
Arbitraje
57
37% / 37%
Caducado
167
36%
Trabajando
Solicitudes similares
MQL5 Automation 30 - 100 USD
I need to automate a trading strategy on mt5. i have the python script executing rightly. but i need to convert to mql5 and also automate the strategy robotically. Anyone with experience should reach out for further explanation
Hello Here Everyone, I need an expert to help me create a tradingview indicator that works exactly according to my requirements, Even though i will attach a file there review it and let me know if you could do it and we can talk about the price as well
i am looking for experienced programmers who can help me out make my expert with zero lags and run smoothly and develop it in any possible way that make the accuracy way higher i need in addition to make this expert advisor linked on mt4 and mt5 also link the ea to WhatsApp and telegram bot where it giveS signals of the expert on it
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
I want to make AI based on Attached Picture Swing High low. If you have experience can share demo first. Stop loss, take profit, trailing , break even ,DD etc. also amiable
I need an expert to help me convert chopzone traingview pinescript to mt4, I need an expert to get it done for me on between 1 to 2 days i hope this will be done by then, i will attach the file and my budget is $30 as of minimum here
Seb’s EA 2024/25 200 - 500 USD
Primary Agreement Description Details: This EA Strategy is to run on MT4. It has parameters for 2 MA's and 3 momentum indicators along with 22 "variable / constant rules & settings" on 1 time-frame (5 Min). There are 3 versions required to cater for 3 different Instruments (3 US Indexes). The only differences will be the position sizes, Stop levels & Macd bands. There are 3 entry conditions with 3 exit conditions
I'm planning on building/creating an mt4/5 trading indicator that use a break and retest strategy I will share a link for the idea strategy, Kindly message me to send you the link, I can't send it here
We would like to have a strategy and trading rules based on this video explanation: https://www.youtube.com/watch?v=37WPYFM6gaI to trade stocks and Forex on MT5. Trading rules description. We want to have exactly the same strategy, very basic and we don't need any stop limits for overs. We need to be able to trade the strategy for a selected list of stocks. It has to screen several stocks and trade simultaneously on

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