P1:=3;
P2:=5;
DRAWGBKLAST(C>0,STRIP(RGB(10,60,0),RGB(50,10,0),0));
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,3)-LLV(LOW,3))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
短买:REF(J,1)<0 AND J>0;
可信底部系列:STICKLINE(d
系统指标:STICKLINE(d>REF(d,1),81,80,6,1),colorred;
Var1:=LLV(LOW,P1);
Var2:=HHV(HIGH,P1);
快线: EMA((CLOSE-Var1)/(Var2-Var1)*100,P2),colorff9900;
慢线: EMA(0.667*REF(快线,1)+0.333*快线,2);
转折点:IF(crOSS(快线,慢线) AND 慢线<40 AND REF(J,1)<0 AND J>0,100,0),linethick1,colorf00ff0;
DRAWICON(CROSS(快线,慢线) AND 快线<30,98,1),ALIGN1;
FILLRGN(快线,慢线,快线<慢线,RGB(0,250,0));
FILLRGN(快线,慢线,快线>慢线,250);