VAR4:=REF(HIGH+LOW,1)/2;
VAR5:=SUM(MAX(0,HIGH-VAR4),N)/SUM(MAX(0,VAR4-LOW),N)*100;
VAR6:=REF(MA(VAR5,M1),M1/2.5+1);
量:=ABS(VOL);
VAR7:=EMA(量,20);
VAR8:=EMA(VAR7,20);
VAR9:=(VAR7-VAR8);
VAR10:=VAR9;
VAR11:=EMA(VAR10,10);
VAR12:=EMA(EMA(CLOSE,13),13);
VAR13:=(VAR12-REF(VAR12,1))/REF(VAR12,1);
VAR14:=100*WINNER(CLOSE*0.95);
高控:=VAR14>50 AND COST(85)<CLOSE AND VAR13>0,COLORFF00FF;
VAR15:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
VAR16:=SUM(IF(CLOSE=REF(CLOSE,1),0,VAR15),0);
VAR17:=MA(VAR16,M);{www.ttchagu.com}
VAR18:= VAR16>VAR17 AND VAR2>100 AND VAR17>REF(VAR17,1);
VAR19:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
精准狙牛:拉升 AND VAR10>VAR11 AND (VAR5>VAR6 OR VAR5>90) AND 高控 AND VAR18 AND VAR19>=65 AND VAR19>REF(VAR19,1),NODRAW;
STICKLINE(精准狙牛,0.75,1.0,1,0),COLORFF00FF;
STICKLINE(精准狙牛,0.5,0.75,2,0),COLORRED;
STICKLINE(精准狙牛,0.25,0.5,4,0),COLORGREEN;
STICKLINE(精准狙牛,0,0.25,6,0),COLORBLUE;