VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
K:=EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,6),COLORRED;
D:=EMA(0.667*REF(K,1)+0.333*K,2),COLORGREEN;
红箭头:LONGcrOSS(K,D,0.1);
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
K:=EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,6),COLORRED;
D:=EMA(0.667*REF(K,1)+0.333*K,2),COLORGREEN;
红箭头:LONGcrOSS(K,D,0.1);