VAR1:=BARSLAST(Abs(REF(C,1)*1.1-C)<=0.01);
VAR2:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0);
VAR3:=C>MA(C,5) AND O<MA(C,5);
VAR4:=C>MA(C,10) AND O<MA(C,10);
VAR5:=C>MA(C,30) AND O<MA(C,30);
VAR6:=(3*C+L+O+H)/6;
VAR7:=20*VAR6+19*REF(VAR6,1)+18*REF(VAR6,2)+17*REF(VAR6,3);
VAR8:=16*REF(VAR6,4)+15*REF(VAR6,5)+14*REF(VAR6,6)+13*REF(VAR6,7);
VAR9:=12*REF(VAR6,8)+11*REF(VAR6,9)+10*REF(VAR6,10);
VAR10:=9*REF(VAR6,11)+8*REF(VAR6,12)+7*REF(VAR6,13)+6*REF(VAR6,14);
VAR11:=5*REF(VAR6,15)+4*REF(VAR6,16)+3*REF(VAR6,17)+2*REF(VAR6,18);
VAR20:=(VAR7+VAR8+VAR9+VAR10+VAR11+REF(VAR6,20))/210;
VAR21:=(crOSS(C,(1+11/100)*MA(C,5)) AND H=C);
IF(VAR1<=10,REF((H+L)/2,VAR1),DRAWNULL),LINETHICK2,NODRAW;
STICKLINE(VAR2,O,C,3,1),COLORYELLOW;
STICKLINE(VAR2,H,C,0,0),COLORYELLOW;
STICKLINE(VAR2,O,L,0,0),COLORYELLOW;
STICKLINE(VAR2,O,C,1,0),COLORYELLOW;
STICKLINE(VAR2,H,C,0,0),COLORYELLOW;
STICKLINE(VAR2,O,L,0,0),COLORYELLOW;
STICKLINE(C/REF(C,1)<=0.95,O,C,3,0),COLORGREEN;
STICKLINE(C/REF(C,1)<=0.95,O,L,0,0),COLORGREEN;
STICKLINE(C/REF(C,1)<=0.95,H,C,0,0),COLORGREEN;
获利%:WINNER(C)*100,NODRAW,COLORWHITE;
DRAWTEXT(VAR3 AND VAR5 AND VAR4,L*0.992,'←神龙'),COLORYELLOW;
主力成本:EMA(VAR20,13),COLORFF00FF,NODRAW;
MA13:EMA(C,13),LINETHICK2,COLORRED;
空:IF(C<MA13,MA13,DRAWNULL),COLORGREEN,LINETHICK2;
DRAWTEXT(VAR21,L*0.992,'←起涨'),COLORYELLOW;