将代码复制到条件选股后,再请按照图片设置参数!凌晨选出220只停盘的股票!
A1:=IF(CURRBARSCOUNT=1,YEAR,0);
A2:=IF(CURRBARSCOUNT=1,MONTH,0);
A3:=IF(CURRBARSCOUNT=1,DAY,0);
A4:=IF(CURRBARSCOUNT=1,WEEKDAY,0);
IF(NOT(A1=年) AND NOT(A2=月) AND NOT(A3=日) AND NOT(A4=周),1,
IF(A1=年,NOT(A2=月) OR NOT(A3=日) OR NOT(A4=周),
IF(A2=月,NOT(A1=年) OR NOT(A3=日) OR NOT(A4=周),
IF(A3=日,NOT(A1=年) OR NOT(A2=月) OR NOT(A4=周),
IF(A4=周,NOT(A1=年) OR NOT(A2=月) OR NOT(A3=日),0)))));