量?jī)r(jià)上下指標(biāo)公式(副圖+源碼) {量?jī)r(jià)背離時(shí),價(jià)在高位低位要注意} 、 只有一個(gè)所謂的未來函數(shù)CAPITAL流通盤函數(shù),這個(gè)對(duì)指標(biāo)的使用不會(huì)有影響; ww1:=SMA(((C-LLV(c,10))/(HHV(c,10)-LLV(c,10))),3,1); ww2:=SMA(((ww1-LLV(ww1,3))/(HHV(ww1,3)-LLV(ww1,3))),3,1)*100; zz:=SMA(((v-LLV(v,10))/(HHV(v,10)-LLV(v,10))),3,1); zz1:=SMA(((zz-LLV(zz,3))/(HHV(zz,3)-LLV(zz,3))),3,1)*100; 價(jià)快:eMA(ww2,1),colorred,LINETHICK2; 價(jià)慢:eMA(價(jià)快,2),color33CC99,LINETHICK2; 量快:=eMA(zz1,1); 量:eMA(量快,2),COLORWHITE(www.eFuCoo.com),LINETHICK2; 下背離:=IF(價(jià)快<=價(jià)慢 AND 量快<量,1,0); 上背離:=IF(價(jià)快>=價(jià)慢 AND 量快>量 ,1,0); 量?jī)r(jià)向下:VERTLINE( 下背離,1),COLORGREEN; 量?jī)r(jià)向上:VERTLINE( 上背離,1),COLORRED; {量?jī)r(jià)共振【副圖】} 上除權(quán):=SPLITBARS(1); 本除權(quán):=BARSLAST(IF(SPLITBARS(0)=1,SPLITBARS(0)+1,0))+1; 比例:SPLIT(1),LINETHICK0; 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; 統(tǒng)計(jì):=SUM(J1-J2,5); 差:EMA(統(tǒng)計(jì),10)-EMA(統(tǒng)計(jì),34),COLORFFFFFF; 趨勢(shì):EMA(差,5),COLOR00FFFF; 結(jié):2*(差-趨勢(shì)),COLORSTICK; GZ:=cross(差,趨勢(shì)); GG:=cross(趨勢(shì),差); KZ:=cross(RV,5); 復(fù)權(quán)價(jià):=C*(1+比例); KD:=if(CAPITAL<1,cross(90,RV),cross(99,RV)); DRAWICON(KZ,差,10),ALIGN1,VALIGN0;{向上小紅旗} DRAWICON(GZ,差,12),ALIGN1,VALIGN1;{笑臉【原來為12】} DRAWICON(KD,趨勢(shì),8),ALIGN1,VALIGN1;{向下綠箭頭} DRAWICON(GG,趨勢(shì),2),ALIGN1,VALIGN1;{哭臉【原來為13】} DRAWTEXT(GZ and KZ,差,'底共振'),COLORYELLOW,LINETHICK4; DRAWTEXT(GG and KD,趨勢(shì),'頂共振'),COLORCYAN,LINETHICK4; VERTLINE(GZ and KZ,1),COLORYELLOW; VERTLINE(GG and KD,1),COLOR00FF00; DRAWTEXTREL(10,0,'上次除權(quán)距今:'+NUMTOSTRN(上除權(quán),0)+' 天'),COLOREE8899; DRAWTEXTREL(10,150,'本次除權(quán)距今:'+NUMTOSTRN(本除權(quán),0)+' 天'),COLOREE8899; DRAWTEXTREL(710,0,'當(dāng)前復(fù)權(quán)價(jià)格:'+NUMTOSTRN(復(fù)權(quán)價(jià),2)+' 元'),COLOREE8899; {本軟件由:益富指標(biāo)公式網(wǎng) http://www./ 整理} |
|