EA very simple

MQL5 EA Futures Strategy optimization

명시

EA is for the Brazilian Stock market, to operate Stocks (Papers) and Futures (Indice / IBOV).

The idea is (image attached):

Action - Order [BUY] or [SELL] of X amount will be issued once a line (specific price) is crossed.

> I'll manually set the Line (price) every time.

What are the options and conditions:

1 - Order will be placed only between a specific time to be chosen.

1.1 - When the time window closes, the order will not be placed anymore.

2 - Order will be placed only if Opening Price is [LOWER] or [HIGHER] than the line (specific price) placed.

3 - If Order is open, by a specific time the order needs to be closed (doesn't matter if it is a loss or a gain), option to be a Day Trade.

3.1 - Ready the book, and closes using "1st price" (market).

4 - [ STOP GAIN 1 ] and [ STOP GAIN 2 ] and [ STOP LOSS ] needs to be chosen.

4.1 - Stop gain 1 and 2 could be equal.

4.2 - Have Stop Trailing, Break Even if STOP GAIN 1 is executed.


Example A (image attached), Day 1.

Buy Order to be placed if Line is crossed, if Opening Price is Lower then Line to be crossed, if the line is crossed between 10 am to 10:20 am.

In this example, the Order wouldn't be executed because the opening price was higher than Line to be crossed.


Example B, Day 7.

Buy Order to be placed if Line is crossed, if Opening Price is Lower then Line to be crossed, if the line is crossed between 10 am to 10:20 am.

In this example, Order would be executed because line was crossed at 10:10 am and would likely be a STOP LOSS.


Example C, Day 2 (using the same line as Example A)

Buy Order to be placed if Line is crossed, if Opening Price is Lower then Line to be crossed, if the line is crossed between 10 am to 4 pm.

In this example, Order would be executed because the opening price was lower than Line to be crossed, the line was crossed inside the chosen time, and could be a STOP GAIN or a LOSS.


Example D, Day 4

Sell Order to be placed if Line is crossed, if Opening Price is Lower then Line to be crossed, if the line is crossed between 2 pm to 4 pm.

In this example, Order would be executed because opening price was lower than Line to be crossed, would likely be a STOP GAIN.

파일:

PNG
EA_01.png
11.9 Kb

응답함

1
개발자 1
등급
(2346)
프로젝트
2951
63%
중재
125
44% / 26%
기한 초과
429
15%
무료
2
개발자 2
등급
(2)
프로젝트
2
0%
중재
0
기한 초과
0
무료
3
개발자 3
등급
(135)
프로젝트
163
40%
중재
11
27% / 73%
기한 초과
24
15%
무료
4
개발자 4
등급
(298)
프로젝트
478
40%
중재
105
40% / 24%
기한 초과
82
17%
로드됨
게재됨: 2 코드
5
개발자 5
등급
(7)
프로젝트
15
7%
중재
4
0% / 25%
기한 초과
1
7%
무료
6
개발자 6
등급
(5)
프로젝트
11
0%
중재
8
25% / 63%
기한 초과
3
27%
무료
7
개발자 7
등급
(515)
프로젝트
554
53%
중재
13
69% / 15%
기한 초과
3
1%
무료

프로젝트 정보

예산
30 - 100 USD
기한
 30 일