Rules for evaluating the trading system and its equity

Principles for evaluating strategies and expert advisors for backtesting and equity, analysis of the deposit curve, calculation of the optimal number of trades for testing