Writing of an Expert Advisor based on RSI Stock and MACD

MQL5 Asesores Expertos

Tarea técnica

HI, I am looking for someone to help create an Expert Advisor (EA) for MetaTrader 5 that evaluates financial market data to place buy or sell trades based on predefined technical analysis criteria applied to closed candle data. It is to be used on any forex pair, metal or crypto. 

## Buy Signal Criteria

1. Bullish Momentum: All three conditions must be true - 
   - 9-period EMA > 21-period EMA
   - 21-period EMA > 55-period EMA
2. Stochastic Oscillator:
   - %K main line has crossed above the %D signal line
   - Both %K and %D have crossed above 20 but not crossed 80
3. Relative Strength Index (RSI):
   - RSI > 50
4. MACD Crossover:
   - MACD signal line has crossed above the MACD main line

## Trade Execution for Buy Signal
- Place a buy trade using maximum lots (risking 1% of account balance).
- Generate alerts (on-screen pop-up, audio, printed statement).

## Exit Conditions for Buy Trade
- Take profit achieved at a 1:1.5 risk-to-reward ratio, or
- Stochastic %K and %D crossed above 80 with %K below %D.

## Sell Signal Criteria

1. Bearish Momentum: All three conditions must be true -
   - 9-period EMA < 21-period EMA
   - 21-period EMA < 55-period EMA
2. Stochastic Oscillator:
   - %K main line has crossed below the %D signal line
   - Both %K and %D have crossed below 80 but not crossed 20
3. Relative Strength Index (RSI):
   - RSI < 50
4. MACD Crossover:
   - MACD signal line has crossed below the MACD main line

## Trade Execution for Sell Signal
- Place a sell trade using maximum lots (risking 1% of account balance).
- Generate alerts (on-screen pop-up, audio, printed statement).

## Exit Conditions for Sell Trade
- Take profit achieved at a 1:1.5 risk-to-reward ratio, or
- Stochastic %K and %D crossed below 20 with %K above %D.

## Additional Requirements
- Use data only from completed candles for accuracy.
- Alerts must specify which conditions triggered the signal and confirm the criteria.

# Steps

1. Implement EMA crossover checks for determining bullish/bearish momentum.
2. Evaluate conditions on Stochastic, RSI, and MACD indicators for buy/sell signals.
3. Execute trades following the specified risk management strategy.
4. Implement alerting system for notifications on trade conditions and execution.
5. Ensure trade execution uses only closed candle data for decision-making.

# Output Format

- Provide a comprehensive EA script for MetaTrader 5.
- Include detailed comments within the code for clarity on implementation.
- Ensure flexibility for parameter adjustments in the future.

# Examples

No specific examples are provided, but use dynamic testing to validate EA with historical market data.

# Notes

- The strategy described solely applies to the MetaTrader 5 platform.
- Aim for modular code structure to simplify future modifications.

Han respondido

