万物公式网是一个专注于股票软件、股票公式资源分享的平台
微信公众号:万物狙击

网站首页 > 通达信公式 > 通达信主副图指标 正文

【通达信指标】天上人间指标公式,妖股主升浪的第一次最佳进场点(主图+选股)

admin 2024-09-26 20:49:18 通达信主副图指标 467 ℃

第一部分 指标介绍

1.本指标的设计思路是用到了年线和三年线,周期比较长,所以手机能不能用不知道,股友们可以自己测试,源代码手机可以用,至于显示效果是不是完整,还是自己看,我这里用的是电脑编辑;

2.图中的曲线很多,但是表达的都是趋势,为了方便观看,当趋势是下跌或者横盘的时候,我让k线显示蓝色,反之就是显示红色或者紫色;

3.当股价突破开启主升浪的时候,会出现一条加粗的红色曲线,这个曲线就是加速线,所以当股价开始往下靠近这个加粗红线的时候,就要注意妖股行情的终结了;

4.主图里面用到了未来函数,是为了方便显示最新高点的黄色虚线,不影响使用,选股指标里面没有未来函数,可以放心使用。

第二部分 指标公式

{天上人间--主图}

M:=55;N1:=5;N2:=30;

X_13:=ABS(CLOSE-REF(CLOSE,M));

X_14:=SUM(ABS(CLOSE-REF(CLOSE,1)),M);

X_15:=X_13/X_14;

X_16:=2/(N1+1);

X_17:=2/(N2+1);

X_18:=X_15*(X_16-X_17)+X_17;

X_19:=POW(X_18,2);

王KAMA:DMA(CLOSE,X_19),COLORRED,LINETHICK2;

NOTEXT1:IF(王KAMA<=REF(王KAMA,1),王KAMA,DRAWNULL),COLORGREEN,LINETHICK2;

X_20:=ABS(CLOSE-REF(CLOSE,20))/SUM(ABS(CLOSE-REF(CLOSE,1)),20)*(2/(2+1)-2/(30+1))+2/(30+1);

X_21:=EMA(DMA(CLOSE,X_20*X_20),2);

DRAWTEXT_FIX(1,0,0.07,0,'微信公众号万物狙击'),COLORMAGENTA,LINETHICK4;

STICKLINE(CLOSE>=X_21 AND CLOSE>OPEN,OPEN,CLOSE,(-1),1),COLOR0000DD;

