The concept of this strategy is that we are looking for a trend that has just reversed and we are looking for an optimum entry point. The entry point is the breakout of the highest after a pullback.
The pullback is materialized by a short moving average, we are waiting that the price close below the short moving average and we trade the breakout of the highest just after.
Can you code this strategy?