实际量:=vol/10000,NODRAW;
量:=V/CONST(HHV(V,90))*100,LINETHICK0,VOLSTICK;
{庄家出现}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K1:=SMA(RSV,3,1);
D1:=SMA(K1,3,1);
J1:=3*K1-2*D1;
J2:=REVERSE(J1);
AA:=REF(MA(C,1),10)>REF(MA(C,60),10);
买点:crOSS(J1,J2) AND AA;
STICKLINE(买点,0,3,2,0),COLOR0000FF;
STICKLINE(买点,3,5,1,0),COLORWHITE;
STICKLINE(买点,5,8,0,0),COLORYELLOW;
DRAWTEXT(买点,6,''),COLORYELLOW;
趋势:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-
2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
见底:=10;
短期底部:CROSS(趋势,见底)*20;
买入时间: IF(CROSS(趋势,2),20,0),COLORCYAN;
{变异kdj}
RSV1:=(CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100;
Q1:=SMA(RSV1,12,1),COLORRED;
K:=SMA(Q1,12,1);
弱线:SMA(Q1,3,1),COLORWHITE;
快线:5*Q1-4*弱线,COLORGREEN;
强线:MA(快线,15),COLORRED;
慢线:SMA(K,5,1),COLORMAGENTA;