EA Opening/Closing Trades at fixed Times and distinct Weekdays

MQL5 전문가

작업 종료됨

실행 시간 11 일
고객의 피드백
excellent
피고용인의 피드백
Thank you so much

명시

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   


응답함

1
개발자 1
등급
(64)
프로젝트
93
37%
중재
11
27% / 45%
기한 초과
14
15%
무료
2
개발자 2
등급
(126)
프로젝트
160
36%
중재
4
25% / 50%
기한 초과
13
8%
무료
3
개발자 3
등급
(356)
프로젝트
632
26%
중재
89
73% / 13%
기한 초과
12
2%
무료
4
개발자 4
등급
(42)
프로젝트
47
30%
중재
12
17% / 75%
기한 초과
6
13%
무료
5
개발자 5
등급
(33)
프로젝트
49
12%
중재
16
0% / 88%
기한 초과
10
20%
무료
6
개발자 6
등급
(14)
프로젝트
19
11%
중재
1
0% / 100%
기한 초과
5
26%
무료
7
개발자 7
등급
(119)
프로젝트
169
38%
중재
9
78% / 22%
기한 초과
15
9%
무료
8
개발자 8
등급
(7)
프로젝트
17
41%
중재
3
0% / 100%
기한 초과
3
18%
무료
9
개발자 9
등급
(63)
프로젝트
84
26%
중재
23
22% / 48%
기한 초과
23
27%
무료
비슷한 주문
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
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

프로젝트 정보

예산
50+ USD
VAT (19%): 9.5 USD
총: 59.5 USD
개발자에게
45 USD
기한
 10 일