You meant: how to know if a strategy is over-optimized?
The best way to know is by testing it (in demo, in backtest, or in live..) on a Out of sample data period (a period of time that was not present in the data you used to build your strategy).
However you can already do that in backtesting, just by using the Walk Forward tool in the platform.
There are a lot of topics about robustness testing and the use and interpretation of the WF method, please take time to read some of them 🙂
Some links: https://www.prorealcode.com/topics-tag/walk-forward/
Blog posts about WF: How to use the ProRealTime Walk Forward analysis tool – FAQ