VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=LLV(LOW,34);
VAR3:=HHV(HIGH,34);
近:EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13);
远:EMA(0.667*REF(近,1)+0.333*近,2) , ;
狙击:IFF(CROSS(近,20) AND 远 近,100,0),NODRAW;
STICKLINE(CROSS(近,20) AND 远 近,近+19,近-10,4,0),colorred;
STICKLINE(远 近,近,远,4,0),colorred;
选股:IF(CROSS(近,远) AND 近 20 ,30,0),coloryellow;
逃顶:IF(FILTER(CROSS(远,近) AND 近 80 ,3),60,90),colorgreen;