Simple trading robot using PSAR, HMA, and MACD

MQL5 Experts

Job finished

Execution time 5 days
Feedback from employee
smart man and have high potential in analyze the market patiently .. wish him all success
Feedback from customer
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!

Specification

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.

Files:

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

Responded

1
Developer 1
Rating
(7)
Projects
6
0%
Arbitration
5
0% / 100%
Overdue
0
Free
2
Developer 2
Rating
(1051)
Projects
1388
45%
Arbitration
46
72% / 13%
Overdue
35
3%
Working
3
Developer 3
Rating
(39)
Projects
59
8%
Arbitration
12
58% / 42%
Overdue
1
2%
Free
4
Developer 4
Rating
(57)
Projects
72
22%
Arbitration
13
46% / 15%
Overdue
5
7%
Free
5
Developer 5
Rating
(152)
Projects
155
77%
Arbitration
2
100% / 0%
Overdue
0
Free
6
Developer 6
Rating
(34)
Projects
60
23%
Arbitration
11
73% / 9%
Overdue
3
5%
Free
7
Developer 7
Rating
(155)
Projects
239
70%
Arbitration
3
67% / 33%
Overdue
20
8%
Free
8
Developer 8
Rating
(23)
Projects
23
57%
Arbitration
2
50% / 0%
Overdue
0
Free
9
Developer 9
Rating
(102)
Projects
127
44%
Arbitration
7
43% / 43%
Overdue
6
5%
Free
10
Developer 10
Rating
(1)
Projects
3
0%
Arbitration
1
0% / 100%
Overdue
1
33%
Free
11
Developer 11
Rating
(19)
Projects
35
26%
Arbitration
10
30% / 70%
Overdue
5
14%
Free
12
Developer 12
Rating
(14)
Projects
19
11%
Arbitration
1
0% / 100%
Overdue
5
26%
Free
13
Developer 13
Rating
(373)
Projects
395
31%
Arbitration
61
20% / 67%
Overdue
48
12%
Loaded
14
Developer 14
Rating
(12)
Projects
17
29%
Arbitration
6
17% / 67%
Overdue
4
24%
Free
15
Developer 15
Rating
(169)
Projects
204
30%
Arbitration
25
40% / 44%
Overdue
12
6%
Free
16
Developer 16
Rating
(2367)
Projects
2975
65%
Arbitration
76
47% / 14%
Overdue
340
11%
Free
17
Developer 17
Rating
(326)
Projects
513
32%
Arbitration
23
65% / 9%
Overdue
14
3%
Free
18
Developer 18
Rating
(116)
Projects
137
36%
Arbitration
15
13% / 67%
Overdue
9
7%
Free
19
Developer 19
Rating
(66)
Projects
143
34%
Arbitration
10
10% / 60%
Overdue
26
18%
Working
20
Developer 20
Rating
(2039)
Projects
2589
62%
Arbitration
112
45% / 26%
Overdue
417
16%
Working
21
Developer 21
Rating
(62)
Projects
84
26%
Arbitration
22
23% / 45%
Overdue
23
27%
Working
22
Developer 22
Rating
(95)
Projects
141
75%
Arbitration
0
Overdue
2
1%
Working
23
Developer 23
Rating
(48)
Projects
80
28%
Arbitration
8
75% / 13%
Overdue
41
51%
Free
24
Developer 24
Rating
(40)
Projects
86
13%
Arbitration
29
31% / 48%
Overdue
35
41%
Loaded
25
Developer 25
Rating
(461)
Projects
490
52%
Arbitration
10
60% / 20%
Overdue
3
1%
Free
26
Developer 26
Rating
(555)
Projects
922
48%
Arbitration
300
59% / 25%
Overdue
123
13%
Free
Similar orders
Create Order Block Indictor same as the indicator i attached. 1. Buy and Sell order block with arrow 2. indicator must not repaint 3. indicator must have setting to manage order block. Order must appear in the same places as our order block indicator.... if you have workable send to me let test it
Hello, you can work with me for sure, but here's to work with an experience coder who already know the concept of xBest EA, I think if I am opportune to discuss my trading needs with him or her that already knows how xBest strategy work, that will make the process more faster and saved me from time waster, because if you know how xBest EA works as a coder, that mean you are the best fit for my project, I have this EA
i am currently in need of a multi currency EA.i want the EA to be able to read data from different symbols whenever a trade occur on that symbol,the EA will be able to read the direction of the trade and the profit or loss of that particular pair and display it on my panel.the EA must be able to to combine all the trades that were taken from different symbols and display it on the panel,if you are capable of such it
I have an EA which i got from a friend of mine and it is a fantastic tool i use to trade the markets. It's fully automatic opens, closes trades etc. My only issue is that to run strategy testing and optimizations MT4 is so frkn slow! MT5 is leaps and bounds better for testing so would like to literally convert this EA from MT4 installable exe to MT5 installable exe so i can run it on MT5. Obviously i do not have the
Modification 30+ USD
dear developers.i want to modify my custom indicator by adding new rules for alerts and arrows,the previous alerts and rules for alerts will be removed and new rules will apply.what i want is simple and straight forward...thank you
Hello, you can work with me for sure, but here's to work with an experience coder who already know the concept of xBest EA, I think if I am opportune to discuss my trading needs with him or her that already knows how xBest strategy work, that will make the process more faster and saved me from time waster, because if you know how xBest EA works as a coder, that mean you are the best fit for my project, I have this EA
I would like to make a simple EA. INDICATOR FOR ENTRY I have an indicator signal for Buy and Sell Multiple Entry True/False Maximum Open Order ____ Risk Percentage ___ FILTER 50 MA our Filter for Buying and Selling. EXITS TP and SL, Trail Stop, MACD Exit FILTER FEATURE I am looking for: Can you make a condition that the EA wont enter on consolidation or sideways movement- not uptrend or downtrend
I am seeking an experienced and proficient MQL5 developer to collaborate on an exciting project involving the enhancement of an existing EA, specifically an elaborate version of xBest v3.47. The xBest v3.47 EA is publicly available and serves as the foundation for our project. The goal is to incorporate a series of compelling features into the existing EA, leveraging its grid/hedging strategy while introducing
Hello, I am looking for someone that can build me an EA preferably expanding on an existing code you probably know as the xBest Ea series. I have the source code and detailed list of everything that needs to be coded in ready to go. please let's discuss more better on my strategy
PROP FIRM EA 4500 - 7000 USD
Hi, i need a Expert Advisor, that can pass prop firm Challenges. A bit of martingale is OK (max. 8 levels) Profit 10% Max Drawdown (DD) 10% Max Daily Loss 4% All trades with SL NO trades during and after high impact news NO trades during Weekend Profitable backtest from eentire history Trades Forex (If you already have a finished EA, send me the BACKTEST I will only ENTERTAIN people with sample ea from previous

Project information

Budget
30 - 150 USD
For the developer
27 - 135 USD