Function Max1(Formula,a1,a2,a3,a4,a5)
'系统会在逐K线模式解释公式时的每个周期都会调用此函数一遍,因此设计时应该注重程序的执行效率,不要重复的执行一些没必要的代码
dim x1
x1=a1
if x1<a2 then
x1=a2
end if
if x1<a3 then
x1=a3
end if
if x1<a4 then
x1=a4
end if
if x1<a5 then
x1=a5
end if
max1=x1
End Function
在 if x1<a2 then 处运行不了
是有报错还是什么问题?
本地运行没有异常啊