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