Set Formula = marketdata.STKINDI("if00","zj","ma(5,10,20,60)",0,5,0,360)
application.MsgOut Formula.DataSize
你参数写的有误,建议看下函数文档里,你顺序要和参数一一对齐的,文档里参数一共是7个参数,数量控制是最后一个参数,你这里只有6个明细不对