仕事が完了した
![](https://c.mql5.com/i/avatar/avatar_na2.png)
指定
Hi,
Would like to have an EA to start hedge trading buy and selling at same price (Market)...and put orders (Buy stop limit and Sell stop limit at same price ) respecting the sequency estabilished in points (range) .. x2 .
Example -
- EA will start buying and selling imediatelly. (market at same price) no matter spread, etc.Supose - price 100. Lot size =1 .
- Range1 set to 5 points. .. So, buy sequency order and sell sequency orders will be placed respecting 5 points.
----------------------------------------------------------------------------------------------------------------
(5 points difference of last order)
- EA Will put order with range set in points x2 . So, will add pending orders - Lot size = 2 . for both sides (Buy sequency and sell)
- (buy) - Buy stop limit and sell limit at price 105 - size lot 2
- (sell) buy limit and sell stop limit at price 95.- size lot 2
----------------------------------------------------------------------------------------------------------------
* Rest of the orders, will be placed respeting range 2.. .. In this case set to 3 points.
----------------------------------------------------------------------------------------------------------------
- So, third order sequency will be -
(3 points difference of last order)
- (buy) - Buy stop limit and sell limit at price 108 - size lot 4 -
- (sell) buy limit and sell stop limit at price 92. size lot 4
----------------------------------------------------------------------------------------------------------------
- 4 sequency
(3 points difference of last order)
- (buy) - Buy stop limit and sell limit at price 111 - size lot 8
- (buy) - Buy stop limit and sell limit at price 89 - size lot 8
and so on.
----------------------------------------------------------------------------------------------------------------
Sequency will be limited initially - If input = 5 .. then, we will have till 32.
Example - First 1,1 - Second 2,2 - Third 4,4 - Four 8,8 - Five 16-16..
If input = 6
Example - First 1,1 - Second 2,2 - Third 4,4 - Four 8,8 - Five 16-16 - Six 32,32 .
----------------------------------------------------------------------------------------------------------------
* TP will be set manually.
* There is no stop loss.
I have more details that will be provided/shared further.