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
(800)
Projects
1371
72%
Arbitration
112
29% / 48%
Overdue
341
25%
Loaded
6
Developer 6
Rating
(414)
Projects
670
33%
Arbitration
60
17% / 32%
Overdue
113
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
280
42%
Arbitration
18
61% / 6%
Overdue
29
10%
Free
11
Developer 11
Rating
(119)
Projects
127
41%
Arbitration
3
33% / 67%
Overdue
0
Free
Similar orders
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it
Hello, I have an indicator from a friend and I'd like to replicate it on my own TradingView or MT5 platform. Could you assist me with that?. Here is the link
so basically I have an EA(mql5), AI script(python), flask server and socket server both on python. Now this is an experimental script as I am trying to learn. However the EA is not entering any trades. How much would it cost for you to troubleshoot this for me? Thank you in advance
NEW FUNCTION 50+ USD
La idea es la siguiente, sería un EA semi automático. Yo como trader opero en zonas. En adelante las vamos a denominar ``zonas calientes´´. El EA debe que necesito debe operar conforme a 4 zonas calientes que yo configure en el mismo. ¿Qué hará el EA en cada una de esas zonas calientes que yo he configurado? En cada una de estas zonas el EA debe realizar hedging (crear un rango en el cual el EA entrara en sell o en
I have the bot just over half made, from another developer who let me down and decided they no longer wished to finish the project, so I have a basic example of the fundamentals of what it could look like, although multiple functions I require do not work, but I can show this to you on request. There are multiple features that I require, so please read the in depth requirement sheet on the attachment. Function: To

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)