以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://www.weistock.com/bbs/index.asp)
--  高级功能研发区  (http://www.weistock.com/bbs/list.asp?boardid=5)
----  自定义函数,放在公式里,取不到值?,请看看。。。  (http://www.weistock.com/bbs/dispbbs.asp?boardid=5&id=163794)

--  作者:msedu
--  发布时间:2018/6/1 23:58:15
--  自定义函数,放在公式里,取不到值?,请看看。。。
Function AutoMoveStp (Formula)
If Formula.WorkMode = 0 Then
    Exit Function 
End If
    Application.MsgOut "89日均线周期数:"&Formula.DataSize-1&"均线值:"&Formula.GetBufData("MA89",410)
    AutoMoveStp=0
End Function

--  作者:马良
--  发布时间:2018/6/2 13:36:08
--  
连msgout的输出值都没有的吗?