求助通达信公式问题:三天内有2天开盘价和收盘价不超过1%

2024-11-28 04:46:08
推荐回答(1个)
回答1:

t1:=between(c,ref(c,1)*0.99,ref(c,1)*1.01);
t2:=between(o,ref(c,1)*0.99,ref(c,1)*1.01);
tj:=t1 and t2;
count(tj,3)=2;