Of course it won't work, this is the opposite of a trend-following system, it buys when prices are "cheap" and sell when they are "expensive".
Trading in the direction of the trend after a pullback is a form of trend following, at least according to:
https://www.warriortrading.com/trend-trading/
As a trend follower, there are essentially two methods of entry which most strategies fall into: pullbacks and breakouts.
https://www.asktraders.com/learn-to-trade/trading-guide/pullback-breakout-styles-trading/
One good technique when trading trends is to enter after a pullback, as the direction will move back to its original trend.
https://tradingstrategyguides.com/profit-from-trading-pullbacks/
Trading pullbacks in trends is a basic trend following strategy.