猎枪:SMA(SMA((C-LLV(L,80))/(HHV(H,80)-LLV(L,80))*100,10,1),10,1),LINETHICK2;
收兵:SMA(猎枪,10,1),LINETHICK2,COLOR808000;
W1:=SMA((HHV(H,80)-C)/(HHV(H,80)-LLV(L,80))*100,10,1);
瞄准:SMA(W1,10,1),POINTDOT,COLOR00DD00,LINETHICK2;
天空:STICKLINE(C,85,85,5,1);
大地:STICKLINE(C,9,9,5,1);
W2:=(crOSS(收兵,猎枪) AND 收兵>20);
W3:=(CROSS(猎枪,收兵) AND 收兵<20);
DRAWTEXT(CROSS(收兵,猎枪) AND 收兵>20,58,'杀'),COLORFF00FF;
DRAWTEXT(CROSS(收兵,猎枪) AND 收兵<50 AND 收兵>20,猎枪,' 留意!'),COLORFF00FF;
IF(W2,60,85),COLOR00DD00;
IF(W3,40,9),COLORFF00FF;
DRAWTEXT(CROSS(猎枪,收兵) AND 收兵<20,48,'猎'),COLORFF00FF;
{- }
DRAWTEXT(CROSS(瞄准,80),82,'●'),COLORRED;
DRAWTEXT(CROSS(瞄准,80),76,'瞄准'),COLORRED;
DRAWTEXT(CROSS(瞄准,85),84,'●'),COLORWHITE;
DRAWTEXT(CROSS(瞄准,85),78,'猎物出现'),COLORWHITE;
VAR1:=4*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),3,1);
VAR2:=8;
底部出击: IF(CROSS(VAR1,VAR2),50,9),COLORRED;
A1:=CROSS(猎枪,85) AND 猎枪>=85;
再来一枪:IF(A1,60,85),COLORYELLOW;