SJ:=SECTOTIME(1300000);
SJ1:=IF(SJ<=113000,( TIMETOSEC(SJ)- TIMETOSEC(093000))/60,0); SJ2:=IF(SJ>=130000,( TIMETOSEC(SJ)- TIMETOSEC(130000)+7200)/60,0); ZSJ:=CEILING(SJ1+SJ2); {开盘时间} VOLF15:=(ZSJ<=15 AND ZSJ>0) AND (DYNAINFO(8)>=0.25*REF(MA(VOL,5),1) OR DYNAINFO(8) >=0.25*REF(MA(VOL,10),1)); {15分钟1/4量填满} VOLF30:=(ZSJ<=30 AND ZSJ>0) AND (DYNAINFO(8)>=0.5*REF(MA(VOL,5),1) OR DYNAINFO(8)>=0.5*REF (MA(VOL,10),1)); {30分钟1/2量填满} VOLF60:=(ZSJ<=60 AND ZSJ>0) AND (DYNAINFO(8)>=REF(MA(VOL,5),1) OR DYNAINFO(8)>=REF(MA (VOL,10),1)); {60分钟量填满} VOLF60多:=ZSJ>60 AND (DYNAINFO(8)>=1.5*REF(MA(VOL,5),1) OR DYNAINFO(8)>=1.5*REF(MA (VOL,10),1)); {60分钟后1.5倍量} VOLF15 OR VOLF30 OR VOLF60 OR VOLF60多; |
|