DIF:=EMA(CLOSE,5)-EMA(CLOSE,10); DEA:=EMA(DIF,5); MACD:=(DIF-DEA)*2; MACD12:=REF(MACD/2,BARSLAST(MACD=HHV(MACD,12))); MACD50:=REF(MACD/2,BARSLAST(MACD=HHV(MACD,50))); 籌碼控盤(pán)比率:=NOT(REF(MACD12,1)=REF(MACD50,1)) AND MACD12=MACD50; 游資籌碼0:=MA(MA(CLOSE,3),1),LINETHICK1,COLORYELLOW; 游資籌碼:MA(MA(CLOSE,3),2),COLORBLUE,LINETHICK2; 籌碼結(jié)構(gòu):IF(游資籌碼0>=游資籌碼,游資籌碼,DRAWNULL),COLORMAGENTA,LINETHICK3; STICKLINE(籌碼控盤(pán)比率,O,CLOSE,4.5,0),COLORYELLOW; STICKLINE(籌碼控盤(pán)比率,O,CLOSE,1.5,0), COLORRED; DRAWTEXT(籌碼控盤(pán)比率,LOW-0.022*LOW,'--低吸'), COLORYELLOW; DRAWICON(籌碼控盤(pán)比率,L*0.98,34); 游資籌碼控盤(pán)比率副圖指標(biāo)源碼如下: CTP1:=HHV(HIGH,9)-LLV(LOW,9); CTP2:=HHV(HIGH,9)-CLOSE; CTP3:=CLOSE-LLV(LOW,9); CTP4:=CTP2/CTP1*100-70; CTP5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; CTP6:=(CLOSE HIGH LOW)/3; CTP7:=SMA(CTP3/CTP1*100,3,1); CTP8:=LLV(LOW,34); CTP9:=SMA(CTP7,3,1)-SMA(CTP4,9,1); CTAA:=IF(CTP9>100,CTP9-100,0); CTAB:=HHV(HIGH,34); CTAC:=EMA((CTP6-CTP8)/(CTAB-CTP8)*100,13); CTAD:=EMA(0.667*REF(CTAC,1) 0.333*CTAC,2); CTAE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25; CTAF:=MA(CTAE,3);CTC6:=HHV(HIGH,9)-LLV(LOW,9); CTC7:=HHV(HIGH,9)-CLOSE; CTC8:=CLOSE-LLV(LOW,9); CTC9:=((CTC7)/(CTC6))*(100)-70; CTA5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100); CTA6:=((2)*(CLOSE) HIGH LOW)/(4); CTA7:=SMA(((CTC8)/(CTC6))*(100),3,1); CTA8:=LLV(LOW,34); CTA9:=SMA(CTA7,3,1)-SMA(CTC9,9,1); CTD1:=IF((CTA9>100),CTA9-100,0); CTD2:=HHV(HIGH,34); CTD3:=EMA(((CTA6-CTA8)/(CTD2-CTA8))*(100),8); DRAWKLINE(EMA(CTD3,5),EMA(CTD3,5),CTD3 1,CTD3); DRAWTEXT_FIX(C>O,0,0.1,0,'微信公眾號(hào):指標(biāo)匯集'),COLOR0000FF; 籌碼線:EMA(CTD3,5),COLORCYAN; 資金線:EMA(CTAD,1),COLORYELLOW; CTB1:=MA(C,5)=HHV(MA(C,5),20); CTB2:=MA(C,5)>MA(C,10); CTB3:=MA(V,5)>MA(V,40)*1.01; CTB4:=COUNT(MA(C,1)>REF(C,1),2)=2; CTB5:=CTB1 AND CTB2 AND CTB3 AND CTB4; CTB6:=EMA(CLOSE,8); CTB7:=EMA(CTB6,20); CTB8:=CROSS(CTB6,CTB7); CTB9:=CTB6<EMA(CLOSE,120); STICKLINE((CTB8 AND CTB9)OR(CTB1 AND CTB2 AND CTB3 AND CTB4),CTD3*1.03,CTD3*1.120,1,0),COLORYELLOW; CTE1:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1),CIRCLEDOT,COLORFF9900; CTE2:=20; 籌碼控盤(pán):IF(CROSS(CTE1,CTE2),50,0),STICK,COLORMAGENTA,LINETHICK2; 拉升上漲:IF(CROSS(CTAC,資金線) AND CTAC>CTAD AND CTAC<55 AND C>O,50,0),STICK,COLORRED,LINETHICK2; CTE3:=LLV(C,500)=LLV(C,5) AND C/REF(C,1)>(1 9.8/100); 籌碼啟動(dòng):IF(CTE3,籌碼線,0),STICK,COLORYELLOW,LINETHICK2; 游資籌碼控盤(pán)比率選股指標(biāo)源碼如下: CTA1:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1),COLORFF9900; CTA2:=20; 籌碼控盤(pán):CROSS(CTA1,CTA2),COLORMAGENTA; 游資籌碼控盤(pán)比率指標(biāo)使用說(shuō)明如下: 1.本指標(biāo)用于通達(dá)信 2.主圖線上低吸信號(hào),,副圖籌碼結(jié)構(gòu)紅色量柱出現(xiàn)共振為確定性抄底信號(hào)。 注意事項(xiàng):
|
|