涨停:=C/REF(C,1) =1.095 AND C=H; 计涨停:涨停 AND SUM(涨停,0) = CONST(SUM(涨停,0)); 运行天数:CONST(BARSLAST(计涨停)),NODRAW; 上星期:=BARSLAST(WEEKDAY),NODRAW; 星期:=REF(WEEKDAY,上星期); 有效星期:=星期=5 AND CURRBARSCOUNT 运行天数; 星期统计:=CONST(COUNT(有效星期,运行天数)),NODRAW; 实际天数:运行天数+星期统计*2,NODRAW;