SMA Source Code class SMAIndicator(object): """ 对比通达信,测试通过,实际使用可以四舍五入 """ def __init__(self, value: pd.Series, N: int = 3