VAR1:=1;
VAR4:=(LOW+HIGH+CLOSE)/3*VAR1;
操作:MA(VAR4,5),LINETHICK2,COLORFFFFFF;
拉升:HHV(操作,13),LINETHICK2,COLOR0000FF;
压力:HHV(操作,60),LINETHICK2,COLOR8916FF;
买卖:=LLV(操作,13);
底部支撑:=LLV(LOW,60)*1.02;
顶部:=HHV(HIGH,60)*0.98*VAR1;
现价:=MA(CLOSE,1);
STICKLINE(操作 REF(操作,1),操作,操作+0.05,5,0),LINETHICK4,COLOR0000FF;
STICKLINE(拉升 REF(拉升,1),拉升,拉升+0.018,5,0),LINETHICK2,COLOR00FFFF;
VAR100:=1/WINNER(CLOSE);
VAR200:=MA(CLOSE,13);
VAR300:=100-ABS((CLOSE-VAR200)/VAR200*100);
VAR400:=LLV(LOW,75);
VAR500:=HHV(HIGH,75);
VAR600:=(VAR500-VAR400)/100;
VAR700:=SMA((CLOSE-VAR400)/VAR600,20,1);
VAR800:=SMA((OPEN-VAR400)/VAR600,20,1);
VAR900:=3*VAR700-2*SMA(VAR700,15,1);
VARA:=3*VAR800-2*SMA(VAR800,15,1);
VARB:=100-VARA;
VARC:=IF(900101 DATE AND DATE 99991232,1,0);
AA:=CLOSE/REF(CLOSE,1) =1.099;
AB:=VOL/REF(VOL,1);
关注:=IF(CLOSE/REF(CLOSE,1) =1.07 AND AB 1,1,0);
第一买点:IF(AA AND AB 1,1,0),NODRAW;
DRAWTEXT(第一买点=1,REF(LOW,1)*1.1,' 龙头战法D1买点'),COLOR00FFFF;
买线:=EMA(CLOSE,2)*VAR1;
卖线:=(EMA(SLOPE(CLOSE,21)*20+CLOSE,42))*VAR1;
STICKLINE(买线 =卖线,CLOSE,OPEN,2.8,0),COLOR0000AA;
STICKLINE(买线 =卖线,CLOSE,OPEN,2.4,0),COLOR0000BB;
STICKLINE(买线 =卖线,CLOSE,OPEN,2.0,0),COLOR0000CC;
STICKLINE(买线 =卖线,CLOSE,OPEN,1.6,0),COLOR0000DD;
STICKLINE(买线 =卖线,CLOSE,OPEN,1.2,0),COLOR0000EE;
STICKLINE(买线 =卖线,LOW,HIGH,0,0),COLOR0000FF;
STICKLINE(买线 卖线,CLOSE,OPEN,2.8,0),COLORAAAA00;
STICKLINE(买线 卖线,CLOSE,OPEN,2.4,0),COLORBBBB00;
STICKLINE(买线 卖线,CLOSE,OPEN,2.0,0),COLORCCCC00;
STICKLINE(买线 卖线,CLOSE,OPEN,1.6,0),COLORDDDD00;
STICKLINE(买线 卖线,CLOSE,OPEN,1.2,0),COLOREEEE00;
STICKLINE(买线 卖线,LOW,HIGH,0,0),COLORFFFF00;