K:=KDJ.K(18,3,3);
D:=KDJ.D(18,3,3);
J:=KDJ.J(18,3,3);
T1:=BARSLAST(CROSS(K,D));
赢损线:REF(C,T1),DOTLINE,COLORYELLOW,;
A1:=REF(HIGH,3)=HHV(HIGH,2*3+1);
B1:=FILTER(A1,3);
C1:=BACKSET(B1,3+1);
D1:=FILTER(C1,3);{高点}
A2:=REF(LOW,3)=LLV(LOW,2*3+1);
B2:=FILTER(A2,3);
C2:=BACKSET(B2,3+1);
D2:=FILTER(C2,3);{低点}
E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;