This strategy is worse than my strategy of ShiftMA. It is not recommended to use. Take-profit and stop-loss is added.
The black line - the price for opening of a long position (limit order)
The lime line - the price for take-profit (limit order)
The red line - the price for stop-loss (stop order)