VAR1:=LLV(LOW,5);
VAR2:=HHV(HIGH,5);
K:= EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,4),COLORRED,LINETHICK2;
D:= EMA(0.667*REF(K,1)+0.333*K,2),COLORWHITE,LINETHICK1;
AA:=K>=D;
BB:=D>K;
红箭头:crOSS(AA,BB);
VAR1:=LLV(LOW,5);
VAR2:=HHV(HIGH,5);
K:= EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,4),COLORRED,LINETHICK2;
D:= EMA(0.667*REF(K,1)+0.333*K,2),COLORWHITE,LINETHICK1;
AA:=K>=D;
BB:=D>K;
红箭头:crOSS(AA,BB);