X_1:=6;
X_2:=6;{九毛八公式指标网www.9m8.cn}
X_3:=IF(HIGH=HHV(HIGH,8*X_1),HIGH,DRAWNULL);
X_4:=CONST(BARSLAST(X_3=HIGH))+1;
X_5:=CONST(IF(X_4=1,HIGH,REF(HIGH,X_4-1)));
X_6:=IF(LOW=LLV(LOW,8*X_2),LOW,DRAWNULL);
X_7:=CONST(BARSLAST(X_6=LOW))+1;
X_8:=CONST(IF(X_7=1,LOW,REF(LOW,X_7-1)));
X_9:=CURRBARSCOUNT =X_7 AND LOW=X_8;
X_10:=CURRBARSCOUNT =X_4 AND HIGH=X_5;
STICKLINE(IF(X_7 X_4,X_10,X_9),X_8,X_5,0,0),COLOR628962;
STICKLINE(IF(X_7 X_4,X_9,X_10),X_8,X_5,0,0),COLOR628962;
NOTEXT高:REF(HIGH,BARSLAST(X_10)),DOTLINE,COLOR628962;
NOTEXT低:REF(LOW,BARSLAST(X_9)),DOTLINE,COLOR628962;
X_11:=LLV(MA((LOW+HIGH+CLOSE+OPEN)/4,6),88);
X_12:=EMA((HIGH+LOW+CLOSE)/3*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*20/10+X_11,2);
X_13:=(3*X_12-2*SMA(X_12,5,1))*0.3;
X_14:=(HHV(INDEXH,13)-INDEXC)/(HHV(INDEXH,13)-LLV(INDEXL,13));
X_15:=EMA(3*X_14-2*SMA(X_14,18,1),5);
X_16:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8));
X_17:=3*SMA(X_16,3,1)-2*SMA(SMA(X_16,3,1),5,1);
X_18:=(INDEXC*2+INDEXH+INDEXL)/4;
X_19:=EMA(X_18,13)-EMA(X_18,34);
X_20:=EMA(X_19,5);
X_21:=(X_19-X_20+X_11)*1;
X_22:=1.86*EMA(CLOSE,5)-EMA(CLOSE,13);
资金力度:X_22,COLORGREEN,LINETHICK2;
X_23:=MA(CLOSE,1);
X_24:=SMA(SMA(SMA(X_23,2,1),2,1),2,1);
X_25:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;
X_26:=(X_24-REF(X_24,1))/REF(X_24,1)*100;
X_27:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
X_28:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
X_29:=IF(MA(CLOSE,17) X_28,X_28,MA(CLOSE,17));
X_30:=EMA(CLOSE,243);
X_31:=EMA(CLOSE,3);
X_32:=X_29-(X_31-X_29);
散筹:X_30-(X_31-X_30),COLORGREEN,LINETHICK2;
NOTEXTCG:MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)),COLORFFAA99;
NOTEXTCG1:MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1),COLORFFAA99;
主筹:IF(MA(CLOSE,17) X_28,X_28,MA(CLOSE,17)),COLORLIMAGENTA,LINETHICK2;
NOTEXT3:IF(主筹 REF(主筹,1),主筹,DRAWNULL),COLORFFAA99,LINETHICK2;
NOTEXT4:IF(主筹 REF(主筹,1),主筹,DRAWNULL),COLORLIMAGENTA,LINETHICK2;
X_33:=FORCAST(CLOSE,5);
黄:LLV(FORCAST(CLOSE,5),2),COLORYELLOW;
X_34:=X_33*100-黄*100;
DRAWBAND(X_33,RGB(155,155,0),黄,RGB(0,155,0));
绿:IF(X_34=0,黄,DRAWNULL),COLORGREEN,LINETHICK2;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
XH:=FILTER(主筹 REF(主筹,1) AND CROSS(X_34,黄) AND C NOTEXTCG,5);
DRAWICON(XH,主筹,26);