VOLUME:VOL,VOLSTICK;
MAVOL1:=MA(VOLUME,8);
MAVOL2:=MA(VOLUME,135);
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);
VVOL:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND (SETCODE=0 || SETCODE=1),VVOL,0,-1,-1),COLOR00C0C0;
B:IF(C>O,VOL,0)LINETHICK2,COLOR00FF00;
V1:MA(VOL,5)LINETHICK2,COLORYELLOW;
A:=C<EMA(C,14) AND REF(C<O,1) AND C>O AND REF(C<O,2);
STICKLINE(B>REF(B,1) AND A AND ((CROSS(B,V1),REF(H,BARSLAST(C)-2))),0,B,2,0),COLORYELLOW;
T1:=REF(VOL,1)=LLV(V,100);
T2:=V/T1>1.95;
T3:=C>O AND C>REF(C,1);
T4:=T1 AND T2 AND T3;
STICKLINE(T4,0,B,2,0),COLORRED;
倍数:=1.9;
倍量1:=REF(VOL,3)>倍数*REF(VOL,4) AND REF(C,3)>=REF(O,3);
价升量缩:= LLV(C,3)>=REF(L,3) AND HHV(VOL,3)<=REF(VOL,3);
连阳:= COUNT(C>=O,4)=4;
TTT:=倍量1 AND 价升量缩 AND 连阳;
STICKLINE(TTT,0,B,2,0),COLORBLUE; |