MT5! Create an breakout EA (pending orders) with frontend buttons for interacting

MQL5 エキスパート

仕事が完了した

実行時間6 日

指定

Conditions for „german30 breakout EA“:

1.       Place a button „draw lines“ in the right top corner. On Click the button, the color of the button must change from light grey to light red.
Function of this button: they must draw 3 lines in the chart. The first, at the current price, the second x-Points above and the third line x-Points below the current price line. à Picture 1


The middle line can be move „drag&drop“ and simultaneously the two other lines will move too. The Range must be implement as a parameter „box range“ in points, for example: 15
Again, the line above the current price line: current line + („box range“ / 2)
The line below: current line - („box range“ / 2)

2.       Place a second button „Place Orders“ below the first. After click this button, all following actions should be done automatically. The button must be blace two Orders. One sell stop Order at the price from the lower line and one buy stop order at the price from the higher line. When one of the orders are executed the other order must be replaced with a new pending order with a factor of 3. For example: The two orders are placed with 0.1 lots. The lower order are executed and at the same time the higher order with 0.1 lots will be replaced with another pending order with 0.3 lots. See picture 2:

Point 0 (starting position):

-          0.1 contract pending long

-          0.1 contract pending short

Point 1:

-          Fill short position with 0.1 short

-          Pending long with 0.3

Point 2:

-          Fill long position with 0.3 long

-          New pending short with 0.9

Point 3:

-          Fill short with 0.9

-          New pending long with 2.7

Point 4:

-          Take profit will reach. Close all open orders, starting with the biggest position (0.9)

-          Delete pending orders

             Take profit must be set as a parameter, initial at 7.5 points

3.       Draw the current daily pivot, refreshing by a new day. The color must be set as a parameter

 At the end of the assignment, i need the mq5 file.


ファイル:

PNG
1.png
35.2 Kb
PNG
2.png
99.1 Kb

応答済み

1
開発者 1
評価
(213)
プロジェクト
246
45%
仲裁
42
10% / 57%
期限切れ
5
2%
2
開発者 2
評価
(2635)
プロジェクト
3350
67%
仲裁
77
48% / 14%
期限切れ
342
10%
仕事中
パブリッシュした人: 1 code
3
開発者 3
評価
(574)
プロジェクト
945
47%
仲裁
309
58% / 27%
期限切れ
125
13%
4
開発者 4
評価
(414)
プロジェクト
670
33%
仲裁
60
17% / 32%
期限切れ
113
17%
仕事中

プロジェクト情報

予算
60+ USD
締め切り
最高 30 日