VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
K:=EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,6);
D:=EMA(0.667*REF(K,1)+0.333*K,2);
XG:LONGCROSS(K,D,0.1);
已测试,希望能够帮助您.顺祝马年投资顺利!
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
K:=EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,6);
D:=EMA(0.667*REF(K,1)+0.333*K,2);
XG:LONGCROSS(K,D,0.1);
已测试,希望能够帮助您.顺祝马年投资顺利!