Работа завершена
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Техническое задание
Hi guys,
I looking for someone who can add few new function for my existing EA.
What I have:
Current EA opening a trades in predefined distance. There is Grid distance which is opening trades to a selected side (buy/sell). If reach the grid distance (profit) its closed and open another trade same way. when the trade going opposite direction, EA open a new trade after reach grid distance but not close first trade.
example:
I setup grid distance on 100 points. TP is on 100 points. lot size 1 lot. order set on BUY.
EA open a first trade, when reach BUY TP on 100 point trade is closed and automatic open a new with same parameters. I have again just one active trade.
or
EA open a first trade and reach grid distance 100 point in opposite way (trade went to SELL), EA will open another trade in BUY way and let the firs waiting for TP.
So if the chart will go opposite way as I choose, I will have open after 50 pips few diferent trades: 1st on -50 pips, 2nd on -40 pips, 3rd on -30 pips .....
So this is my current simple EA. I will send it to selected developer.
What I want to add:
- function will all the time monitor and check a pip distance from oldest existing open trade (opening price) and on predefined distance open a new trade with new parameters.
I will have set up 20 diferent level for new trades in opposite directions (always opposite for all level) as original trades, SL and TP (for all level will be the SL and TP same) and the lot size for this trade (variable for all level) .
We can use the example from above. when the first trade reach -50 pips (Level 1 setting), EA will open a new trade to SELL direction with predefined SL and TP, lot size.
There is 2 thinks what can happen. If the trade reach TP, its great and the EA have to forget a settings from Level 1 and start monitor a distance between oldest trade and Level 2.
But if the trade became as a lost (SL), EA will continue monitor the the distance from Level 1 and EA will open again a new trade if the price will reach again that level 1.
I want to have 20 levels which I can setup. for example on 50 pips, 60 pips, 70 pips. Lot size will be diferent for all levels. SL and TP will be same on all levels.
Just reminder, the oldest trade dont have to be same which was open on the start of EA trading. It's usually changing in mid time , specially on start of trading.
That's it. If you have any questions, please contact me.