X_2:=DYNAINFO(17);
X_3:=(COUNT(CLOSE>0,FROMOPEN)-1-MOD(COUNT(CLOSE>0,FROMOPEN)-1,10))/10+1;
X_4:=EMA(LOG(SMA(SUM(DYNAINFO(37),FROMOPEN)*2400000/X_3,3,1)),240);
X_5:=(CLOSE/DYNAINFO(11)-(MA(CLOSE/DYNAINFO(11),55)+MA(CLOSE/DYNAINFO(11),21)+MA(CLOSE/DYNAINFO(11),34))/3)/MA(CLOSE/DYNAINFO(11),3)*1200;
X_6:=2*((EMA(CLOSE,12)-EMA(CLOSE,26))*600/DYNAINFO(11)-EMA((EMA(CLOSE,12)-EMA(CLOSE,26))*600/DYNAINFO(11),9))*10;
X_7:=SUM(AMOUNT,40)/(AMOUNT/VOL/100)/100;
X_8:=SUM(AMOUNT,80)/(AMOUNT/VOL/100)/100;
X_9:=(CLOSE-DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/X_7))/DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/X_7)*(9000/X_4);
X_10:=(CLOSE-DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/X_8))/DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/X_8)*(9000/X_4);
X_11:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1),3,1);
X_12:=IF(X_10>0,X_10-100,(-100));
X_13:=IF(X_10<0,X_10+100,100);
X_14:=IF(X_9>0,X_9-100,(-100));
X_15:=IF(X_9<0,X_9+100,100);
X_16:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),3);
X_17:=EMA(100-3*SMA((LLV(LOW,75)-CLOSE)/(HHV(HIGH,75)-LLV(LOW,75))*100,18,1)+2*SMA(SMA((LLV(LOW,75)-CLOSE)/(HHV(HIGH,75)-LLV(LOW,75))*100,18,1),15,1)-100,3);
X_18:=100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(CLOSE,55));
X_19:=(EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*61800;
X_20:=(X_16+X_17-X_18+50)/135;
必卖:IF(X_20>0.8,X_20,DRAWNULL),NODRAW,COLORRED;
必买:IF(X_20<(-0.8),-X_20,DRAWNULL),NODRAW,COLORGREEN;
危险:IF(0<=X_20 AND X_20<=0.8,X_20,DRAWNULL),NODRAW,COLORYELLOW;
机遇:IF(X_20>(-0.8) AND X_20<0,-X_20,DRAWNULL),NODRAW,COLORBLUE;
卖:IF(CLOSE>COST(86),COST(95),DRAWNULL),NODRAW,COLORLIRED;
买:IF(CLOSE
趋势:(X_17*2-100)/1.2,COLORWHITE;
X_21:=((CLOSE/(SUM(VOL*CLOSE,FROMOPEN)/SUM(VOL,FROMOPEN))-1)*61.799999+(CLOSE/(SUM(VOL*CLOSE,0)/SUM(VOL,0))-1)*38.200001)*((CLOSE/X_1-1)*68.199997+(CLOSE/EMA(CLOSE,480)-1)*38.200001);
IF(X_21>0.618 AND CLOSE>X_1,SQRT(X_21)*19.1-100,(-100)),COLORCYAN,LINETHICK2;
IF(X_21>0.618 AND CLOSE
X_23:=LOG(SMA(SUM(DYNAINFO(37),FROMOPEN)*2400000/X_22,3,1))-1;
X_24:=IF(X_23>REF(X_23,1),1,IF(X_23=REF(X_23,1),2,3));
X_25:=IF(X_23>3.6,4,IF(X_23>2.7,5,IF(X_23>1.8,6,IF(X_23>0.9,7,8))));
X_26:=IF(X_2>10,4,IF(X_2>5,5,IF(X_2>1.5,6,IF(DYNAINFO(17)>0.8,7,8))));
X_27:=IF(DYNAINFO(17)-REF(DYNAINFO(17),1)>REF(DYNAINFO(17)-REF(DYNAINFO(17),1),1),1,IF(DYNAINFO(17)-REF(DYNAINFO(17),1)=REF(DYNAINFO(17)-REF(DYNAINFO(17),1),1),2,3));{九毛八公式指标www.9m8.cn}
X_28:=IF(COUNT(CLOSE>0,FROMOPEN)>119,30,1);
DRAWTEXT(CURRBARSCOUNT=X_28,90,STRCAT(9,STRCAT(X_26,X_27))),COLORRED;
DRAWTEXT(CURRBARSCOUNT=X_28,(-90),STRCAT(10,STRCAT(X_25,X_24))),COLORGREEN;