DRAWTEXT_FIX(1,0,0,0,1),COLORLICYAN;
万手:VOL/10000,NODRAW;
X_1:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
X_2:=MOD(FROMOPEN,X_1);
X_3:=IF(X_2<0.5,X_1,X_2);
VVOL:IF(CURRBARSCOUNT=1 AND DYNAINFO(8)>1,VOL*X_1/X_3/10000,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND DYNAINFO(8)>1,VVOL,0,(-1),(-1)),COLOR00C0C0;
X_4:=IF(CURRBARSCOUNT=1,VVOL,万手);
多头:STICKLINE(CURRBARSCOUNT!=1 AND CLOSE>MA(CLOSE,30),0,X_4,5,1),COLORRED;
空头:STICKLINE(CURRBARSCOUNT!=1 AND CLOSE<MA(CLOSE,30),0,X_4,5,1),COLORGREEN;
STICKLINE(CURRBARSCOUNT=1 AND CLOSE>MA(CLOSE,30),0,X_4,5,(-1)),COLORRED;
STICKLINE(CURRBARSCOUNT=1 AND CLOSE<MA(CLOSE,30),0,X_4,5,(-1)),COLORGREEN;
X_5:=X_4/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
X_6:=IF(CLOSE>OPEN,X_5*(HIGH-LOW),IF(CLOSE<OPEN,X_5*(HIGH-OPEN+(CLOSE-LOW)),X_4/2));
X_7:=IF(CLOSE>OPEN,0-X_5*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,0-X_5*(HIGH-LOW),0-X_4/2));
X_8:=HIGH-LOW;
X_9:=ABS(OPEN-CLOSE);
X_10:=HIGH-IF(CLOSE>OPEN,CLOSE,OPEN);
X_11:=IF(CLOSE>OPEN,OPEN,CLOSE)-LOW;
X_12:=X_9/X_8*X_4;
X_13:=X_10/X_8*X_4;
X_14:=X_11/X_8*X_4;
X_15:=X_6+X_7;
X_16:=EMA(EXPMA(X_15,13),13);
流入趋势:IF(X_16>REF(X_16,1),1,DRAWNULL),NODRAW,COLORRED;
流出趋势:IF(X_16<=REF(X_16,1),1,DRAWNULL),NODRAW,COLORGREEN;
STICKLINE(X_12>=X_13 AND X_12>=X_14 AND CLOSE>OPEN,0,X_12,4,0),COLOR990099;
STICKLINE(X_12>=X_13 AND X_12>=X_14 AND CLOSE>OPEN,0,X_12,3,0),COLORBB00BB;
STICKLINE(X_12>=X_13 AND X_12>=X_14 AND CLOSE>OPEN,0,X_12,2,0),COLORDD00DD;
STICKLINE(X_12>=X_13 AND X_12>=X_14 AND CLOSE>OPEN,0,X_12,1,0),COLORMAGENTA;
STICKLINE(X_12>=X_13 AND X_12>=X_14 AND CLOSE<OPEN,0,X_12,4,0),COLORFF2200;
STICKLINE(X_12>=X_13 AND X_12>=X_14 AND CLOSE<OPEN,0,X_12,3,0),COLORFF4400;
STICKLINE(X_12>=X_13 AND X_12>=X_14 AND CLOSE<OPEN,0,X_12,1.9,0),COLORFF6600;
STICKLINE(X_12>=X_13 AND X_12>=X_14 AND CLOSE<OPEN,0,X_12,1.1,0),COLORFF8800;
STICKLINE(X_12>=X_13 AND X_12>=X_14 AND CLOSE<OPEN,0,X_12,0.3,0),COLORFFAA00;
STICKLINE(X_14>X_12 AND X_14>X_13,0,X_14,4,0),COLOR777777;
STICKLINE(X_14>X_12 AND X_14>X_13,0,X_14,3,0),COLOR999999;
STICKLINE(X_14>X_12 AND X_14>X_13,0,X_14,1.9,0),COLORBBBBBB;
STICKLINE(X_14>X_12 AND X_14>X_13,0,X_14,1.1,0),COLORDDDDDD;
STICKLINE(X_14>X_12 AND X_14>X_13,0,X_14,0.3,0),COLORWHITE;
STICKLINE(X_13>X_12 AND X_13>X_14,0,X_13,4,0),COLOR777777;
STICKLINE(X_13>X_12 AND X_13>X_14,0,X_13,3,0),COLOR999999;
STICKLINE(X_13>X_12 AND X_13>X_14,0,X_13,1.9,0),COLORBBBBBB;
STICKLINE(X_13>X_12 AND X_13>X_14,0,X_13,1.1,0),COLORDDDDDD;
STICKLINE(X_13>X_12 AND X_13>X_14,0,X_13,0.3,0),COLORWHITE;
STICKLINE(X_4>MA(X_4,5)*2.2,0,X_4,0.3,0),COLORYELLOW;
STICKLINE(X_16>REF(X_16,1),X_16,0,3,0),COLOR000099;
STICKLINE(X_16>REF(X_16,1),X_16,0,2,0),COLOR0000BB;
STICKLINE(X_16>REF(X_16,1),X_16,0,1,0),COLOR0000DD;
STICKLINE(X_16>REF(X_16,1),X_16,0,0.1,0),COLORRED;
STICKLINE(X_16<=REF(X_16,1),X_16,0,3,0),COLOR009900;
STICKLINE(X_16<=REF(X_16,1),X_16,0,2,0),COLOR00BB00;
STICKLINE(X_16<=REF(X_16,1),X_16,0,1,0),COLOR00DD00;
STICKLINE(X_16<=REF(X_16,1),X_16,0,0.1,0),COLORGREEN;
X_17:=X_4;
X_18:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.096 AND CLOSE=HIGH;
X_19:=X_17>=REF(X_4,1)*1.9 AND (CLOSE>REF(CLOSE,1) OR CLOSE>OPEN);
X_20:=X_17<REF(X_17,1);
X_21:=EVERY(X_20,3);
X_22:=X_17=HHV(X_17,10) AND X_17>1.7*REF(X_4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE>=OPEN AND H.....附件里有完整的源码文本txt