SendCloseOrder - Expert for MetaTrader 4
Advisor created on the signallines indicator basis. The robot draws 4 lines on the chart : BUY, SELL and two CLOSE lines. You need to move these lines to the area where you are going to open or close orders. Accordingly, when the Ask price is above the corresponding line, and the Bid price is below it, opening and closing of the deals occurs. This moment looks like the intersection by the price of one of the four lines on the chart.
If you arrange the CLOSE lines at a certain angle, you can use them as a Trailing Stop.