STICKLINE(CLOSE>=X_21 AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLOR0000DD;

STICKLINE(CLOSE>=X_21 AND CLOSE>OPEN,OPEN,LOW,0,0),COLOR0000DD;

STICKLINE(CLOSE>=X_21 AND CLOSE<=OPEN,OPEN,CLOSE,(-1),0),COLOR0000DD;

STICKLINE(CLOSE>=X_21 AND CLOSE<=OPEN,HIGH,OPEN,0,0),COLOR0000DD;

STICKLINE(CLOSE>=X_21 AND CLOSE<=OPEN,CLOSE,LOW,0,0),COLOR0000DD;

STICKLINE(CLOSE<X_21 AND CLOSE>OPEN,OPEN,CLOSE,(-1),1),COLORFFBB00;

STICKLINE(CLOSE<X_21 AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORFFBB00;

STICKLINE(CLOSE<X_21 AND CLOSE>OPEN,OPEN,LOW,0,0),COLORFFBB00;

STICKLINE(CLOSE<X_21 AND CLOSE<=OPEN,OPEN,CLOSE,(-1),0),COLORFFBB00;

STICKLINE(CLOSE<X_21 AND CLOSE<=OPEN,HIGH,OPEN,0,0),COLORFFBB00;

STICKLINE(CLOSE<X_21 AND CLOSE<=OPEN,CLOSE,LOW,0,0),COLORFFBB00;

AMA20:X_21,COLORFFAA00;

UP:IF(AMA20>REF(AMA20,1),AMA20,DRAWNULL),COLORRED;

X_22:=MAX(MAX(HIGH-LOW,ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));

X_23:=SMA(X_22,20,1);

NH20:HHV(HIGH,20),NODRAW;

止盈位:NH20-2*X_23,NODRAW;

X_24:=HHV(HIGH,20);

X_25:=HHVBARS(HIGH,20);

X_26:=BARSLAST(CURRBARSCOUNT=CONST(X_25)+1);

HH20:DRAWLINE(X_26=0,HIGH,ISLASTBAR,REF(HIGH,X_25),0),DOTLINE,COLORYELLOW;

DRAWNUMBER(X_26=0,HIGH,HIGH),COLORYELLOW,LINETHICK9;

●:IF(X_26=0,HIGH,DRAWNULL),POINTDOT,COLORRED,LINETHICK4;

X_27:=MAX(MAX(HIGH-LOW,ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW))/REF(CLOSE,1)*100;

X_28:=ABS(HIGH-LOW)/REF(CLOSE,1)*100;

ATR20:SMA(X_22,20,1),NODRAW;

X_29:=SMA(X_27,20,1);

AMA20乖离:(OPEN-AMA20)/AMA20*100,NODRAW;

MA5抵扣:REF(CLOSE,5),NODRAW,COLORCYAN;

MA20抵扣:REF(CLOSE,20),NODRAW,COLORFFBB00;

X_30:=ABS(CLOSE-REF(CLOSE,20));

X_31:=SUM(ABS(CLOSE-REF(CLOSE,1)),20);

效率系数:SUM(ABS(X_30/X_31),1),NODRAW;

X_32:=FILTER(BACKSET(MA(CLOSE,5) AND ISLASTBAR,5),5);

X_33:=FILTER(BACKSET(MA(CLOSE,20) AND ISLASTBAR,20),20);

STICKLINE(X_32=1,HIGH+(HIGH-LOW),LOW-(HIGH-LOW),0,(-1)),COLORYELLOW;

STICKLINE(X_33=1,HIGH+1.5*(HIGH-LOW),LOW-1.2*(HIGH-LOW),0,(-1)),COLORYELLOW;

M512:MA(CLOSE,512);

M1024:MA(CLOSE,1024),COLORBLUE;

X_34:=HHV(HIGH,256);

X_35:=LLV(LOW,256);

L80%:0.809*X_34+0.191*X_35,COLORMAGENTA;

L61%:0.618*X_34+0.382*X_35,COLORYELLOW;

X_36:=CROSS(CLOSE,L80%) AND CLOSE/REF(HIGH,1)>1.04;

STICKLINE(X_36,LOW,HIGH*0.965,3,0),COLORYELLOW;

X_37:=MA(VOL,2)/REF(MA(VOL,2),3)>=2;

X_38:=VOL=HHV(VOL,21);

X_39:=X_37 AND X_38;

X_40:=BARSLAST(X_36);

X_41:=REF(HIGH,X_40);

X_42:=HIGH>X_41 AND CLOSE>X_36 AND COUNT(X_39,2)>0 AND CLOSE/REF(CLOSE,1)>1.05;

STICKLINE(X_42,HIGH,HIGH*0.95,3,0),COLORMAGENTA;

第三部分 选股公式

{天上人间--选股}

X_34:=HHV(HIGH,256);

X_35:=LLV(LOW,256);

L80%:=0.809*X_34+0.191*X_35,COLORMAGENTA;

X_36:=CROSS(CLOSE,L80%) AND CLOSE/REF(HIGH,1)>1.04;

X_37:=MA(VOL,2)/REF(MA(VOL,2),3)>=2;

X_38:=VOL=HHV(VOL,21);

X_39:=X_37 AND X_38;

X_40:=BARSLAST(X_36);

X_41:=REF(HIGH,X_40);

天上人间X:HIGH>X_41 AND CLOSE>X_36 AND COUNT(X_39,2)>0 AND CLOSE/REF(CLOSE,1)>1.05;

第四部分 指标图示

很赞哦! (1)

游客您好,本文中含有可下载的附件,请先回复后获取下载链接 下载次数:2次 回复

更多精彩内容,请关注公众号:实盘操手

其他说明

1、在下载过程遇到问题,请您 联系客服:QQ:2180737354  或  微信:xxs008000(常用)     备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。


2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!


⇒⇒⇒点击加入通达信指标公式交流群QQ群