主力线:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORRED,LINETHICK2;
将爆线: 65,COLOR00FF00;
强爆线:80,COLORRED,LINETHICK2;
警爆线: 40,COLORYELLOW;
抄底线:20,COLORWHITE,LINETHICK2;
引爆线:5,COLOR00FF00;
DRAWTEXT(CROSS(主力线,抄底线),主力线,'抄底') ,COLORRED;
DRAWTEXT(CROSS(主力线,强爆线),主力线,'强爆') ,COLORRED;
DRAWTEXT(CROSS(主力线,警爆线),主力线,'加仓') ,COLORRED;
DRAWTEXT(CROSS(主力线,将爆线),主力线,'拉升') ,COLORRED;
DRAWTEXT(CROSS(强爆线,主力线),强爆线,'空仓') ,COLORWHITE;
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
超卖:CROSS(J,REF(J+0.01,1)) AND X AND J< 19;
STICKLINE(超卖,0,15,5,0),COLORYELLOW;
CSS:=((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100);
GUH:=CROSS(20,EMA(CSS,3));
超跌:REF(GUH,1);
STICKLINE(超跌,0,10,7,0),COLOR00FF00;
GUA:=REF(CLOSE,1);
GUBB:=SMA(MAX(CLOSE-GUA,0),5,1)/SMA(ABS(CLOSE-GUA),5,1)*1000;
GUHH:=GUBB-LLV(GUBB,10);
SS:=(MA(GUHH,2)*3+GUHH*13)/16;
短线买点:=IF(SS>13,MA(SS,2),SS)/6;
短线出击:IF(CROSS(短线买点,1) AND (短线买点< 30),20,0);
STICKLINE(短线出击,0,20,4,0), COLORRED;
三合一:超跌 AND 短线出击=20 AND 超卖;
STICKLINE(三合一,0,100,1,0),,COLORMAGENTA;
抄底线1:1.0,COLORWHITE,LINETHICK2;