以下是通达信私募成交量源码副图
私募成交量源码
X_1:=12;
X_2:=26;
X_3:=9;
X_4:=EMA(CLOSE,X_1)-EMA(CLOSE,X_2);
X_5:=EMA(X_4,X_3);
X_6:=(X_4-X_5)*2;
STICKLINE(X_4>X_5,0,VOL,2,0),COLORRED;
STICKLINE(X_4<X_5,0,VOL,2,0),COLORYELLOW;
X_7:=9;
X_8:=3;
X_9:=3;
X_10:=(CLOSE-LLV(LOW,X_7))/(HHV(HIGH,X_7)-LLV(LOW,X_7))*100;
X_11:=SMA(X_10,X_8,1);
X_12:=SMA(X_11,X_9,1);
X_13:=3*X_11-2*X_12;
STICKLINE(X_13>X_12,VOL/2,VOL,2,0),COLORMAGENTA;
STICKLINE(X_13<X_12,VOL/2,VOL,2,0),COLORYELLOW;
X_14:=0.0001*AMOUNT;
V5:MA(VOL,5)*2;
V40:MA(VOL,40)*2;
X_15:=0.0001*MA(AMOUNT,5);
X_16:=0.0001*MA(AMOUNT,10);
X_17:=LLV(X_14,100)=X_14;
DRAWICON(X_17,V40,2);
X_18:=VOL>=REF(VOL,1)*1.91 AND CLOSE>REF(CLOSE,1)*1.01;
DRAWICON(FILTER(X_18,3),V5,1);
DRAWICON(FILTER(X_18,3),V5*1.5,1);
评论(0)