Expert Advisor based on RSI and BB strategy for MQL4

工作已完成

执行时间2 天

指定

I would like to create an EA based on the attached working indicator which places orders based on the Bollinger Bands and RSI.

1. The idea of the trading system is as follows: market entries are performed when it crosses inside RSI overbought and BB upper line for short trades and the opposite for long trades.

2. Trading Signals:

  • Buy signal: close price crosses inside BB lower line and RSI crosses oversold level.
  • Sell signal: close price crosses inside BB upper line and RSI crosses overbought level.

3. 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.

4. Positions are only closed by stop loss which could be set as infinity (up to account equity)

5. Position management There can only be a limited number of positions open at a certain time

6. Inputs required:

  • RSI period (default 14)
  • RSI overbought level (default 70)
  • RSI oversold level (default 30)
  • BB period (default 20)
  • BB standard deviation (default 2)
  • Take profit in percentage (default 10%)
  • Stop loss in percentage (default 50%)
  • Number of orders open simultaneously (default 5)
  • Equity per order ($100 or 10% of account equity)
  • Order margin (x200)
  • true/false to activate or deactivate long and short orders separately

附加的文件:

反馈

1
开发者 1
等级
(623)
项目
978
46%
仲裁
32
38% / 34%
逾期
96
10%
工作中
发布者: 6 代码
2
开发者 2
等级
(213)
项目
246
45%
仲裁
42
10% / 57%
逾期
5
2%
空闲
3
开发者 3
等级
(1270)
项目
1690
49%
仲裁
52
71% / 12%
逾期
37
2%
空闲
4
开发者 4
等级
(64)
项目
83
28%
仲裁
9
33% / 56%
逾期
9
11%
空闲
发布者: 1 代码
5
开发者 5
等级
(132)
项目
178
39%
仲裁
4
25% / 50%
逾期
14
8%
空闲
6
开发者 6
等级
(39)
项目
55
13%
仲裁
5
20% / 20%
逾期
6
11%
空闲
7
开发者 7
等级
(1156)
项目
1462
63%
仲裁
21
57% / 10%
逾期
43
3%
空闲
8
开发者 8
等级
(149)
项目
208
69%
仲裁
8
38% / 38%
逾期
22
11%
工作中
9
开发者 9
等级
(54)
项目
53
17%
仲裁
7
0% / 100%
逾期
5
9%
空闲
10
开发者 10
等级
(206)
项目
333
35%
仲裁
66
12% / 58%
逾期
87
26%
空闲
11
开发者 11
等级
(23)
项目
45
20%
仲裁
25
28% / 48%
逾期
12
27%
空闲
12
开发者 12
等级
项目
0
0%
仲裁
0
逾期
0
空闲
13
开发者 13
等级
(438)
项目
689
34%
仲裁
33
70% / 9%
逾期
22
3%
工作中
14
开发者 14
等级
(96)
项目
143
76%
仲裁
0
逾期
2
1%
空闲
15
开发者 15
等级
(305)
项目
548
35%
仲裁
79
32% / 42%
逾期
197
36%
已载入
16
开发者 16
等级
(2286)
项目
2880
63%
仲裁
122
44% / 25%
逾期
428
15%
已载入
17
开发者 17
等级
(19)
项目
27
19%
仲裁
6
33% / 33%
逾期
2
7%
空闲
18
开发者 18
等级
(126)
项目
151
48%
仲裁
6
83% / 17%
逾期
2
1%
空闲
19
开发者 19
等级
(294)
项目
470
39%
仲裁
102
40% / 24%
逾期
78
17%
繁忙
发布者: 2 代码
相似订单
Moving forward 100+ USD
Position Size = (Account Risk %) / (Stop Loss %) Example: $1000 account, 1% risk = $10 If SL = 0.75%, position = $10 / 0.0075 = $1333 moving average
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi
can anyone help me with building a complete automated pine code strategy and indicator that work for both FXs & CFDs and have a high winning rate proved through back testing. I have a very complex current code that developed mostly using AI but lots of gaps are there although it translate exactly what I have in my mind. So, you are free to decide whether wo build a complete new code or fix my current working code ( i

项目信息

预算
30 - 100 USD
截止日期
 5 天