飛狐股票公式之量?jì)r(jià)共振
J0:=(HIGH+LOW)/2;QJ:=WMA(J0,3);
J1:=IF(CLOSE>QJ,VOL,0);J2:=IF(CLOSE<QJ,VOL,0);
RV:=(qj-LLV(qj,144))/(HHV(qj,144)-LLV(qj,144))*100;
統計:SUM(J1-J2,5),LINETHICK0;
差:EMA(統計,7)-EMA(統計,340),COLORFFFFFF;趨勢:EMA(差,7),COLOR00FFFF;
結:2*(差-趨勢),COLORSTICK;
GZ:=cross(差,趨勢);
GG:=cross(趨勢,差);
KZ:=COUNT(rv<15,3)>=1 and cross(RV,3);
KD:=COUNT(rv>80,3)>=1 and cross(98.5,RV);
DRAWICON(KZ,差,4);DRAWICON(KD,趨勢,5);
DRAWICON(GZ,差,10);DRAWICON(GG,趨勢,11);
DRAWTEXT(GZ and KZ,差,'底共振'),PXDN60,COLORYELLOW;
DRAWTEXT(GG and KD,趨勢,'頂共振'),PXUP60,COLOR00FF00;
VERTLINE(GZ and KZ),COLORYELLOW,LINEDOT;
VERTLINE(GG and KD),COLOR00FF00,LINEDOT;
(南方財富網(wǎng)SOUTHMONEY.COM)