九毛八公式指标
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2; K:SMA(RSV,M1,1),LINETHICK1; D:SMA(K,M2,1),LINETHICK1; J:3*K-2*D,COLORFF00FF,LINETHICK1; FILLRGN(j,0,j<0,RGB(255,255,0)); FILLRGN(j,90,j>90,RGB(255,0,0)); DRAWICON(CROSS(J,1),J,'buy'); DRAWICON(K>90 AND D>80 AND CROSS(D,K),D,'sell'); n=9 m1=3 m2=3 很直观,最好效果相同,先谢过。
公式模块:
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK2;
K:SMA(RSV,3,1),LINETHICK1; D:SMA(K,3,1),LINETHICK1; J:3*K-2*D,COLORFF00FF,LINETHICK1; NN:=IF(J>90,J,DRAWNULL); OK:=IF(J<0,J,DRAWNULL); DRAWBAND(OK,RGB(250,250,0),J,RGB(0,0,0)); DRAWBAND(NN,RGB(250,0,0),J,RGB(0,0,0)); DRAWICON(crOSS(J,1),J,1); DRAWICON(D>80 AND CROSS(D,K),D,2);