Trading robot adapted to work on a real account. The robot trades inside a channel formed by regression dependencies. Trades are only opened with trend, near the border line of the regression. Take Profit is oriented towards the regression at the opposite side of the channel.
A trend channel limited by the polynomial regression lines is calculated. The channel line gradient determines trend direction and strength. The EA enters the market when the price approaches the border regression line. Profit is taken near the regression line at the opposite side of the channel. Since the deals are only opened in the trend direction, the EA tries to close the majority of deals with profit. Losing positions are averaged using additional deals, which are calculated so that their aggregate sum could also be closed with profit (it is smaller than in the basic mode, but the overall result should be positive). As the deposit grows, the money management is applied to increase the volume of trades to match returns and risk with available funds.