当前位置: 网站首页 > 股票软件公式 > 通达信公式 > 文章 当前位置: 通达信公式 > 文章

通达信源码精选:摸底风暴,打板指标,火车仓位管理

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

1、摸底风暴

摸底风暴,抄底毫不犹豫,准确干脆。

X_1:=60;
X_2:=30;
散户线:=100*(HHV(HIGH,X_1)-CLOSE)/(HHV(HIGH,X_1)-LLV(LOW,X_1)),COLORYELLOW,LINETHICK4;
X_3:=(CLOSE-LLV(LOW,X_2))/(HHV(HIGH,X_2)-LLV(LOW,X_2))*100;
X_4:=SMA(X_3,5,1);
X_5:=SMA(X_4,3,1);
X_6:=3*X_4-2*X_5;
主力线:=EMA(X_6,6),COLORRED,LINETHICK4;
X_16:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
X_17:=SMA(X_16,13,8);
走势:=CEILING(SMA(X_17,13,8)),COLORGREEN;
XG1:=CROSS(走势,主力线);
XG2:=EXIST(散户线>99,10);
XG:XG1 AND XG2;



2、打板指标

打板指标,绿线上涨停买

 
公式用法:
站上绿线涨停买入,黄红是涨停买入的
无未来,不加密。涨停利器,美滋滋赚钱!!!
 
{打板源码}
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,3,0),COLOR0000EE;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,2,0),COLORRED;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1,0),COLORRED;
STICKLINE(CLOSE>=OPEN,HIGH,LOW,0,0),COLORRED;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,3,0),COLOREEEE00;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,2,0),COLORCYAN;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,1,0),COLORCYAN;
STICKLINE(CLOSE<=OPEN,HIGH,LOW,0,0),COLORCYAN;
STICKLINE(CLOSE/REF(CLOSE,1)>1.05,(CLOSE+OPEN)/2,CLOSE,3,0),COLOR00EEEE;
STICKLINE(CLOSE/REF(CLOSE,1)>1.05,(CLOSE+OPEN)/2,CLOSE,1,0),COLORYELLOW;
XA_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
STICKLINE(XA_1<=(-2),(CLOSE+OPEN)/2,CLOSE,3,0),COLOREE0000;
STICKLINE(XA_1<=(-2),(CLOSE+OPEN)/2,CLOSE,1,0),COLORBLUE;
M30:MA(CLOSE,30),COLORMAGENTA;
顶:COST(95)*1,COLORRED,LINETHICK2;
XA_2:=(2*CLOSE+HIGH+LOW)/4;
底:EMA(XA_2,99)*0.91,COLORGREEN,LINETHICK2;
{股 民 学 院 : http://www.58188.net 整理}



3、火车仓位管理,有多空提示

{火车仓位管理}

MA10:MA(C,10)COLORWHITE,LINETHICK2;
MA30:MA(C,30)COLOR238E23,LINETHICK2;
MA60:MA(C,60)COLORGREEN,LINETHICK2;
MA120:MA(C,120)COLORCYAN,LINETHICK2;
IF(((MA60-MA120)>(REF(MA60,1)-REF(MA120,1))),MA120,DRAWNULL),COLORRED,LINETHICK2;
IF(((MA60-MA120)<(REF(MA60,1)-REF(MA120,1))),MA120,DRAWNULL),COLOR0099FF,LINETHICK2;
DRAWTEXT(C<MA60 AND C<MA10 AND C<MA30,H*1.08,'空'),COLOR238E23;
DRAWTEXT(C<MA60 AND C<MA120 AND C>MA10 AND C<MA30,H*1.08,'1/5'),COLORBLUE;
DRAWTEXT(C<MA60 AND C<MA120 AND C<MA10 AND C>MA30,H*1.08,'1/5'),COLORBLUE;
DRAWTEXT(C<MA60 AND C<MA120 AND ((MA60-MA120)<(REF(MA60,1)-REF(MA120,1))) AND C>MA10 AND C>MA30,H*1.08,'1/5'),COLORBLUE;
DRAWTEXT(C<MA60 AND C<MA120 AND ((MA60-MA120)>(REF(MA60,1)-REF(MA120,1))) AND C>MA10 AND C>MA30,H*1.08,'2/5'),COLORYELLOW;
DRAWTEXT(C>MA60 AND C<MA120 AND C<MA10 AND C<MA30,L*0.92,'1/5'),COLORBLUE;
DRAWTEXT(C>MA60 AND C<MA120 AND C>MA10 AND C<MA30,L*0.92,'1/2'),COLORYELLOW;
DRAWTEXT(C>MA60 AND C<MA120 AND C<MA10 AND C>MA30,L*0.92,'1/2'),COLORYELLOW;
DRAWTEXT(C>MA60 AND C<MA120 AND ((MA60-MA120)<(REF(MA60,1)-REF(MA120,1))) AND C>MA10 AND C>MA30,L*0.92,'4/5'),COLORFF00FF;
DRAWTEXT(C>MA60 AND C>MA120 AND ((MA60-MA120)>(REF(MA60,1)-REF(MA120,1))) AND C>MA10 AND C>MA30,L*0.92,'4/5'),COLORRED;
DRAWTEXT(C<MA60 AND C>MA120 AND C>MA10 AND C<MA30,H*1.08,'1/5'),COLORBLUE;
DRAWTEXT(C<MA60 AND C>MA120 AND C<MA10 AND C>MA30,H*1.08,'1/5'),COLORBLUE;
DRAWTEXT(C<MA60 AND C>MA120 AND C>MA10 AND C>MA30,H*1.08,'1/2'),COLORYELLOW;
DRAWTEXT(C>MA60 AND C>MA120 AND C<MA10 AND C<MA30,L*0.92,'1/5'),COLORBLUE;
DRAWTEXT(C>MA60 AND C>MA120 AND C>MA10 AND C<MA30,L*0.92,'1/2'),COLORYELLOW;
DRAWTEXT(C>MA60 AND C>MA120 AND C<MA10 AND C>MA30,L*0.92,'3/5'),COLORFF00FF;
DRAWTEXT(C>MA60 AND C>MA120 AND ((MA60-MA120)<(REF(MA60,1)-REF(MA120,1))) AND C>MA10 AND C>MA30,L*0.92,'4/5'),COLORFF00FF;
DRAWTEXT(C>MA60 AND C>MA120 AND ((MA60-MA120)>(REF(MA60,1)-REF(MA120,1))) AND C>MA10 AND C>MA30,L*0.92,'4/5'),COLORRED;
{股 民 学 院 : http://www.58188.net 整理}

上一篇:通达信源码精选:CCI多空波段王,超超抓强势,自用成交量

下一篇:通达信源码精选:陆港通持股比,修正复权因素影响