1
Desarrollador 1
Evaluación
(59)
Proyectos
63
67%
Arbitraje
0
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(199)
Proyectos
285
22%
Arbitraje
18
61% / 17%
Caducado
1
0%
Ocupado
3
Desarrollador 3
Evaluación
(38)
Proyectos
54
22%
Arbitraje
8
25% / 38%
Caducado
5
9%
Ocupado
4
Desarrollador 4
Evaluación
(9)
Proyectos
8
0%
Arbitraje
5
0% / 80%
Caducado
1
13%
Trabaja
5
Desarrollador 5
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Trabaja
6
Desarrollador 6
Evaluación
(2)
Proyectos
2
0%
Arbitraje
2
0% / 0%
Caducado
0
Trabaja
7
Desarrollador 7
Evaluación
(1155)
Proyectos
1535
46%
Arbitraje
50
72% / 12%
Caducado
37
2%
Trabaja
8
Desarrollador 8
Evaluación
(4)
Proyectos
4
0%
Arbitraje
0
Caducado
0
Trabajando
9
Desarrollador 9
Evaluación
(371)
Proyectos
522
53%
Arbitraje
25
56% / 24%
Caducado
6
1%
Libre
10
Desarrollador 10
Evaluación
(2146)
Proyectos
2718
62%
Arbitraje
115
45% / 25%
Caducado
421
15%
Ocupado
11
Desarrollador 11
Evaluación
(515)
Proyectos
782
63%
Arbitraje
33
27% / 45%
Caducado
23
3%
Libre
12
Desarrollador 12
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Trabajando
13
Desarrollador 13
Evaluación
(1870)
Proyectos
3474
88%
Arbitraje
73
40% / 15%
Caducado
267
8%
Libre
14
Desarrollador 14
Evaluación
(306)
Proyectos
511
47%
Arbitraje
29
10% / 45%
Caducado
138
27%
Trabaja
15
Desarrollador 15
Evaluación
(7)
Proyectos
7
14%
Arbitraje
0
Caducado
0
Trabajando
16
Desarrollador 16
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
17
Desarrollador 17
Evaluación
(145)
Proyectos
258
35%
Arbitraje
12
25% / 58%
Caducado
42
16%
Trabaja
18
Desarrollador 18
Evaluación
(3)
Proyectos
2
0%
Arbitraje
0
Caducado
0
Trabajando
19
Desarrollador 19
Evaluación
(511)
Proyectos
583
33%
Arbitraje
33
39% / 39%
Caducado
9
2%
Ocupado
20
Desarrollador 20
Evaluación
(42)
Proyectos
88
14%
Arbitraje
32
28% / 59%
Caducado
36
41%
Libre
21
Desarrollador 21
Evaluación
(67)
Proyectos
207
72%
Arbitraje
4
100% / 0%
Caducado
1
0%
Libre
22
Desarrollador 22
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
23
Desarrollador 23
Evaluación
Proyectos
1
0%
Arbitraje
3
0% / 33%
Caducado
0
Trabaja
24
Desarrollador 24
Evaluación
(2)
Proyectos
2
0%
Arbitraje
0
Caducado
0
Trabaja
25
Desarrollador 25
Evaluación
(3)
Proyectos
5
20%
Arbitraje
1
0% / 0%
Caducado
1
20%
Libre
26
Desarrollador 26
Evaluación
(2487)
Proyectos
3132
66%
Arbitraje
77
48% / 14%
Caducado
340
11%
Libre
27
Desarrollador 27
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
28
Desarrollador 28
Evaluación
(575)
Proyectos
1371
59%
Arbitraje
28
82% / 0%
Caducado
10
1%
Libre
29
Desarrollador 29
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
30
Desarrollador 30
Evaluación
(221)
Proyectos
223
73%
Arbitraje
2
100% / 0%
Caducado
0
Libre
31
Desarrollador 31
Evaluación
(69)
Proyectos
146
34%
Arbitraje
11
9% / 55%
Caducado
26
18%
Libre
Solicitudes similares
Robot 50 - 100 USD
i want just simple robot which gives me 15-20$ on capital of 2500$ consistant for long term with very safe parameters without large drawdown, i want best sl tp ea with proper money managemant i want low return but with assurety of account safety
MT5 30+ USD
Need developer for mt5, must know mql5 development very well and can finish it fast. Job for mt5 only. Developer need to provide proof it works and source code with everything working
I am searching for a programmer to programm software for sports betting to find the best picks. Its a proven, profitable strategy, but signals are very rare. Thank you for your attention :)
Hello there, I need a developer who can code this into a nt8 strategy for https://automated-trading.ch/NT8/strategies/ict-concepts-strategy The above link attached states all that my requirement it. please check it out and lets discuss. thank you
A. Developer will deliver a Ninjatrader 8 script that uses any strategy, indicators or bots that provide the following results: 1) at least 80% losing trades over a one-month period, and 2) average losses of at least 0.5% per trade over the same one month period as in 1) - wherein losses in 1) and 2) are CALCULATED BEFORE TRADING COMMISSIONS on a Ninjatrader simulated account owned by me . The deliverable script
I need an Expert Advosor to work on MT4 and get daily up to 90 to 95% profit on gold or Eurusd any strategy the developer thinks is best and can get that profit I am okey as far its really getting up to 90 to 95% profit
I am searching a programmer to write a sports betting bot in java that will be searching interesting situation on sports betting market. My budget is 30 USD. You don't need to have sports betting experience
'm looking to purchase a website in the trading/finance niche(ANY GEO) that consistently receives a minimum of 50 organic visitors per day . Key Requirements: Niche: Trading, finance, forex, stocks, or cryptocurrency. Traffic: At least 50 unique visitors per day. Traffic Source: Organic Monetization: Can be with or without profit. If profitable, proof of revenue (screenshots, analytics, etc.) must be provided
Looking for anyone that has already or can code a HFT EA that actually is profitable on an icmarkets live account. I have seen alot that are amazing on demo but don't work on live account so putting it out there in case anyone has one done already. I will state that I would need to see it running on my live account before I pay anyone. So only message me if you in fact have a genuine HFT EA where you are willing to
Good day. I am requesting contact from an experienced EA developer who would create an EA for me - for MT5 - asset: stocks, currency pairs, US indices - I have a demo account from a broker - strategy: trending on a low timeframe (1 to 5 minutes) - trading in both directions based on signals (after the candle closes, not redrawing) - signal data: = Heiken Ashi candles calculated OHLC from classic candles (= trade

Información sobre el proyecto

Presupuesto
50 - 150 USD

Cliente

Encargos realizados1
Número de arbitrajes0