星期几:=VARCAT(VARCAT('(',IF(WEEKDAY=1,'一',IF(WEEKDAY=2,'二',IF(WEEKDAY=3,'三',IF(WEEKDAY=4,'四',IF(WEEKDAY=5,'五','')))))),')');
涨停:=C/REF(C,1) =1.095 AND C=H;
日期:=VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(VAR2STR(YEAR,0),'年'),VAR2STR(MONTH,0)),'月'),VAR2STR(DAY,0)),'日'),星期几);
DRAWTEXT(涨停,H,日期),COLORMAGENTA;
显示最近一次的日期 加上限制最近一次条件 替换最后一句
DRAWTEXT(涨停 AND CURRBARSCOUNT=1,H,日期),COLORMAGENTA;