Pending ea

MQL4 EA

명시

Hello,

 

I want a EA that makes trades acording to supertrend nrp indicator.

It should work like this:

 

The ea will use only pending orders (no market orders)

There will be one main trade with its own TP/SL - user selectable

There will be several multi trades , max 5. We will need inputs for the different multi trades, each one should have its own TP/Sl. 

The orders should be placed like this-

When indicator gives buy signal - It should place 1 main buy  trade x pips ( there should be an input for this value) away from current market price .

                                             - It should place  the number of selected multi trades x pips away from the market.

 

Example:

Indicator gives a buy signal on EURUSD @ 1.3200 , I have the following inputs: 

 

-20 pips away for the main trade with a 50pips TP/SL

- 30 pips away for the 1st multi trade with a 30 Pips TP/sl

- 50 pips away for the 2nd multi trade with a 50 pis TP/SL

 

 Place a pending buy @ 1.3220 with a 50 pips TP/SL

Place a pending buy @ 1.3230 with a 30 pips TP/SL

Place a pending buy @ 1.3250 witn a 50 pips TP/SL

This should continue until a max of 5 multi trades, if we have inputs for all the 5 trades, if we have inputs for just 2 and leave the other with zero value we should only have 2 trades.

 

When the indicator gives sell signal the ea should check if we have any open buy position or any buy pending orders and close the open position and delete all the buy pending orders.

Then it should place the sell orders the same way it did with the buy orders.

 The Ea should have the following user select able input's 

 

- Magic Number

- Comment

- main  trade

      - Pips away

      - TP

      - SL

Multi trade 1

     - Pips away 

     -TP

    - SL

Multi trade 2

     - Pips away 

     -TP

    - SL  

Multi trade 3

     - Pips away 

     -TP

    - SL 

Multi trade 4

     - Pips away 

     -TP

    - SL 

 Multi trade 5

     - Pips away 

     -TP

    - SL

Amy doubts just let me know

 

Best regards 

 

Telmo 

 

 

응답함

1
개발자 1
등급
(2678)
프로젝트
3424
68%
중재
78
49% / 14%
기한 초과
343
10%
무료
게재됨: 1 코드
2
개발자 2
등급
(2351)
프로젝트
2958
63%
중재
125
44% / 26%
기한 초과
429
15%
무료
3
개발자 3
등급
(3)
프로젝트
7
14%
중재
1
0% / 100%
기한 초과
5
71%
무료
4
개발자 4
등급
(54)
프로젝트
164
43%
중재
43
47% / 16%
기한 초과
58
35%
무료
게재됨: 1 코드
5
개발자 5
등급
(7)
프로젝트
25
44%
중재
4
25% / 50%
기한 초과
18
72%
무료
게재됨: 2 기고글

프로젝트 정보

예산
10 - 40 USD
기한
에서 1 로 10 일