Simple trading robot using PSAR, HMA, and MACD

MQL5 专家

工作已完成

执行时间5 天
员工反馈
smart man and have high potential in analyze the market patiently .. wish him all success
客户反馈
Saeed was incredibly patient and always willing to make changes whenever I requested them. He was very responsive, worked very quickly and was really helpful. He also charged a very reasonable price!

指定

Hello, I am looking for a bot to follow a strategy for me. It's pretty simple, all the indicators already pre-exist, I just need someone to code it for me.

Basically, it starts with the Hull Moving Average, 200 period. I need it so that when the HMA is sloping up (ie. the HMA is greater than its previous value), the bot only takes long entries, and when the HMA is sloping down (ie. the HMA is less than its previous value), it only takes sell entries.

Next, I want the MACD (Exponential- not simple, using the default period of 12, 26 and 9). This is the first entry condition, the MACD must be above the signal for a long entry and below the signal for a short entry. Please set the entry at the close of the candle, because sometimes the MACD can cross while price is moving and then un-cross at candle close. So the entry should be at the open of the next candle.

Lastly, I want the Parabolic SAR (default parameters). This is the second entry condition and also the stop loss placement. Again, entry should be at the open of the next candle.

If the HMA is sloping up, the PSAR is below price, and the MACD crosses up, then it should place a buy entry. Same but opposite for sells. The stop loss should be placed at the PSAR of the entry candle, and take profit should be 1.5 times the stop.

I plan to use this on the 5 minute chart. I want it designed so that if the stop loss is greater than 12 pips, that it only does a 1 to 1 reward to risk instead of a 1.5 to 1.

Also, if the stop loss is greater than 20 pips I want it to ignore the trade, because I don't want to risk that much capital.

Lastly, I don't want it to trade during the low volume period between the New York Session and the Asian/London session, from 2pm to 5pm.


I've attached photos of example trades below. Pic 1 shows an example of a long trade. The PSAR was already below price, so when the MACD crossed up, entry was on the close of that candle/open of the next candle. 1.5 to 1 reward to risk.  I didn't really do a good job of showing it, but I do want entry to be on the next candle, so though it shows on the close of the candle, the entry would really be at the open of the next candle, for confirmation.

Pic 2 shows an example of a short trade. As you can see, the MACD was already crossed down, so the entry was on the PSAR's signal. Again, entry should only be executed on the next candle to confirm that the PSAR actually did flip. 1.5 to 1 reward to risk.

Pic 3 shows an example of a long trade that had a stop greater than 12 pips, so it only did a 1:1 reward to risk.

Pic 4 shows an example of a long entry that I would like to be ignored, as the stop loss was greater than 20 pips.

附加的文件:

PNG
Pic_1.PNG
84.9 Kb
PNG
Pic_2.PNG
54.1 Kb
PNG
Pic_3.PNG
42.6 Kb
PNG
Pic_4.PNG
44.5 Kb

反馈

