设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

通达信看颜色做买卖副图指标公式是什么?

2016-5-27 11:19:47 股票入门 http://rumen.southmoney.com

通达信看颜色做买卖副图指标公式是什么?附:通达信估计庄家筹码和散户线公式源码 南方财富网小编为您提供


【通达信看颜色做买卖副图指标公式】

WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">AA := REF(CLOSE,1);

BBB:=SMA(MAX(CLOSE-AA,0),34,1)/SMA(ABS(CLOSE-AA),34,1)*1000;

HHH:=BBB-LLV(BBB,36);

短期:=(MA(HHH,2)*3+HHH*13)/16;

中期:=MA(HHH,10);

差值:短期-中期,NODRAW;

CCC:=LLV(BBB,36)-BBB;

短期二:=(MA(CCC,2)*3+CCC*13)/16;

中期二:=MA(CCC,10);

VB:=2*(短期-中期),NODRAW;

乖离率6:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

乖离率12:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;

乖离率24:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

ZP:=乖离率6<-6 AND 乖离率12<-10 AND 乖离率24<-16; 

DRAWICON(ZP,-50,26);

STICKLINE(VB>=0 AND VB>REF(VB,1),0,VB,1,0),COLORRED;

STICKLINE(VB>=0 AND VB<REF(VB,1),0,VB,1,1),COLORRED;

STICKLINE(VB<0 AND 中期>REF(中期,1),0,VB,1,1),COLORRED;

STICKLINE(VB<0 AND VB<REF(VB,1),0,VB,1,0),COLORGREEN;

STICKLINE(VB<0 AND VB>REF(VB,1),0,VB,1,1),COLORGREEN;

STICKLINE(VB<0 AND 中期>REF(中期,1),0,VB,2,-1),COLORRED;

STICKLINE(VB>=0 AND 中期<REF(中期,1),0,VB,2,-1),COLORGREEN;

STICKLINE(短期<3,VB,0,1,0),COLORYELLOW;

准备买:IF(短期<3,8,0),COLORYELLOW,NODRAW;

STICKLINE(短期=0,VB,0,1,0),COLORMAGENTA;

买入:IF(短期=0,8,0),COLORMAGENTA,NODRAW;

DRAWICON(MA(短期,3)=0,VB,1);

加仓:IF(MA(短期,3)=0,8,0),COLORRED,NODRAW;

STICKLINE(差值>60 AND VB>0 AND 中期>50,VB,0,1,0),COLORBLUE;

准备卖:IF(差值>60 AND VB>0 AND 中期>50,4,0),COLORBLUE;

STICKLINE(差值>60 AND VB>0 AND 中期>100,VB,0,1,0),COLORCYAN;

卖出:IF(差值>60 AND VB>0 AND 中期>100,4,0),COLORCYAN;

坚决卖:IF(EVERY(差值>60 AND VB>0 AND 中期>100,2),4,0),COLORGREEN;

DRAWICON(EVERY(差值>60 AND VB>0 AND 中期>100,2),VB,2);

STICKLINE(VB>100,100,VB,1,0),COLORBROWN;

STICKLINE(VB>200,200,VB,1,0),COLORLIRED;

100,DOTLINE,COLORGRAY;

DRAWTEXT_FIX(ISLASTBAR,0,0,0,'准备买~黄色'),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.12,0,0,'买入~洋红色'),COLORMAGENTA;

DRAWTEXT_FIX(ISLASTBAR,0.24,0,0,'加仓~红箭头'),COLORRED;

DRAWTEXT_FIX(ISLASTBAR,0.36,0,0,'准备卖~蓝色'),COLORBLUE;

DRAWTEXT_FIX(ISLASTBAR,0.48,0,0,'卖出~青色'),COLORCYAN;

DRAWTEXT_FIX(ISLASTBAR,0.60,0,0,'坚决卖~绿箭头'),COLORGREEN;

附:【通达信估计庄家筹码和散户线公式源码】

活筹: (100*WINNER(REF(CLOSE,1)*1.1)-100*WINNER(REF(CLOSE,1)*0.9));
死筹: 100*WINNER(CLOSE),COLORGREEN;
主力筹码: 100*WINNER(CLOSE*0.9), COLORCYAN;
穿透筹码: (100*WINNER(CLOSE)-100*WINNER(REF(CLOSE,1)*1)), COLORF00FF0;
VAR1:=1;
VAR2:=1/WINNER(CLOSE);
VAR3:=MA(CLOSE,13);
VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);
VAR5:=LLV(LOW,75);
VAR6:=HHV(HIGH,75);
VAR7:=(VAR6-VAR5)/100;
VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);
VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);
VARA:=3*VAR8-2*SMA(VAR8,15,1);
VARB:=3*VAR9-2*SMA(VAR9,15,1);
VARC:=100-VARB;
散户线: (100-VARA)*VAR1,COLORRED,LINETHICK2;
主力线: MA(WINNER(CLOSE*0.95)*100,3)*VAR1,COLORYELLOW, LINETHICK2;
新庄: (100-IF(VAR2>5,IF(VAR2<100,VAR2,VAR4-10),0))*VAR1,COLORGREEN,LINETHICK1,POINTDOT ;
VARD:=散户线>VAR4;
VARE:=REF(LOW,1)*0.9;
VARF:=LOW*0.9;
VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;
VAR11:=EMA(VAR10,30);
VAR12:=CLOSE-REF(CLOSE,1);
VAR13:=MAX(VAR12,0);
VAR14:=ABS(VAR12);
VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;
VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;
VAR17:=BARSCOUNT(CLOSE);
VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;
VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1D:=SMA(VAR1C,2,1);
VAR1E:=SMA(VAR1D,4,1);
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50;
STICKLINE(VARD,VAR4,散户线,1,0),COLORYELLOW;
STICKLINE(1,新庄,100,1,0),COLORGREEN;
STICKLINE(VAR20,0,80,2,0),COLORRED ;
100,COLORGREEN ,LINETHICK1 ;
0,COLORBLUE ,LINETHICK2 ;

更多通达信指标公式相关资讯请关注南方财富网

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。