Pending ea

MQL4 Experts

Specification

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 

 

 

Responded

1
Developer 1
Rating
(2678)
Projects
3424
68%
Arbitration
78
49% / 14%
Overdue
343
10%
Working
Published: 1 code
2
Developer 2
Rating
(2351)
Projects
2958
63%
Arbitration
125
44% / 26%
Overdue
429
15%
Free
3
Developer 3
Rating
(3)
Projects
7
14%
Arbitration
1
0% / 100%
Overdue
5
71%
Free
4
Developer 4
Rating
(54)
Projects
164
43%
Arbitration
43
47% / 16%
Overdue
58
35%
Free
Published: 1 code
5
Developer 5
Rating
(7)
Projects
25
44%
Arbitration
4
25% / 50%
Overdue
18
72%
Free
Published: 2 articles

Project information

Budget
10 - 40 USD
Deadline
from 1 to 10 day(s)