通达信粘合出击指标公式是什么?
2016-4-21 10:26:37 股票入门 http://rumen.southmoney.com
通达信粘合出击指标公式是什么?附:通达信主力买卖盘+外内盘差指标公式 南方财富网小编为您提供
【通达信粘合出击指标公式】
N1:=5;N2:=10;N3:=20;
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">MA1:=MA(C,N1);
MA2:=MA(C,N2);
MA3:=MA(C,N3);
MA30:=MA(C,30);
GX:=MAX(MA1,MAX(MA2,MA3));
DX:=MIN(MA1,MIN(MA2,MA3));
QSXS:=DX>MA30 AND MA30>REF(MA30,1);
均线粘合:IF(ABS(GX/DX-1)*100<=3,1,0),COLORFFFFFF,POINTDOT,LINETHICK0;
FL:=V>REF(V,1) OR V>MA(V,5);
SZ:=(CROSS(C,MA(C,3)) OR CROSS(C,MA(C,5))) AND C>=O;
放量上涨:IF(FL AND SZ,1,0),COLOR00FFFF,POINTDOT,LINETHICK0;
果断出击:FILTER(COUNT(均线粘合,2) AND COUNT(放量上涨,2) AND C>O AND QSXS,2)*100,COLOR00FF00;
{以下设置副图显示方式}
STICKLINE(均线粘合,0,10,4,0),COLOR00FF00;
STICKLINE(均线粘合,0,-10,4,0),COLORFF00FF;
STICKLINE(放量上涨,0,50,0.1,0),COLOR00FFFF;
{以下设置果断出击后的涨幅跟踪,不需要的可以删除}
MRSJ:=BARSLAST(果断出击);
涨:(C/REF(C,MRSJ)-1)*100*(MRSJ<=20),COLOR8800FF;
ZZ:=MRSJ<20 AND CROSS(H,REF(C,MRSJ)*1.09999);
知足:=ZZ AND COUNT(ZZ,MRSJ)=1;
DB:=MRSJ<20 AND CROSS(H,REF(C,MRSJ)*1.05);
达标:=DB AND COUNT(DB,MRSJ)=1;
STICKLINE(知足,0,50,4,0),COLOR0000FF;
DRAWTEXT(知足,80,'+10%'),COLORFFFFFF;
STICKLINE(达标,0,30,4,0),COLORFFFFFF;
DRAWTEXT(达标,50,'+5%'),COLOR00FFFF;
附:【通达信主力买卖盘+外内盘差指标公式】
A1:=(DVOL/CLOSE)/2;
A2:=SUM(IF(A1>100 AND CLOSE>REF(CLOSE,1),A1,0),0);
A3:=SUM(IF(A1>100 AND CLOSE<REF(CLOSE,1),A1,0),0);
A4:=SUM(IF(A1<100 AND CLOSE>REF(CLOSE,1),A1,0),0);
A5:=SUM(IF(A1<100 AND CLOSE<REF(CLOSE,1),A1,0),0);
机构买盘:A2,LINETHICK8,COLOR5555FF;
机构卖盘:A3,LINETHICK8,COLOR55FF55;
散户买盘:A4,COLORFF55FF;
散户卖盘:A5,COLORFFFF55;
内盘:=DYNAINFO(22) ;
外盘:=DYNAINFO(23) ;
外内盘差:(外盘-内盘),NODRAW;
STICKLINE(外内盘差>0,机构买盘,机构卖盘,0.000001,0 ),COLORRED;
STICKLINE( 外内盘差<0,机构买盘,机构卖盘,0.000001,0 ),COLORGREEN;
STICKLINE(外内盘差>0 AND 机构买盘=机构卖盘,散户买盘,散户卖盘,0.000001,0 ),COLORRED;
STICKLINE( 外内盘差<0 AND 机构买盘=机构卖盘,散户买盘,散户卖盘,0.000001,0 ),COLORGREEN;
更多通达信指标公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。