N:=(2,120,14);
N1:=(2,360,36);
G:=(1,60,15);
P:=(HIGH+LOW+CLOSE)/3;
CCI1:=(P-MA(P,N))*1000/(G*AVEDEV(P,N));
CCI2:=(P-MA(P,N1))*1000/(G*AVEDEV(P,N1));
AA:=IF(CROSS(CCI1,CCI2) AND REF(CCI1,1)=LLV(CCI1,70),1,0);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
KD:=CROSS(K,D);
白武士抄底:AA AND KD;