One of the most common ways of producing meaningless backtest results is by overfitting the strategy to a particular market/timeframe. The more you tweak a strategy, the more likely you are on your way to overfit it.
To learn more about overfitting and ways to reduce the chances of it occurring, please see the following articles:
For more information on this, please see the Introduction section of the Backtesting on TradingView page.