VAR1:=COST(0.99);
VAR2:=COST(99.900002);
VAR3:=(CLOSE-VAR1)/(VAR2-VAR1)*100;
K:SMA(VAR3,3,1),COLORWHITE;
D:SMA(K,3,1),COLORYELLOW;
J:3*K-2*D,COLORMAGENTA;
DRAWICON(CROSS(J,K) AND J<80,J,1);
0,COLORLIBLUE;
20,COLORBLUE;
50,COLORBLUE;
100,COLORLICYAN;
85,DOTLINE;
VAR4:=MA(CLOSE,3);
VAR5:=MA(CLOSE,13);
VAR6:=MA(CLOSE,34);
STICKLINE(VAR4>=VAR5 AND VAR6>=REF(VAR6,1),98,101,2,0),COLORRED;
STICKLINE(VAR4<VAR5 AND VAR6>=REF(VAR6,1),98,101,2,0),COLORYELLOW;
STICKLINE(VAR4<VAR5 AND VAR6<REF(VAR6,1),98,101,2,0),COLORGREEN;
STICKLINE(VAR4>=VAR5 AND VAR6<REF(VAR6,1),98,101,2,0),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,97,39),COLORGRAY;
VAR7:=(CLOSE+HIGH+LOW)/3;
VAR8:=EMA(VAR7,5);
VAR9:=REF(VAR8,1);
IF(VAR8>VAR9,0,DRAWNULL),COLORYELLOW,LINETHICK2;
DRAWTEXT(ISLASTBAR,2,40),COLORGRAY;
VAR10:=(HHV(CLOSE,28)-LLV(CLOSE,28))/SUM(ABS(CLOSE-REF(CLOSE,1)),28);
VAR11:=MA(VAR10,10);
VAR12:=VAR11>REF(VAR11,1);
VAR13:=VAR11<REF(VAR11,1);
VAR14:=VAR10>0.3;
IF(VAR12,85,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(VAR13,85,DRAWNULL),COLORGRAY,LINETHICK2;
IF(VAR14,85,DRAWNULL),COLORRED,LINETHICK2;
DRAWTEXT(ISLASTBAR,85,41),COLORGRAY;
VAR15:=CLOSE-REF(CLOSE,24);
VAR16:=MA(VAR15,24);
VAR17:=VAR15>0 AND VAR15>VAR16;
IF(VAR17,50,DRAWNULL),COLORRED,LINETHICK2;
IF(VAR17<1,50,DRAWNULL),COLORBLUE,LINETHICK2;
DRAWTEXT(ISLASTBAR,51,42),COLORGRAY;
VAR18:=VAR17 AND CROSS(VAR15,VAR16);
DRAWTEXT(CROSS(VAR15,VAR16),53,43),COLORYELLOW;
VAR19:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
VAR20:=SUM(IF(CLOSE=REF(CLOSE,1),0,VAR19),0);
VAR21:=MA(VAR20,30);{股票指标网}
IF(VAR20>VAR21,20,DRAWNULL),COLORRED,LINETHICK2;
IF(VAR20<=VAR21,20,DRAWNULL),COLORBLUE,LINETHICK2;
DRAWTEXT(ISLASTBAR,21,44),COLORGRAY;
VAR22:=EMA(CLOSE,5);
VAR23:=VAR22-EMA(VAR22,2);
VAR24:=BARSLAST(CROSS(VAR23,0))+1;
VAR25:=VAR24+REF(VAR24,VAR24);
双底:IF(VAR24=1 AND VAR22>REF(VAR22,VAR25) AND COUNT(VAR23<0,4)>=2,1,0)*50,STICK;
DRAWTEXT_FIX(CLOSE>OPEN,0.01,0.9,0,155),COLOR99EEEE;