작업 종료됨
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
명시
StopConverter - robot
Trading on MT4 on TM, only DAX-index.
Looking for development of a trading-robot that turns a buystop with a Take Profit (when the Take Profit of that buystop is achieved) into a sellstop with a Take Profit, and a sellstop with a Take Profit (when the Take Profit of that sellstop is achieved) into a buystop with a Take Profit.
No Stop Loss in this version.
Example (on DAX-index) :
Conditional order buystop at 13630, with T/P at 13640.
At 13640 the T/P is achieved, and the order comes back in conditional orders as sellstop at 13630, with T/P at 13620.
Conditional order sellstop at 13630, with T/P at 13620.
At 13620 the T/P is achieved, and the order comes back in conditional orders as buystop at 13630, with T/P at 13640.
When an order comes back in conditional orders (converted from buystop into sellstop or vice versa), the converted order should be visible in conditional orders immediately (for visiual control), and not invisible in a buffer of some sort until activated.
In the example the gap between price and T/P is 10 points - when an order is initially placed in conditional orders that is a fixed gap of 10 points. So when a buystop is converted into a sellstop - also with the sellstop the gap between price and T/P is 10 points.
And when a sellstop is converted into a buystop - also with the buystop the gap between price and T/P is 10 points.
There should be 1 variable : difference in howmany points from the originating order the converted order comes back in conditional orders.
In inputs of the expert-advisor (when you activate the robot) there should be a variable (points difference) which you can enter - fixed for all to be converted orders.
Example :
Conditional order buystop at 13630, with T/P at 13640. Variable is set to 0.
At 13640 the T/P is achieved, and the order comes back in conditional orders as sellstop at 13630 - (minus) variable = 13630 - 0 = 13630, with T/P at 13620.
Conditional order buystop at 13630, with T/P at 13640. Variable is set to 10.
At 13640 the T/P is achieved, and the order comes back in conditional orders as sellstop at 13630 - variable = 13630 - 10 = 13620, with T/P at 13610.
For a buystop it means it comes back as a sellstop, but 10 points lower than original price of 13630 (the buystop) at 13620.
And vica versa for sellstop order :
Conditional order sellstop at 13630, with T/P at 13620. Variable is set to 0.
At 13620 the T/P is achieved, and the order comes back in conditional orders as buystop at 13630 + (plus) variable = 13630 + 0 = 13630, with T/P at 13640.
Conditional order sellstop at 13630, with T/P at 13620. Variable is set to 10.
At 13620 the T/P is achieved, and the order comes back in conditional orders as buystop at 13630 + variable = 13630 + 10 = 13640, with T/P at 13650.
For a sellstop it means it comes back as a buystop, but 10 points higher than original price of 13630 (the sellstop) at 13640.
Also when a variable is activated : when an order comes back in conditional orders (converted from buystop into sellstop or vice versa), the converted order should be visible in conditional orders immediately (for visiual control), and not invisible in a buffer of some sort until activated.
And for all to be converted buystops or sellstops : any order is first conditional (with a T/P), that is the base. When a conditional order becomes active, and due to T/P is closed - the conversion has to be based on the original price as set in conditional, and not from the actual price in active or the actual achieved T/P! No slippage.
Looking for an experienced developer; preferably with proven/demonstratable track-record.
The robot should have sufficient big buffers to cope with the (at times) extreme volatility (not only at opening, but also sometimes during the day) of the DAX-index.
Looking forward to decent reactions and proposals.
Kind regards,
A. van der Wagt