{分时金额副图源码如下}
P1:=10;
P2:=5;
现量:VOL,VOLSTICK;
X_1:=P1*1000;
X_1;
STICKLINE(现量>10000 AND CLOSE>REF(CLOSE,1),0,现量,P2,0),COLORYELLOW;
STICKLINE(现量>20000 AND CLOSE>REF(CLOSE,1),0,现量,P2,0),COLORRED;
STICKLINE(现量>30000 AND CLOSE>REF(CLOSE,1),0,现量,P2,0),COLORMAGENTA;
X_2:=现量>10000 AND COUNT(现量>REF(现量,1),2)=2 AND CLOSE/REF(CLOSE,1)<1.05 AND CLOSE>REF(CLOSE,1);
DRAWTEXT(X_2,现量*1.1,24),COLORYELLOW;
竞价金额:DYNAINFO(15)/10000,NODRAW;
竞价量:DYNAINFO(15)/OPEN/100,NODRAW;
竞价占比:竞价量/CAPITAL*10000,NODRAW;
总金额:DYNAINFO(10)/100000000,NODRAW;
昨涨跌:(REF(CLOSE,1)-REF(CLOSE,2))/REF(CLOSE,2)*100,NODRAW;
三涨幅:(REF(CLOSE,1)-REF(CLOSE,4))/REF(CLOSE,4)*100,NODRAW;
{涨停试盘副图源码如下}
X_1:=IF(CODELIKE(11),0,1);
X_2:=IF(CODELIKE(12),0,1);
X_3:=IF(NAMELIKE(13),0,1);
X_4:=IF(NAMELIKE(14),0,1);
X_5:=X_3 AND X_4 AND X_1 AND X_2;
X_6:=CLOSE/REF(CLOSE,1)<1.06 AND CLOSE/REF(CLOSE,1)>0.91 AND REF(CLOSE,1)/REF(CLOSE,2)>1.09 AND CLOSE/MA(CLOSE,30)<1.16;
X_7:=VOL>REF(VOL,1)*2;
涨停试盘:X_6 AND X_7;
X_8:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20);
X_9:=CLOSE/REF(CLOSE,1)>1.02 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL>2*REF(VOL,1) AND CLOSE<30;
X_10:=X_9 AND OPEN<MA(CLOSE,60);
X_11:=BARSLAST(X_10);
倍量:X_9 AND X_11>4 AND X_11<20 AND CLOSE>REF(CLOSE,X_11) AND CLOSE/REF(CLOSE,X_11)<1.15;