万手:VOL/10000,LINETHICK0;
X_1:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
预测:X_1/10000;
X_2:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
X_3:=IF(CLOSE>OPEN,X_2*(HIGH-LOW),IF(CLOSE<OPEN,X_2*(HIGH-OPEN+(CLOSE-LOW)),VOL/2));
X_4:=X_3/10000;
X_5:=IF(CLOSE>OPEN,0-X_2*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,0-X_2*(HIGH-LOW),0-VOL/2));
X_6:=(-X_5)/10000;
X_7:=X_4+X_6;
主买占比%:X_4/X_7*100,COLORMAGENTA;
X_8:=X_3-X_5;
买卖比:X_3/(-X_5);
X_9:=X_8/REF(X_8,1);
倍量:X_9>2;
倍缩:X_9<=0.5;
X_10:=(X_3+X_5)/10000;
MA5:MA(VOL,5),COLORWHITE;
X_11:=MA(VOL,10);
MA120:MA(VOL,120),COLORYELLOW;
持币:IF(SAR(10,2,20)>=HIGH,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORGREEN;
DRAWICON(持币>0,持币,35);
持股:IF(SAR(10,2,20)<=LOW,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORRED;
DRAWICON(持股>0,持股,34);
STICKLINE(X_3,0,X_3,2,0),COLORMAGENTA;
STICKLINE(买卖比>1,X_3,X_8,2,0),COLORYELLOW;
STICKLINE(买卖比<=1,X_3,X_8,2,0),COLORBLUE;
STICKLINE(X_9>2,0,X_8/3,2,0),COLORRED;
STICKLINE(X_9<=0.5,0,X_8/3,2,0),COLORGREEN;
X_12:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
X_13:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
X_14:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
X_15:=(X_12+X_13+X_14)/3;
X_16:=EMA(X_15,5);
K:EMA(X_16,5)*2,COLORMAGENTA;
D:EMA(K,5),COLORWHITE;
J:K*3-D*2,COLORYELLOW;
DRAWTEXT_FIX(1,0.01,0.05,0,'【粉+黄做多】【粉+蓝做空】【粉色做多】【蓝色做空】【黄色做多】【红色倍量】【绿色缩量】')COLORFF00FF;