通达信横盘区间突破选股指标公式,通达信牛气操盘主图指标公式,通达信牛气操盘主图指标公式
admin888
|通达信横盘区间突破选股指标公式,通达信牛气操盘主图指标公式,通达信牛气操盘主图指标公式
通达信横盘区间突破选股指标公式
MA5:=MA(C,5);
MA20:=MA(C,20);MA60:=MA(C,60);
涨幅:=(C-REF(C,1))/REF(C,1)>0.03;
实体涨幅1:=(C-O)/O>0.01;
放量:=(VOL-REF(MA(VOL,5),1))/REF(MA(VOL,5),1)>0.5;
站上均线:=C>MA5 AND C>MA20 AND C>MA60;
突破最高价:=C>HHV(REF(C,1),39);
区间涨幅1:=(REF(C,1)-REF(C,41))/REF(C,41)>-0.08 AND (REF(C,1)-REF(C,41))/REF(C,41)<0.08;
区间振幅:=(REF(HHV(H,40),1)-REF(LLV(L,40),1))/REF(LLV(L,40),1)<0.16;
横盘突破:涨幅 AND 实体涨幅1 AND 放量 AND 站上均线 AND 突破最高价 AND 区间涨幅1 AND 区间振幅 ;
通达信牛气操盘主图指标公式
A:=(3*C+H+L+O)/6;
VAR1:=WMA(A,8);
N:=WEEKDAY;
VAR2:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
红线:VAR1,COLORRED;
黄线:VAR2,COLORYELLOW;
持股:IFF(VAR1>VAR2,VAR2,DRAWNULL),COLORRED;
持币:IFF(VAR1=VAR2,VAR2,DRAWNULL),COLORGREEN;
DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19)),COLORWHITE;
DEA:=EMA(DIFF,9),COLORF00FF0 ;
MACD:=0.90*(DIFF-DEA), COLORSTICK;
TJ:=(DIFF>=DEA);TJ1:=(DIFF>=0);
STICKLINE(TJ,H,L,0.0.2,0),COLORYELLOW;
STICKLINE(TJ,O,C,2.5,0),COLORYELLOW;
STICKLINE(TJ1 AND TJ,H,L,0.0.2,0),COLORRED;STICKLINE(TJ1 ANDTJ,O,C,2.5,1),COLORRED;
STICKLINE(DIFF
STICKLINE(DIFF
AA:=REF(H,N)=HHV(H,2*N+1);
AA1:=REF(L,N)=LLV(L,2*N+1);
QY:=BACKSET(AA,N+1);QY1:=BACKSET(AA1,N+1);
CC:=FILTER(QY,N) AND H=HHV(H,N+1);
CC1:=FILTER(QY1,N) ANDL=LLV(L,N+1);
DDD:=BARSLAST(CC);
DD1:=BARSLAST(CC1);
GDTS:=IF(CC,CURRBARSCOUNT,0);
DDTS:=IF(CC1,CURRBARSCOUNT,0);
DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);
DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);
GDCS1:=CONST(DINGBUTS);
DDCS1:=CONST(DDTS1);
GDCS13:=CONST(REF(HIGH,GDCS1-1));
DDCS13:=CONST(REF(L,DDCS1-1));
DINGBUTS1:=REF(DINGBUTS,DDD+1);
DDTS2:=REF(DDTS1,DD1+1);
GDCS2:=CONST(DINGBUTS1);
DDCS2:=CONST(DDTS2);
GDCS23:=CONST(REF(HIGH,DINGBUTS1-1));
DDCS23:=CONST(REF(L,DDTS21));
XG1:=BACKSET(ISLASTBAR,GDCS1);
XD1:=BACKSET(ISLASTBAR,DDCS1);
XG2:=BACKSET(ISLASTBAR,DINGBUTS1);
XD2:=BACKSET(ISLASTBAR,DDTS2);
STICKLINE(XG2,GDCS23,GDCS23,2,0),COLORFF8000;
STICKLINE(XG1,GDCS13,GDCS13,2,0),COLORYELLOW;
STICKLINE(XD2,DDCS23,DDCS23,2,0),COLORGRAY;
STICKLINE(XD1,DDCS13,DDCS13,2,0),COLORCYAN;
CXHZB1:= (L <= MA(C,20) AND MA(C,20) <= C AND L <= MA(C,10) AND MA(C,10) <= C AND L <= MA(C,5) AND MA(C,5) <= C AND C >= O AND C/REF(C,1) >=1.03);
DRAWTEXT(CXHZB1, H, '穿三线'),COLORRED;CXHZB2:= REF(C,5) > REF(O,5) AND REF(C,4) < REF(O,4) AND REF(C,3) < REF(O,3) AND REF(C,2) > REF(O,2) AND REF(C,1) < REF(O,1) AND C > O;
DRAWTEXT(CXHZB2, L, '加速信号'),COLORRED;CXHZB3:= REF(C,5) < REF(O,5) AND REF(C,4) < REF(O,4) AND REF(C,3) < REF(O,3) AND REF(C,2) > REF(O,2) AND REF(C,1) < REF(O,1) AND C > O;
DRAWTEXT(CXHZB3, L, '推动信号'),COLORGREEN;
CXHZB4:= REF(C,5) < REF(O,5) AND REF(C,4) > REF(O,4) AND REF(C,3) < REF(O,3) AND REF(C,2) < REF(O,2) AND REF(C,1) < REF(O,1) AND C > O;
DRAWTEXT(CXHZB4, L, '底部信号'),COLORGREEN;CXHZB5:= REF(C,5) < REF(O,5) AND REF(C,4) < REF(O,4) AND REF(C,3) < REF(O,3) AND REF(C,2) < REF(O,2) AND REF(C,1) > REF(O,1) AND C < O;
DRAWTEXT(CXHZB5, L, '底转加速'),COLORGREEN;CXHZB6:= O/REF(C,1) >= 1.015;DRAWTEXT(CXHZB6, O, '高开');
CXHZB7:=O=L;DRAWTEXT(CXHZB7, O, '控价');
DRAWTEXT(O <= MA(C,20) AND MA(C,20) <= C , L, '?站上20线'),COLORGRAY;
DRAWTEXT(O <= MA(C,60) AND MA(C,60) <= C , L, '?站上60线'),COLORGRAY;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。