//简单操作 input:n1(8),n2(6),n3(13); RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100; K:=SMA(RSV,N2,1); D:=SMA(K,N3,1); PARTLINE(SLOPE(K,2)>=0.005,K),colormagenta,linethick2; PARTLINE(SLOPE(K,2)<0,K),COLORwhite,linethick2; PARTLINE(SLOPE(d,2)>=0.005,d),colorred,linethick1; PARTLINE(SLOPE(d,2)<0,d),COLORgreen,linethick2; 80; 选股:K>REF(K,1)AND REF(K,1)用法:N1,=8, 8 ,156 N2=6, 3, 26,N3=2,2,13 变紫买入,变白卖出,红线持股,绿线持币 说明:来源于网络,本人略作改良 |