N:=9;
M1:=3;
出击线:(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2,COLORRED;
阵地防御:SMA(出击线,M1,1),COLORWHITE;
mtm:=C-REF(C,1);
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(Abs(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
低位抢筹:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2,0 ),COLOR000055;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.6,0 ),COLOR000077;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.5.1,0 ),COLOR000099;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.0,0 ),COLOR0000BB;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.6,0 ),COLOR0000DD;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.3,0 ),COLOR0000FF;
震仓柱:IF(VAR5
STICKLINE(VAR5
STICKLINE(VAR5
STICKLINE(VAR5
STICKLINE(VAR5
STICKLINE(VAR5
STICKLINE(VAR5
V1:=LLV(LOW,10);
V2:=HHV(H,25);
价位线:=EMA((C-V1)/(V2-V1)*4,4);
DRAWTEXT(crOSS(价位线,0.3),30+6,'★买'),COLORYELLOW;