交易分钟数:=if(CURRENTTIME>93000 and CURRENTTIME<150000,
if(CURRENTTIME<113000,(TIMETOT0(CURRENTTIME)-34200)/60,
if(CURRENTTIME>130000,(TIMETOT0(CURRENTTIME)-39600)/60,120)),240);
日期差:=DATEDIFF(DATE,CURRENTDATE);
Vvol:IF(BARSTATUS=2 AND DATATYPE=6 and 日期差=0,VOL*240*交易分钟数,vol),VOLSTICK;
STICKLINE(BARSTATUS=2 AND DATATYPE=6,VVOL,0,8,0),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
AA:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
AA1:=VOL<REF(LLV(VOL,13),1);
AA2:=VOL<REF(LLV(VOL,55),1);
AA3:=Abs(VOL-REF(VOL,1))/REF(VOL,1)<=0.05;
{- }
STICKLINE(AA,0,V,8,0),COLORYELLOW;
STICKLINE(AA1,0,V,8,0),COLORGREEN;
STICKLINE(AA2,0,V,8,0),COLORMAGENTA;
STICKLINE(AA3,0,V,8,0),COLORWHITE;
TJ1:=COUNT(V>REF(V,1)*1.9,4)=1;
TJ2:=COUNT(V<REF(V,1) AND L>MIN(L,4) AND L>REF(L,1),3)=3 ;
TJ3:=TJ1 AND TJ2;
STICKLINE(TJ3,0,V,8,0),COLORRED;
MV3:MA(V,3)LINETHICK1,COLOR00FFFF;
MV10:MA(V,10),LINETHICK1,COLORFF00FF;
MV30:MA(V,30),LINETHICK1,COLORAAAAAA;