EA Opening/Closing Trades at fixed Times and distinct Weekdays

MQL5 Experts

Job finished

Execution time 11 days
Feedback from customer
excellent
Feedback from employee
Thank you so much

Specification

Attention: I need the Source Code. This order is only valid if the Source Code File(s) are included.  

Name of the EA: "WeekdaySeason"

The EA has to trade fixed time blocks (time periods) per week.
Four (4) time blocks (Block1,Block2,Block3,Block4) can be defined with appropriate input parameters.

For each time block we need the input parameters as listed here for Block1:

parametername:    Block1Action            type: String       values:    {"Flat" "Long" "Short"}      default: "Flat"
parametername:    Block1DayIndex        type: Integer     values: {1 2 3 4 5}                           default: 1     
parametername:    Block1StartHour        type: Integer    values: {0 1 2 3 ... 22 23}                default: 15
parametername:    Block1StartMinute    type: Integer    values: {0 1 2 3 ... 58 59}                default: 35
parametername:    Block1EndHour          type: Integer    values: {0 1 2 3 ... 22 23}               default: 21
parametername:    Block1EndMinute      type: Integer    values: {0 1 2 3 ... 58 59}               default: 55

We need this set of parameters for each of the remaining time blocks Block2, Block3,Block4.
Therefore we will have 6 * 4 = 24 input parameters in total for the definition of the four blocks.

Trading Logik:

Example. Assume the input parameters for Block1 and BLock2 are set to the following values:

Block1Action            value: "Long"       
Block1DayIndex        value: 2
Block1StartHour        value: 14   
Block1StartMinute    value: 30
Block1EndHour          value: 16   
Block1EndMinute      value: 35   

Block2Action            value: "Short"       
Block2DayIndex        value: 5
Block2StartHour        value: 10   
Block2StartMinute    value: 15
Block2EndHour         value: 21   
Block2EndMinute       value: 59

Block3Action             value:"Flat"
.....
Block4Action             value:"Flat"

Explanation:         
The Block1Action is set to "Long", the EA has to place long trades. (The default value "Flat" means the whole block is not used. No trade for that block).
The Block1DayIndex is set to 2. The weekday of the block is Tuesday. (1 = Monday, 2 = Tuesday, 3 = Wednesday, 4 = Thursday , 5 = Friday)  
The Time when the trade has to be opened is 14:30 (SERVERTIME) as defined by Block1StartHour and Block1StartMinute.
The Time when the trade has to be closed is 16:35 (SERVERTIME) as defined by Block1EndHour and Block1EndMinute.

Therefore for Block1 the EA has to open a Long trade each Tuesday at 14:30 and close the trade at 16:35. (SERVERTIME)

The Block2Action is set to "Short, the EA has to place short trades.
The Block2DayIndex is set to 5. The weekday of the block is Friday.
The Time when the trade has to be opened is 10:15 (SERVERTIME) as defined by Block2StartHour and Block2StartMinute.
The Time when the trade has to be closed is 21:59 (SERVERTIME) as defined by Block2EndHour and Block2EndMinute.

Therefore the EA for Block2 has to open a Short trade each Friday at 10:15 and close the trade at 21:59. (SERVERTIME)

Block3 and Block4 have the BlockAction set to "Flat", so they are not in use.


Orders:
All trades are openend and closed using market orders.
When the StartTime has come to open a trade or the EndTime has come to close a trade the corresponding market order has to be submitted quickly within a few seconds,
at least within 30 seconds. Thus the EA must not rely on a certain timeframe and wait for Bar Closes. It must work both in the M15 and H1 timeframe.       


Lot size:
The fixed Lotsize can be set with an input parameter:
parametername: Lotsize            type: Integer        default: 1   


Responded

1
Developer 1
Rating
(64)
Projects
93
37%
Arbitration
11
27% / 45%
Overdue
14
15%
Free
2
Developer 2
Rating
(126)
Projects
160
36%
Arbitration
4
25% / 50%
Overdue
13
8%
Free
3
Developer 3
Rating
(356)
Projects
632
26%
Arbitration
89
73% / 13%
Overdue
12
2%
Free
4
Developer 4
Rating
(42)
Projects
47
30%
Arbitration
12
17% / 75%
Overdue
6
13%
Free
5
Developer 5
Rating
(33)
Projects
49
12%
Arbitration
16
0% / 88%
Overdue
10
20%
Free
6
Developer 6
Rating
(14)
Projects
19
11%
Arbitration
1
0% / 100%
Overdue
5
26%
Free
7
Developer 7
Rating
(119)
Projects
169
38%
Arbitration
9
78% / 22%
Overdue
15
9%
Free
8
Developer 8
Rating
(7)
Projects
17
41%
Arbitration
3
0% / 100%
Overdue
3
18%
Free
9
Developer 9
Rating
(63)
Projects
84
26%
Arbitration
23
22% / 48%
Overdue
23
27%
Free
Similar orders
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
I need EA that works on MT5 to be able to do the following: - Can recognize Support/Resistance area - Can recognize VWAP direction. - Can recognize RSI. - Can recognize Double Top/bottom, Bullish/Bearish hammer candle, Bullish/bearish engulfing candle. - Ability to set Stoploss below/above support/resistance, but risk must be fixed at a certain price. - Stoploss
I want a program that will help calculate and enter the market on full margin for me. I just need to put in the price for entry, Stop loss and TP then it will calculate the lot sizes for entering the trade on full margin on Mt5

Project information

Budget
50+ USD
VAT (19%): 9.5 USD
Total: 59.5 USD
For the developer
45 USD
Deadline
to 10 day(s)