Writing of an Expert Advisor based on RSI Stock and MACD

MQL5 专家

指定

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.

反馈

1
开发者 1
等级
(58)
项目
61
67%
仲裁
0
逾期
0
空闲
2
开发者 2
等级
(199)
项目
285
22%
仲裁
18
61% / 17%
逾期
1
0%
繁忙
3
开发者 3
等级
(38)
项目
54
22%
仲裁
8
25% / 38%
逾期
5
9%
繁忙
4
开发者 4
等级
(9)
项目
8
0%
仲裁
5
0% / 80%
逾期
1
13%
工作中
5
开发者 5
等级
(1)
项目
1
0%
仲裁
0
逾期
0
工作中
6
开发者 6
等级
(2)
项目
2
0%
仲裁
2
0% / 0%
逾期
0
工作中
7
开发者 7
等级
(1154)
项目
1534
46%
仲裁
50
72% / 12%
逾期
37
2%
空闲
8
开发者 8
等级
(4)
项目
4
0%
仲裁
0
逾期
0
已载入
9
开发者 9
等级
(371)
项目
522
53%
仲裁
25
56% / 24%
逾期
6
1%
空闲
10
开发者 10
等级
(2145)
项目
2716
62%
仲裁
115
45% / 25%
逾期
421
16%
繁忙
11
开发者 11
等级
(515)
项目
782
63%
仲裁
33
27% / 45%
逾期
23
3%
空闲
12
开发者 12
等级
(1)
项目
1
0%
仲裁
0
逾期
0
工作中
13
开发者 13
等级
(1870)
项目
3474
88%
仲裁
73
40% / 15%
逾期
267
8%
空闲
14
开发者 14
等级
(306)
项目
511
47%
仲裁
29
10% / 45%
逾期
138
27%
空闲
15
开发者 15
等级
(7)
项目
7
14%
仲裁
0
逾期
0
工作中
16
开发者 16
等级
项目
0
0%
仲裁
0
逾期
0
工作中
17
开发者 17
等级
(145)
项目
258
35%
仲裁
12
25% / 58%
逾期
42
16%
工作中
18
开发者 18
等级
(3)
项目
2
0%
仲裁
0
逾期
0
已载入
19
开发者 19
等级
(511)
项目
583
33%
仲裁
33
39% / 39%
逾期
9
2%
繁忙
20
开发者 20
等级
(42)
项目
88
14%
仲裁
32
28% / 59%
逾期
36
41%
空闲
21
开发者 21
等级
(67)
项目
206
72%
仲裁
4
100% / 0%
逾期
1
0%
工作中
22
开发者 22
等级
项目
0
0%
仲裁
0
逾期
0
空闲
23
开发者 23
等级
项目
1
0%
仲裁
3
0% / 33%
逾期
0
工作中
24
开发者 24
等级
(1)
项目
2
0%
仲裁
0
逾期
0
工作中
25
开发者 25
等级
(3)
项目
5
20%
仲裁
1
0% / 0%
逾期
1
20%
空闲
26
开发者 26
等级
(2486)
项目
3131
66%
仲裁
77
48% / 14%
逾期
340
11%
空闲
27
开发者 27
等级
项目
0
0%
仲裁
0
逾期
0
空闲
28
开发者 28
等级
(575)
项目
1371
59%
仲裁
28
82% / 0%
逾期
10
1%
空闲
29
开发者 29
等级
项目
0
0%
仲裁
0
逾期
0
空闲
30
开发者 30
等级
(221)
项目
223
73%
仲裁
2
100% / 0%
逾期
0
空闲
31
开发者 31
等级
(69)
项目
146
34%
仲裁
11
9% / 55%
逾期
26
18%
空闲
相似订单
A time range where we will look for a candle in the opposite direction. After a breakout of the range for example above it we will wait for a red candle to close entering on the opening of the next one. The stop loss should be on the high of the the previous candle (the red candle) vise versa for the buy model, but the opposite. And input for risk to reward. I attached two pictures for example. Inputs: Balance lot
PATTERN EA 30+ USD
IT A CANDLESTICK PATTERN EA USING THE INDICATOR I WILL SEND EA BUYS AT THE CLOSE OF HM AND SELLS AT THE CLOSE OF SS. TP, TIMEFRAME, RISK (LOTSIZE), AND TYPE OF CANNDLE STIC PATTERN TO TRADE WILL ALL BE VARIABLE
Description: I am looking for a skilled developer to convert a simple TradingView Pine Script strategy into an MQL5 Expert Advisor for MetaTrader 5. The strategy uses a combination of MACD and RSI indicators and incorporates dynamic risk management using ATR (Average True Range). Key Features: Indicators: MACD for identifying market trends and momentum. RSI for detecting overbought and oversold conditions. Risk
NP2002BOT 30 - 50 USD
I ndakolo paulus i here by creating my own bot for my MT5 ..i willing to be a profitable trader in this year 2025 ..will to follow all terms en condition
I'm looking for an expert advisors trade on a grid-martingale strategy. No entry criteria, trades will be opened based on grid system, using pipsteps OR based on candle closure. I want integration of trade management (TSL from RONZ EA), money management (daily profit/loss/equity protection) and trading days/hours selection I will be providing all parameters needed. Will want the EA to be coded 100% same to what's
Hello, Create a MT5 EA based on a MT5 indicator . Nothing fancy , it's based on an order block indicator . Let me know if you can do this . Thanks
I am looking for an experienced and skilled developer to design and implement a high-frequency trading (HFT) robot tailored specifically for proprietary trading firm challenges, such as FundedNext and FTMO. The ideal candidate will possess strong technical expertise and a strategic understanding of trading algorithms. Key Responsibilities : Develop an HFT robot that adheres to the rules and requirements of prop firms
I want the ea to work on m1 and timeframe to take decisions, my strategy revolves around momentum and volatility while keeping losses and profit fixed but profits scale exponentially with the use of regular and trailing stops and dynamic take profits (i can explain in detail). i would really appreciate if an experienced trader helps with the technical entries and exits based on trading indicators (i will demonstrate
MT4/MT5 EA Coding 100 - 400 USD
We are seeking an experienced coder to develop a high-performance Expert Advisor (EA) suitable for small deposit accounts ranging between $200-300. The EA should meet the following requirements: Spread Insensitivity : It must function effectively on accounts with spreads up to 40 pips and not require raw or ECN spreads. Supported Pairs : The EA should work on XAUUSD and EURUSD pairs. Trade Frequency : The EA should
I've built an EA that combines the Heiken Ashi Smoothed, Sibbet Demand Index and the MA200. I've got it to the stage where I'm starting to back test it but realised that it needs some heavy tweaking and considering I'm not a coder so it could do with someone that knows the MQL4 programme and the Indicators used for the build to have a look at it and iron out a few issues

项目信息

预算
50 - 150 USD

客户

所下订单1
仲裁计数0