资源描述:
《【股票指标公式下载】-【通达信】博弈K线(空头、多头、》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【通达信】博弈K线(空头、多头、布林、阻力、穿透率)-指标公式源码N1:=5;N2:=13;N3:=17;N4:=2;KDCM:=100*(1-WINNER(C));空头1:STICKLINE(C>1,KDCM,0,4.8,0),COLORLIGREEN;空头:C>1,COLORLIGREEN;DDCM:=100*WINNER(C);多头1:STICKLINE(C>1,DDCM,0,4.8,0),COLORLIGRAY;多头:C>1,COLORLIGRAY;布林:=HHV(HHV(WINNER(LOW)*100,14),60)
2、;阻力区:EMA(EMA(布林,16)-2*STD(布林,16),3),COLORLICYAN;阻力:EMA(EMA(布林,14)+2*STD(布林,14),18),COLORLIGRAY;STICKLINE(阻力区>0,阻力区,阻力,0,0),COLORLICYAN;{70%筹码分布空间小于30%时为晶红色}筹码上:=COST(85);筹码下:=COST(15);筹码中间价:=(筹码上+筹码下)/2;下下:=(筹码下/筹码中间价*100)*2;STICKLINE(下下<30,阻力区,阻力,3,0),COLORFFCC00;主
3、力区:WINNER(CLOSE)*CAPITAL/VOL,COLORSTICK;VAR1:=1*VOL/CAPITAL;VR2:=1*(WINNER(CLOSE)-REF(WINNER(CLOSE),1))/REF(WINNER(CLOSE),1);VR3:=(C-REF(C,1))/REF(C,1);穿透率:=VR2/VAR1*(1-VR3);STICKLINE(穿透率>=0,0,穿透率/2,1/8,0),COLORRED;STICKLINE(穿透率<0,0,穿透率/2,1/8,0),COLORGREEN;获利盘:=WINN
4、ER(CLOSE)*100;获利变动:=VR2;套牢盘:=100*(1-WINNER(C)),COLORRED;CKDP:100*(C-COST(1))/(COST(99)-COST(1)),COLORRED;CBW:=100*(COST(99)-COST(1))/COST(1),COLORBLUE;VAR2:=WINNER(OPEN)*100;VAR3:=WINNER(CLOSE)*100;VAR4:=WINNER(HIGH)*100;VAR5:=WINNER(LOW)*100;开:=WINNER(O)*100,LINETH
5、ICK0,COLORWHITE;高:=WINNER(H)*100,LINETHICK0,COLORBLUE;低:=WINNER(L)*100,LINETHICK0,COLORCYAN;收:=WINNER(C)*100,LINETHICK0,COLORGREEN;博弈K线长阳:=收-开>20;无量长阳:=收-开>15ANDV/CAPITAL<0.03;STICKLINE(收>=开,开,收,3,1),COLORYELLOW;STICKLINE(收>=开,低,开,0,0),COLORYELLOW;STICKLINE(收>=开,收,高
6、,0,0),COLORYELLOW;STICKLINE(收<开,开,收,3,1),COLORGREEN;STICKLINE(收<开,收,低,0,0),COLORGREEN;STICKLINE(收<开,开,高,0,0),COLORGREEN;STICKLINE(无量长阳,开,收,3,0),COLORMAGENTA;STICKLINE(无量长阳,低,开,0,0),COLORMAGENTA;STICKLINE(无量长阳,收,高,0,0),COLORMAGENTA;STICKLINE(博弈K线长阳,开,收,3,0),COLORRED;
7、STICKLINE(博弈K线长阳,低,开,0,0),COLORRED;STICKLINE(博弈K线长阳,收,高,0,0),COLORRED;STICKLINE(CLOSE>0,100,100,3,0),COLORCYAN;STICKLINE(CLOSE>0,80,80,3,0),COLORMAGENTA;STICKLINE(CLOSE>0,50,50,3,0),COLORYELLOW;STICKLINE(CLOSE>0,20,20,3,0),COLORMAGENTA;STICKLINE(CLOSE>0,0,0,3,0),COL
8、ORCYAN;均线:EMA(VAR3,34),COLORCC9900,LINETHICK2;突:EMA(WINNER(CLOSE),25)+EMA(WINNER(CLOSE),60)/11*1000,COLORWHITE;牛熊线:=(COST(65)-COST(35))*10