1
开发者 1
等级
(7)
项目
6
0%
仲裁
5
0% / 100%
逾期
0
空闲
2
开发者 2
等级
(1053)
项目
1390
45%
仲裁
46
72% / 13%
逾期
35
3%
空闲
3
开发者 3
等级
(40)
项目
60
8%
仲裁
12
58% / 42%
逾期
1
2%
空闲
4
开发者 4
等级
(57)
项目
72
22%
仲裁
13
46% / 15%
逾期
5
7%
空闲
5
开发者 5
等级
(152)
项目
155
77%
仲裁
2
100% / 0%
逾期
0
空闲
6
开发者 6
等级
(34)
项目
60
23%
仲裁
11
73% / 9%
逾期
3
5%
空闲
7
开发者 7
等级
(155)
项目
239
70%
仲裁
3
67% / 33%
逾期
20
8%
空闲
8
开发者 8
等级
(23)
项目
23
57%
仲裁
2
50% / 0%
逾期
0
空闲
9
开发者 9
等级
(102)
项目
127
44%
仲裁
7
43% / 43%
逾期
6
5%
空闲
10
开发者 10
等级
(1)
项目
3
0%
仲裁
1
0% / 100%
逾期
1
33%
空闲
11
开发者 11
等级
(19)
项目
35
26%
仲裁
10
30% / 70%
逾期
5
14%
空闲
12
开发者 12
等级
(14)
项目
19
11%
仲裁
1
0% / 100%
逾期
5
26%
空闲
13
开发者 13
等级
(373)
项目
395
31%
仲裁
61
20% / 67%
逾期
48
12%
已载入
14
开发者 14
等级
(12)
项目
17
29%
仲裁
6
17% / 67%
逾期
4
24%
空闲
15
开发者 15
等级
(169)
项目
204
30%
仲裁
25
40% / 44%
逾期
12
6%
空闲
16
开发者 16
等级
(2367)
项目
2975
65%
仲裁
76
47% / 14%
逾期
340
11%
空闲
17
开发者 17
等级
(327)
项目
517
32%
仲裁
23
65% / 9%
逾期
15
3%
空闲
18
开发者 18
等级
(116)
项目
137
36%
仲裁
15
13% / 67%
逾期
9
7%
空闲
19
开发者 19
等级
(66)
项目
143
34%
仲裁
10
10% / 60%
逾期
26
18%
工作中
20
开发者 20
等级
(2042)
项目
2592
62%
仲裁
112
45% / 26%
逾期
417
16%
工作中
21
开发者 21
等级
(62)
项目
84
26%
仲裁
22
23% / 45%
逾期
23
27%
工作中
22
开发者 22
等级
(96)
项目
142
75%
仲裁
0
逾期
2
1%
空闲
23
开发者 23
等级
(48)
项目
80
28%
仲裁
8
75% / 13%
逾期
41
51%
空闲
24
开发者 24
等级
(40)
项目
86
13%
仲裁
29
31% / 48%
逾期
35
41%
已载入
25
开发者 25
等级
(465)
项目
493
52%
仲裁
10
60% / 20%
逾期
3
1%
空闲
26
开发者 26
等级
(555)
项目
922
48%
仲裁
300
59% / 25%
逾期
123
13%
工作中
相似订单
I have a robot set up that sends trading signals to my telegram group and the group sends trading signals for (28 forex pairs, 3 crypto pairs, 6 commodities, 6 indexes, & 55 stocks) basically almot 100 CFDs and sends out trend price action breakout, impulse, reversal, and exit indications to each one of those CFDs on different timeframes. I want to make it so that a person can sign up and choose which alerts they
I tried making a double KAMA indicator with two lines. for some reason it's not working and I'm not sure how to fix it? 99% of the code is done it should only take a min for someone who is good at what they do unlike myself :(
I am in search of a skilled robot developer to craft a Martingale with Hedge strategy algorithm. The ideal candidate will possess deep expertise in algorithmic trading, proficiency in programming languages, and a keen understanding of financial markets. The role entails designing and implementing an automated system capable of effectively executing the Martingale strategy while integrating a hedge mechanism to manage
Create an EA zigzag 40 - 80 USD
Zigzag EA sends notify on MT4 mobile app indicator have 2 Conditions all are explained in the pictures accurately and clearly https://drive.google.com/file/d/10Y6SrvC2A7RTT_baAJ7vOKytTDaUvRRQ/view?usp=sharing Warning: Do not send me a notification if your offer is higher than $ 100 because I did the project twice for less than $60 And I want to do the project now because there are mistakes on my part that I want to
Hello developers, Thanks in advance for checking my order. I have been creating and trying to mastering this strategies for a long time and finally it's time to automate it. I’m not sure if everything I imagined can be done. I tried my best to explain whats needed for the ea and how it should performance but due my lack of knowledge in programming probably you will have some questions soo feel free to ask. Only apply
MA Crossover EA 30+ USD
I need someone to create an MA crossover EA. This program should be able to trade the crosses. We would be using the MA indicators to make decisions about buying and selling stocks or other assets. The MA crossover would help me invest my money more effectively by automatically executing trades based on these indicators. If you can create this program, please let me know as I am interested in working with you
MT4 EA 30+ USD
I have project for expert developer here.. The task is to make the EA take trades using the indicator upper line and the lower line to take trades. When the upper line appears on the chart I need the EA to take a sell at that point. Then when the lower line shows up I need the seel trade to close. The same concept applies for the lower line. I need the EA to take a buy trade when the lower line appears and close when
News field 30+ USD
I am in need of a custom EA news filter for my trading platform, and I believe your expertise in this field can greatly assist me. Below are the specifications for the filter: 1. It should be implemented as a boolean function, returning either true or false. 2. The filter must automatically detect currency pairs. 3. Three hours before and after any significant news events pertaining to each currency in the pair, the
Hello, I would like to ask who would perform a backtest + optimization on my existing EA ? The EA works mainly on two pairs. Thank you for your reply. Sincerely Martin
I need someone to create an MA crossover EA. This program should be able to trade the crosses. We would be using the MA indicators to make decisions about buying and selling stocks or other assets. The MA crossover would help me invest my money more effectively by automatically executing trades based on these indicators. If you can create this program, please let me know as I am interested in working with you

项目信息

预算
30 - 150 USD
开发人员
27 - 135 USD