1、籌碼分布中,最重要的地方就是籌碼峰了,籌碼密集的地方 就會(huì)形成籌碼峰,籌碼峰往往都會(huì)在底部或者頂部形成2、主圖中的籌碼峰橫線,標(biāo)示最長(zhǎng)籌碼峰,可以結(jié)合K線形態(tài),判斷底部或者頂部,買入后也籌碼峰橫線可以用做移動(dòng)止損線,更好的追蹤趨勢(shì)。 DA1:=IF(130>TOTALBARSCOUNT,TOTALBARSCOUNT,130);DA:=IF(CURRBARSCOUNT>DA1,0,DA1);HI:=REFDATE(HHV(H,DA),DATE);LO:=REFDATE(LLV(L,DA),DATE);C1:=IF(CURRBARSCOUNT<=DA,C,DRAWNULL);CTA1:=SUM(IF(C1>=(HI/GZ),V,0),DA);CTA2:=SUM(IF(C1>=(HI/POW(GZ,2)) AND C1<(HI/GZ),V,0),DA);CTA3:=SUM(IF(C1>=(HI/POW(GZ,3)) AND C1<(HI/POW(GZ,2)),V,0),DA);CTA4:=SUM(IF(C1>=(HI/POW(GZ,4)) AND C1<(HI/POW(GZ,3)),V,0),DA);CTA5:=SUM(IF(C1>=(HI/POW(GZ,5)) AND C1<(HI/POW(GZ,4)),V,0),DA);CTA6:=SUM(IF(C1>=(HI/POW(GZ,6)) AND C1<(HI/POW(GZ,5)),V,0),DA);CTA7:=SUM(IF(C1>=(HI/POW(GZ,7)) AND C1<(HI/POW(GZ,6)),V,0),DA);CTA8:=SUM(IF(C1>=(HI/POW(GZ,8)) AND C1<(HI/POW(GZ,7)),V,0),DA);CTA9:=SUM(IF(C1>=(LO*GZ) AND C1<LO*POW(GZ,2),V,0),DA);CTA10:=SUM(IF(C1>=LO AND C1<LO*GZ,V,0),DA);L1:=REFDATE(HHV(CTA1,DA),DATE);L2:=REFDATE(HHV(CTA2,DA),DATE);L3:=REFDATE(HHV(CTA3,DA),DATE);L4:=REFDATE(HHV(CTA4,DA),DATE);L5:=REFDATE(HHV(CTA5,DA),DATE);L6:=REFDATE(HHV(CTA6,DA),DATE);L7:=REFDATE(HHV(CTA7,DA),DATE);L8:=REFDATE(HHV(CTA8,DA),DATE);L9:=REFDATE(HHV(CTA9,DA),DATE);L10:=REFDATE(HHV(CTA10,DA),DATE);SS:=(L1+L2+L3+L4+L5+L6+L7+L8+L9+L10);DRAWTEXT_FIX(C>O,0.01,0.1,0,'微信公眾號(hào):歐歐量化'),COLORRED;ZT:C/REF(C,1)>1.094 AND H=C;STICKLINE(ZT,C,O,3.0,0),COLORYELLOW;獲利籌碼:CONST(WINNER(C)*100),NODRAW;JZ:BZ<20 AND CROSS(C,COST(90)) AND C/REF(C,1)>1.0618; GJ:=HHV(H,N1),COLORRED,POINTDOT;ZTS:BARSLAST(GJ<>REF(GJ,1))>=6,NODRAW;TJ1:=BARSLAST(GJ=REF(GJ,1));HX:H>IF(ZTS=1,REF(GJ,1),DRAWNULL),NODRAW;AA1:=REF(GJ,N1)=HHV(GJ,2*N1+1);DD1:=FILTER(CC1,N1),NODRAW;{高點(diǎn)}前期高點(diǎn):=REF(GJ,BARSLAST(DD1)),COLORFF00FF,DOTLINE;PT:STICKLINE(C>0,前期高點(diǎn),前期高點(diǎn),1,0),COLORRED;PL1:=(CROSS(C,REF(前期高點(diǎn),1))OR L<前期高點(diǎn) AND C>前期高點(diǎn)) AND C/REF(C,1)>=1.098 AND C=H,NODRAW;STICKLINE(PL1,(C+O)/2,C,3,0),COLORRED;S升:IF(A1>=REF(A1,1),A1,DRAWNULL),LINETHICK2 COLORYELLOW;S降:IF(A1<REF(A1,1),A1,DRAWNULL),LINETHICK2,COLORLICYAN;MR:CROSS(C,A1) AND ZT,NODRAW;MCST:=DMA(AMOUNT/(100*VOL),VOL/CAPITAL);股東占流通比:FINVALUE(244)/FINVALUE(239);{十大流通股東/流通}換手衰減系數(shù):1/(1-股東占流通比),NODRAW;HL:=(COST(97)-COST(3))/10;CTD1:=WINNER(COST(3)+HL*1)-WINNER(COST(3)+HL*0);CTD2:=WINNER(COST(3)+HL*2)-WINNER(COST(3)+HL*1);CTD3:=WINNER(COST(3)+HL*3)-WINNER(COST(3)+HL*2);CTD4:=WINNER(COST(3)+HL*4)-WINNER(COST(3)+HL*3);CTD5:=WINNER(COST(3)+HL*5)-WINNER(COST(3)+HL*4);CTD6:=WINNER(COST(3)+HL*6)-WINNER(COST(3)+HL*5);CTD7:=WINNER(COST(3)+HL*7)-WINNER(COST(3)+HL*6);CTD8:=WINNER(COST(3)+HL*8)-WINNER(COST(3)+HL*7);CTD9:=WINNER(COST(3)+HL*9)-WINNER(COST(3)+HL*8);CTD10:=WINNER(COST(3)+HL*10)-WINNER(COST(3)+HL*9);MXCTD:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(CTD1,CTD2),CTD3),CTD4),CTD5),CTD6),CTD7),CTD8),CTD9),CTD10);峰價(jià)上:=IF(CTD10>=MXCTD,COST(3)+HL*10,IF(CTD9>=MXCTD,COST(3)+HL*9,IF(CTD8>=MXCTD,COST(3)+HL*8,IF(CTD7>=MXCTD,COST(3)+HL*7,IF(CTD6>=MXCTD,COST(3)+HL*6,IF(CTD5>=MXCTD,COST(3)+HL*5,IF(CTD4>=MXCTD,COST(3)+HL*4,IF(CTD3>=MXCTD,COST(3)+HL*3,IF(CTD2>=MXCTD,COST(3)+HL*2,IF(CTD1>=MXCTD,COST(3)+HL*1,0)))))))))),COLORWHITE;峰價(jià)下:=峰價(jià)上-HL,COLORWHITE;峰價(jià)中:=峰價(jià)上-HL*0.5,COLORMAGENTA;CB:=COST(60)> REF(COST(60),1);XG:=REF(C,1)<峰價(jià)中 AND CROSS(C,峰價(jià)中) AND CB;CTC_77:=MIN(CTC_57,MIN(CTC_58,MIN(CTC_59,MIN(CTC_60,MIN(CTC_61,MIN(CTC_62,MIN(CTC_63,MIN(CTC_64,MIN(CTC_65,MIN(CTC_66,MIN(CTC_67,MIN(CTC_68,MIN(CTC_69,MIN(CTC_70,MIN(CTC_71,MIN(CTC_72,MIN(CTC_73,MIN(CTC_74,MIN(CTC_75,CTC_76)))))))))))))))))));CTC_78:=IF(CTC_57=CTC_77,(CTC_47+CTC_36)/2,IF(CTC_58=CTC_77,(CTC_47+CTC_37)/2,IF(CTC_59=CTC_77,(CTC_48+CTC_37)/2,IF(CTC_60=CTC_77,(CTC_48+CTC_38)/2,IF(CTC_61=CTC_77,(CTC_49+CTC_38)/2,IF(CTC_62=CTC_77,(CTC_49+CTC_39)/2,IF(CTC_63=CTC_77,(CTC_50+CTC_39)/2,IF(CTC_64=CTC_77,(CTC_50+CTC_40)/2,IF(CTC_65=CTC_77,(CTC_51+CTC_40)/2,IF(CTC_66=CTC_77,(CTC_51+CTC_41)/2,IF(CTC_67=CTC_77,(CTC_52+CTC_41)/2,IF(CTC_68=CTC_77,(CTC_52+CTC_42)/2,IF(CTC_69=CTC_77,(CTC_53+CTC_42)/2,IF(CTC_70=CTC_77,(CTC_53+CTC_43)/2,IF(CTC_71=CTC_77,(CTC_54+CTC_43)/2,IF(CTC_72=CTC_77,(CTC_54+CTC_44)/2,IF(CTC_73=CTC_77,(CTC_55+CTC_44)/2,IF(CTC_74=CTC_77,(CTC_55+CTC_45)/2,IF(CTC_75=CTC_77,(CTC_56+CTC_45)/2,(CTC_56+CTC_46)/2)))))))))))))))))));籌碼峰線:CTC_78,NODRAW,COLOR00EEEE;STICKLINE(ISLASTBAR,籌碼峰線,籌碼峰線*1.001,60,0),COLORWHITE,COLORLIMAGENTA;籌碼單峰密集:IF(CROSS(C,籌碼峰線),1,0 );DRAWICON(籌碼單峰密集 AND ZT,L*0.98,9);CTC_1:=VOL/REF(MA(VOL,5),1);CTC_2:=(CLOSE/REF(CLOSE,1)-1)*100;CTC_3:=CLOSE=HHV(CLOSE,N日平臺(tái));CTC_4:=BARSLAST(FILTER(CROSS(0.9,CTC_3),2))+1;平臺(tái)高點(diǎn):=REF(CLOSE,CTC_4);CTC_7:=IF(FINDHIGHBARS(平臺(tái)高點(diǎn),1,20,1)>=10,1,0);CTC_8:=CROSS(CLOSE,平臺(tái)高點(diǎn));平臺(tái)突破:IF(CTC_8>0 AND CTC_1>1 AND CTC_2>=3 AND CTC_7>0,1,0);DRAWICON(平臺(tái)突破 ,L*0.98,9); CTA_1:=VOL/REF(MA(VOL,5),1);CTA_2:=(CLOSE/REF(CLOSE,1)-1)*100;CTA_3:=CLOSE=HHV(CLOSE,N日平臺(tái));CTA_4:=BARSLAST(FILTER(CROSS(0.9,CTA_3),2))+1;平臺(tái)高點(diǎn):=REF(CLOSE,CTA_4);CTA_7:=IF(FINDHIGHBARS(平臺(tái)高點(diǎn),1,20,1)>=10,1,0);CTA_8:=CROSS(CLOSE,平臺(tái)高點(diǎn));平臺(tái)突破:IF(CTA_8>0 AND CTA_1>1 AND CTA_2>=3 AND CTA_7>0,1,0);
風(fēng)險(xiǎn)提示:本指標(biāo)公式僅作為知識(shí)分享,模擬測(cè)試不構(gòu)成任何投資建議,不作投資依據(jù)。
|