The Chinese version of SMA(X, N, M) is conceptually similar to RMA compatibility mode 0 (where the first valid value is a moving average).
However, polars_ta implements this using RMA compatibility mode 1 to maintain efficiency. Because of this difference in initialization, there may be data discrepancies in the early part of a series.
Important: To minimize the impact of these discrepancies and ensure accurate results (especially for unit testing), always provide a sufficient length of initial data.
This implementation affects indicators like ATR and RSI.