K值共振副图
DRAWGBK(O>C,RGB(10,10,10),RGB(0,50,40),0,'01',0);
RSV1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
个股K值:SMA(RSV1,3,1),COLOR1000FF,LINETHICK2;
RSV2:=(HY_INDEXC-LLV(HY_INDEXL,9))/(HHV(HY_INDEXH,9)-LLV(HY_INDEXL,9))*100;
板块K值:SMA(RSV2,3,1),COLOR00FF00;
RSV3:=(INDEXC-LLV(INDEXL,9))/(HHV(INDEXH,9)-LLV(INDEXL,9))*100;
大盘K值:SMA(RSV3,3,1),COLOR00FFFF,LINETHICK2;
顶警:80,POINTDOT,COLOR00FFFF;
底警:20,POINTDOT,COLOR00FFFF;
中线:50,DOTLINE,COLOR00FFFF;
选股公式
RSV1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
RSV2:=(HY_INDEXC-LLV(HY_INDEXL,9))/(HHV(HY_INDEXH,9)-LLV(HY_INDEXL,9))*100;
RSV3:=(INDEXC-LLV(INDEXL,9))/(HHV(INDEXH,9)-LLV(INDEXL,9))*100;
DRAWICON(CROSS((SMA(RSV1,3,1)),(SMA(RSV3,3,1))),1,1);
|