N:=1;
空间:(100*C/HHV(REF(C,100),0)),DRAWNULL;
M:=10;
N:=13;
A11:=REF(空间,N)=HHV(空间,2*N+1);
B1:=FILTER(A11,N);
C1:=BACKSET(B1,N+1);
D1:=FILTER(C1,N);
T线:REF(空间,BARSLAST(D1)),POINTDOT,LINETHICK1;
STICKLINE(C>0,T线,T线,6,0),colormagenta,POINTDOT,LINETHICK3;
DRAWICON(CROSS(空间,T线),T线*0.97+2,1),colorred;
DRAWTEXT(CROSS(空间,T线),T线*0.97+2,'上涨起爆★'),colormagenta;
T线红箭:CROSS(空间,T线),DRAWNULL;
D2:=FILTER(C1,M);
T2线:REF(空间,BARSLAST(D2)),POINTDOT,LINETHICK1,NODRAW;
STICKLINE(C>0,T2线,T2线,6,0),colorred,POINTDOT,LINETHICK3;
T2线红箭:CROSS(空间,T2线),DRAWNULL;
DRAWICON(CROSS(空间,T2线),T2线*0.97+1,1),colorred;
DRAWTEXT(CROSS(空间,T2线),T2线*0.95+0.5,'上涨★'),colormagenta;
PARTLINE(空间,空间>REF(空间,4),RGB(255,0,255),空间<REF(空间,4),RGB(255,255,255)),LINETHICK4;
FILLRGN(T2线,空间,T2线<空间,RGB(255,0,0)),LAYER7;
PARTLINE((100*C/HHV(REF(C,100),0)),(100*C/HHV(REF(C,100),0))>REF((100*C/HHV(REF(C,100),0)),3),RGB(243,0,254),(100*C/HHV(REF(C,100),0))<REF((100*C/HHV(REF(C,100),0)),3),RGB(0,255,0)),LINETHICK4;