X1:=(HIGH+LOW+CLOSE*2)/4;
X2:=EMA(X1,10);
X3:=STD(X1,10);
X4:=(X1-X2)*100/X3;
X5:=EMA(X4,5);
价比:EMA(X5,10)+100/2-5,COLORRED,LINETHICK2;
量比:EMA(价比,4),COLORCYAN,LINETHICK2;
介入1:IF(crOSS(价比,量比)AND 价比 80 AND 价比 0,20,-70),COLORWHITE,LINETHICK2;
介入2:IF(CROSS(价比,量比)AND 价比 -50 ,20,-80),COLORMAGENTA,LINETHICK2;
卖1:IF(价比 150,110,150),COLORLIGRAY,LINETHICK2;
卖2:IF(价比 170,130,180),COLORGRAY,LINETHICK2;
X6:=SMA(Abs(LOW-REF(LOW,1)),3,1)/SMA(MAX(LOW-REF(LOW,1),0),3,1)*100;
X7:=EMA(IF(CLOSE*1.2,X6*10,X6/10),3);
X8:=IF(LLV(LOW,90),1,0);
主力吸货:=EMA(IF(LOW =LLV(LOW,38),(X7+HHV(X7,38)*2)/2,0),3)/618*X8,COLORMAGENTA,NODRAW;
X9:=IF(主力吸货 180,主力吸货,180);
STICKLINE(主力吸货,0,X9,3,0),COLORRED;
X10:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:=EMA(X10,3),COLORYELLOW,NODRAW;
X11:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
介入3:STICKLINE(趋势线 =13 AND X11 13,0,50,1,0),COLORYELLOW;
BB:=(趋势线 =13 AND X11 13)AND FILTER((趋势线 =13 AND X11 13),10) ;
DRAWTEXT(BB,60,'介入3'),COLORYELLOW;
IF(CROSS(价比,量比)AND 价比 3,20,0),COLORBROWN,CIRCLEDOT;