Tarea técnica

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
(621)
Proyectos
972
47%
Arbitraje
32
38% / 34%
Caducado
96
10%
Trabajando
Ha publicado: 6 ejemplos
2
Desarrollador 2
Evaluación
(433)
Proyectos
686
34%
Arbitraje
32
72% / 9%
Caducado
22
3%
Libre
3
Desarrollador 3
Evaluación
(120)
Proyectos
159
49%
Arbitraje
15
53% / 27%
Caducado
4
3%
Libre
4
Desarrollador 4
Evaluación
(268)
Proyectos
396
27%
Arbitraje
38
39% / 50%
Caducado
1
0%
Libre
5
Desarrollador 5
Evaluación
(250)
Proyectos
460
26%
Arbitraje
140
20% / 59%
Caducado
100
22%
Trabaja
6
Desarrollador 6
Evaluación
(79)
Proyectos
111
37%
Arbitraje
0
Caducado
4
4%
Libre
7
Desarrollador 7
Evaluación
(45)
Proyectos
91
13%
Arbitraje
34
26% / 59%
Caducado
37
41%
Libre
8
Desarrollador 8
Evaluación
(1156)
Proyectos
1462
63%
Arbitraje
21
57% / 10%
Caducado
43
3%
Libre
9
Desarrollador 9
Evaluación
(617)
Proyectos
1427
59%
Arbitraje
31
81% / 0%
Caducado
10
1%
Libre
10
Desarrollador 10
Evaluación
(20)
Proyectos
51
75%
Arbitraje
0
Caducado
8
16%
Libre
11
Desarrollador 11
Evaluación
(151)
Proyectos
188
57%
Arbitraje
10
80% / 0%
Caducado
0
Libre
Ha publicado: 1 ejemplo
12
Desarrollador 12
Evaluación
(251)
Proyectos
400
54%
Arbitraje
9
67% / 22%
Caducado
36
9%
Libre
Ha publicado: 2 ejemplos
13
Desarrollador 13
Evaluación
(625)
Proyectos
842
48%
Arbitraje
27
37% / 15%
Caducado
63
7%
Libre
14
Desarrollador 14
Evaluación
(5)
Proyectos
4
50%
Arbitraje
4
0% / 75%
Caducado
0
Libre
15
Desarrollador 15
Evaluación
(304)
Proyectos
544
35%
Arbitraje
77
31% / 42%
Caducado
196
36%
Trabajando
16
Desarrollador 16
Evaluación
(539)
Proyectos
618
33%
Arbitraje
35
37% / 49%
Caducado
10
2%
Ocupado
17
Desarrollador 17
Evaluación
(574)
Proyectos
945
47%
Arbitraje
309
58% / 27%
Caducado
125
13%
Libre
18
Desarrollador 18
Evaluación
(45)
Proyectos
46
24%
Arbitraje
34
9% / 85%
Caducado
10
22%
Libre
19
Desarrollador 19
Evaluación
(72)
Proyectos
80
10%
Arbitraje
38
8% / 58%
Caducado
6
8%
Libre
20
Desarrollador 20
Evaluación
(77)
Proyectos
240
73%
Arbitraje
7
100% / 0%
Caducado
1
0%
Libre
21
Desarrollador 21
Evaluación
(300)
Proyectos
306
69%
Arbitraje
2
100% / 0%
Caducado
0
Libre
Ha publicado: 1 ejemplo
22
Desarrollador 22
Evaluación
(2279)
Proyectos
2873
63%
Arbitraje
121
45% / 26%
Caducado
429
15%
Libre
23
Desarrollador 23
Evaluación
(68)
Proyectos
111
69%
Arbitraje
1
100% / 0%
Caducado
2
2%
Libre
24
Desarrollador 24
Evaluación
(74)
Proyectos
79
6%
Arbitraje
46
11% / 54%
Caducado
7
9%
Trabaja
25
Desarrollador 25
Evaluación
(48)
Proyectos
49
8%
Arbitraje
0
Caducado
0
Libre
26
Desarrollador 26
Evaluación
(2622)
Proyectos
3327
67%
Arbitraje
77
48% / 14%
Caducado
342
10%
Libre
Ha publicado: 1 ejemplo
27
Desarrollador 27
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
28
Desarrollador 28
Evaluación
Proyectos
0
0%
Arbitraje
1
0% / 0%
Caducado
0
Trabaja
Ha publicado: 27 artículos
29
Desarrollador 29
Evaluación
(6)
Proyectos
8
25%
Arbitraje
2
50% / 0%
Caducado
2
25%
Libre
Solicitudes similares
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I need an MQL5 indicator that identifies reversals without repainting or placing signals with an offset. The goal is to minimize lag and reduce whipsaw trades. Desired results are similar to the attached image. Requirements: - No repainting - No signal offset - Emphasis on reducing lag - MQL5 compatible - Clear, concise code If you have the expertise to create a reliable, high-performance indicator, let's discuss
I'm looking for a skilled trader/developer to share a proven scalping strategy on M1-M5 timeframes without using Martingale, Grid trading, or Hedge. Requirements: - Minimum trade duration: 2 minutes - Lot size: <20 - Proof of skill: Provide MT4/MT5 trade history report (PDF/HTML) - No High Frequency Trades - GMT+1 timezone, flexible hours - Price negotiable, performance-based compensation possible If you're a
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I have an indicator i need automated i use it manually and it plots arrows. Can you automate it for my Ninjatrader8? Do you need to see file? Expert Ninjatrader Developer can Bid for this project
Hi! I need a trading bot/robot to automate my trades. I don't need much complicated bot. I want it to enter, exit trade and can do this in matter of second or multiple times in a second. Should be able to adjust, put SL/TP in the same menu. Would appreciate your ideas! Please write to me before anything else
Hi, im not looking into developing a new EA. I am looking into purchasing an existing EA that can deliver such results like: mq5 source, 4‑year backtest (2022‑2025) report, equity curve, trade list, strategy description, and 1‑month demo access. Please without concrete prove of experience functioning existing EA working perfectly and as contained on my description, then we can't strike a deal. Thank you
Title: Ultimate Quantum EA V1.01 | Dynamic Hedge Recovery System Description: Professional automated trading system designed for high-precision execution and advanced risk management. Key Features: Dynamic Hedge Recovery: Automatically manages losing trades by opening calculated hedge positions (2x-3x) to exit in total profit. Basket Profit Management: Closes all open positions once the total dollar profit target is
I am looking for an experienced MT5 (MQL5) Expert Advisor developer to fix a chart distortion / corruption issue in my existing EA ( EA ALPHA ). Issue Description When the EA is attached to the chart on a specific broker (ATFX), the chart becomes visually distorted The distortion appears on the left-hand side / historical area of the chart The same EA works correctly on other brokers (e.g. CFI) A previous developer

Información sobre el proyecto

Presupuesto
100+ USD