在线检测未来函数

把下面两公式合一

来源:Internet,编辑:股旁网,2012-07-21

编写条件:

if stkindi('sz399101','bbqs.持股信号') then strfind(stklabel,'2',1)=3 and c>0; if stkindi('sz399102','bbqs.持股信号') then strfind(stklabel,'3',1)=1 and c>0; 上面公式单条可以用,我想在两公式中间加 or,但不行, 又没办法赋值,望高手解答。谢谢!

编写方法:

 if stkindi('sz399101','bbqs.持股信号') then  aa:=strfind(stklabel,'2',1)=3 and c>0;

if stkindi('sz399102','bbqs.持股信号') then  bb:=strfind(stklabel,'3',1)=1 and c>0;
信号1:aa;
信号2:bb;
信号3:aa or bb;
 
 
 

相关文章