An EA triggered by EMAs slope angle - Needs to work on non standard time-frames

MQL4 Experts

Job finished

Execution time 1 day
Feedback from customer
Five stars developer, easy to work with, knowledgeable, fast and efficient! Will work with him again.

Specification

Good evening. The EA will be set up on a 1 MIN chart and will be triggered by the a combination of EMAs slope % and candles. The chart will have only one indicator, an Exponential Moving Average (EMA) of a defined number of periods. 

The EA will have the below input areas that will define the key values for the bot to trigger the positions:

1. Stake size (1 lot standard)
2. Take profit number of pips (20 pips standard)
3. Stop Loss number of pips (20 pips standard)
4. Move “Stop Loss” to break even when the position is in profit "x" number of pips (standard will be 10 pips). It means that once a position is 10 pips in profit its original “Stop Loss” will move to break even (SL= 0)
5. Time Frame in minutes (standard will be set up at 2 minute candles)
6. EMA period (13 periods standard)
7. EMAs slope angle percentage (it will be the same value for upward and downward trends. Standard setup will be 40 degrees upwards / -40 degrees downwards)
8. Max number of open positions (standard will be 3 open positions). Please note that in order for the second, third... positions to be opened, the previous ones have to have the Stop Loss at break even, SP=0)
9. Total profit pips for the day (once that is reached the bot will stop for the day)
10. Total loss pips for the day (once that is reached the bot will stop for the day)
11. Time of the day for the bot to start running (for example 9:30am)
12. Time of the day for the bot to stop running (for example 16:30pm)

The bot will trigger a new position when all these things happen:

A. The defined EMA has more degrees slope angle (up or down) than the defined value when looking at the last two periods (or candles). 
B. There are at least two same color candles before the current candle.
C. The current candle closes with the opposite color as the two previous candles.
D. If the Input "Max number of open positions" is more than 1, all other open positions have the “Stop Loss” at break even, SL=0).
E. We have not reached the defined “Maximum number of open positions” (point number 8.)
F. The time of the day is within the set parameters.
G. The total profit / loss number of pips for the day has not been reached.

Buy positions will be triggered when all the above happens and the EMAs trend is upwards. Similarly, Sell positions when the EMAs trend is downwards. In the image attached, there is a two minute chart with an EMA 13 (green line) and the grey lines show the 40 degree angle. As the EMA 13 has a higher degree angle downwards than the defined 40 degrees, and there has been at least two red candles before the blue one, a sell position was opened when the blue candle closed. If the position gets into 10 pips profit, the “Stop Loss” will move to breakeven, SL=0.
The EA will be loaded in a standard 1 MIN Chart, but the EA needs to work on non-standard time-frames, in other words, it needs to be able to calculate 2 minute, 3 minute... candles even if the EA is launched in a standard 1 MIN Chart.


Files:

Responded

2
Developer 2
Rating
(221)
Projects
369
66%
Arbitration
10
50% / 0%
Overdue
46
12%
Free
4
Developer 4
Rating
(365)
Projects
412
36%
Arbitration
35
26% / 57%
Overdue
63
15%
Free
5
Developer 5
Rating
(782)
Projects
1346
72%
Arbitration
109
28% / 49%
Overdue
340
25%
Busy
6
Developer 6
Rating
(414)
Projects
670
33%
Arbitration
60
17% / 32%
Overdue
114
17%
Working
7
Developer 7
Rating
(212)
Projects
246
45%
Arbitration
42
10% / 57%
Overdue
5
2%
Free
8
Developer 8
Rating
(94)
Projects
148
59%
Arbitration
16
38% / 13%
Overdue
25
17%
Free
9
Developer 9
Rating
(117)
Projects
138
41%
Arbitration
30
7% / 77%
Overdue
17
12%
Free
10
Developer 10
Rating
(142)
Projects
279
42%
Arbitration
17
65% / 6%
Overdue
29
10%
Working
11
Developer 11
Rating
(119)
Projects
127
41%
Arbitration
3
33% / 67%
Overdue
0
Free
Similar orders
Adjust MY Hedging EA 30 - 40 USD
1. Need averaging TP for my hedging EA. (Close both Buy and Sell position with TP) 2. Add function auto/manual entry. (EA will entry based on manual position(placed by trader) or auto trade based on existing setting)
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
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

Project information

Budget
50 - 150 USD
VAT (21%): 10.5 - 31.5 USD
Total: 60.5 - 181.5 USD
For the developer
45 - 135 USD
Deadline
from 2 to 7 day(s)