Your algorithm will likely not stand up to Walk Forward Analysis/Optimization/Testing: https://en.wikipedia.org/wiki/Walk_forward_optimization
I recommend reading "The Evaluation and Optimization of Trading Strategies" by Robert Pardo.
I recommend reading "The Evaluation and Optimization of Trading Strategies" by Robert Pardo.
Really surprising how so few amateur traders understand this fundamental principal. Scientists too.