#在这里快速回复#TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1))))); MTIME:=MOD(FROMOPEN,TOTAL); CTIME:=IF(MTIME<0.5,TOTAL,MTIME); 涨停XL:=IF(CURRBARSCOUNT=1 AND C>REF(C,1),ZTPRICE(REF(CLOSE,1)*TOTAL/CTIME,0.1),DRAWNULL),NODRAW; STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),涨停XL,REF(C,1),-1,-1),COLOR00C0C0;{虚拟涨停}; 仅对百分之十股标有效,且当日上涨时才有虚拟涨停显示。 |