{狙击涨停
心理趋势线、追涨停板}
RR8:=MA(CLOSE,27);
RR9:=(CLOSE-RR8)/RR8*100;
RRA:=MA(RR9,2);
RRB:=BARSLAST(CROSS(-10,RRA)=1);
RRD:=RRA<-10 AND RRB>3;
STICKLINE(IF(RRD,-120,0),-120,0,8,0),COLORLIBLUE;
【黄金坑】:IF(RRD,-120,0),COLORYELLOW,LINETHICK1;
TYP := (HIGH + LOW + CLOSE)/3;
猎击:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK2;
底:=LLV(猎击,30);
平衡:底+0.01,COLORGRAY;
N:=5;
VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
VAR2:=8,COLORGREEN,LINETHICK0;
吸筹: IF(VAR1<=8,50,0),STICK,COLORWHITE,LINETHICK3;
即升: IF(CROSS(VAR1,VAR2),80,0),STICK,COLOR0000CC,LINETHICK5;
DRAWTEXT(CROSS(VAR1,VAR2),80,''),COLOR00FFFF;
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
平台: IF((VARO7<10),80,100),COLORGRAY,LINETHICK1;
DRAWTEXT(即升=80,130,'即升');