VARIABLE:my_count=0;
X:=((C-REF(C,10))/REF(C,10))>0.02
if time>093300 and time <150000 then
BEGIN
my_count:=my_count+x;
end
if time=093100 then my_count:=0;
my_count大于0,就代表满足过。
VARIABLE是用于定义全局变量。建议你对不知道的函数,在函数列表中查询。
没有结果是因为my_count没有输出。你自己重新定义一个变量输出看就行了、
VARIABLE:my_count=0;
X:=((C-REF(C,10))/REF(C,10))>0.02;
if time>093300 and time <150000 then
BEGIN
my_count:=my_count+x;
end
if time=093100 then my_count:=0;
aaa:my_count;