MA13:=MA(C,13),COLORLIRED;
M25:=MA(CLOSE,25),COLORGREEN;
倍量:=(V/REF(V,1)>=1.90 AND COUNT(C>O,1)) OR (L>REF(H,1) AND COUNT(O>C,1) AND V/REF(V,1)>=1.90);
STICKLINE(倍量,OPEN,(C+O)/2,0.5,0),COLORYELLOW;
ZT:=C>REF(C,1)*1.09 AND C=H;
STICKLINE(ZT,H,L,0,2),COLORYELLOW;
STICKLINE(ZT,O,C,3,1),LINETHICK2,COLORYELLOW;
年线1:=EMA(C,83);
主力1:=EMA(C,3)/1.01;
压力1:=MA(LLV(C,3)*1.1,8);
支撑1:=MA(HHV(C,8)*0.9,8);
多空线:=(压力1+支撑1)/2;
散户:=(压力1+支撑1)/2;
趋势线:=SMA(LLV(C,3)*1.1,22,1);
牛熊线:SMA(年线1-(主力1-年线1)*0.5,5,1),LINETHICK2,COLORCYAN;
FL:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
FS:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
撑压线:IF(MA(CLOSE,17)< FS,FS,MA(CLOSE,17)),COLORYELLOW,LINETHICK2;
年线:=EMA(C,200);
DIFF:=EMA((年线-(EMA(C,3)-年线)),5);
ZD:=EMA(COST(81),10);
MV5:=MA(V,0);
MV13:=MA(V,13);
MV25:=MA(V,0);
NLG:=MV5>=MV13 AND CROSS(MV13,MV25) AND MV5>MV25;
DRAWICON(NLG AND C>MA(C,5),IF(C>M25,M25*0.98,MA(C,13)*0.98),11);
DRAWICON(CROSS(撑压线,牛熊线),牛熊线*0.975.1,1);
IF(撑压线>牛熊线 AND C>撑压线 AND C>牛熊线,撑压线,DRAWNULL),COLORRED,LINETHICK2;
IF(牛熊线< 撑压线 AND C>撑压线 AND C>牛熊线,牛熊线,DRAWNULL),COLORRED,LINETHICK2;
HHJSJDA:=(2.97*CLOSE+OPEN+LOW+HIGH)/6;
HHJSJDB:=(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6) +13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12) +7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+ REF(HHJSJDA,20))/210,COLORWHITE;
HHJSJDC:=MA(HHJSJDB,5),COLORMAGENTA;
A:=(3*C+L+O+H)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+ 14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12) +7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+ REF(A,20))/210;
S2:=SMA(C,3,1);
S6:=SMA(C,5,1);
DK1:=2*(S2-S6);
主力成本:=EMA(X,13),LINETHICK1,COLORGREEN;
短期支撑:=LLV(HIGH,30),LINETHICK2,COLORFFCC00;