您现在的位置是: 首页 >  指标公式 >  通达信 通达信

底部买入主图 顺势追涨持股【指标公式】(含选股)

编辑:股小标 2022-10-19 8927人已围观

收藏

简介 底部买入主图 顺势追涨持股【指标公式】(含选股)

会员权益:

  • 普通用户 免费
  • VIP会员 免费
  • 年SVIP会员 免费推荐
  • 帝王SVIP会员   永久免费推荐

提示信息:

请在文章末尾获取资源下载链接!!!

开通会员下载更优惠!!官方客服微信:mhcj668

点击下方按钮自助充值,实时到账!!

底部买入主图 顺势追涨持股【指标公式】(含选股)

一、主图指标公式:

RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

J:=3*K-2*D;

LC:=REF(CLOSE,1);

RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

MTR:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),12);

HD:=HIGH-REF(HIGH,1);

LD:=REF(LOW,1)-LOW;

DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),12);

DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),12);

PDI:=DMP*100/MTR;

MDI:=DMM*100/MTR;

ADX:=EMA(ABS(MDI-PDI)/(MDI+PDI)*100,2);

ADXR:=EMA(ADX,2);

ADD:=ADX>REF(ADX,1) AND REF(ADX,1)<=REF(ADX,2);

TYP:=(HIGH+LOW+CLOSE)/3;

CCI14:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORWHITE;

CCI80:=(TYP-MA(TYP,70))/(0.015*AVEDEV(TYP,70));

A1:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

A2:(MA(C,14)+MA(C,25)+MA(C,60)+MA(C,140))/4;

BB:(A1+A2)/2,LINETHICK2,COLORMAGENTA;

A3:MA(C,25),CIRCLEDOT,LINETHICK2,COLORFF99CC;

A4:EMA(C,3),COLOR0066FF;

GUP5:=BARSLAST(BB>REF(BB,1) AND REF(BB,1)<=REF(BB,2));

GUP6:=BARSLAST(BB=REF(BB,2));

GUP7:=BARSLAST(CROSS(A4,A3));

GUP8:=A4=REF(A4,2);

底部:=REF(BB,GUP6)/LLV(L,GUP6)>1.10 AND HHV(MDI,GUP6)>=40 AND HHV(ADX,GUP6)>=50 AND LLV(J,BARSLAST(CROSS(K,J)))<=0 AND CROSS(J,K);

DRAWTEXT(底部,L*0.98,'←底'),COLORYELLOW;

DRAWTEXT(RSI1>80 AND PDI>40 AND ADX>50 AND COUNT(J>85,3)>=1 AND CCI80<REF(CCI80,1),H*1.05,'←逃');

买入:=COUNT(MDI>=40 AND ADX>=50 AND CCI14<-150,GUP6)>=1 AND HHV(BB,GUP6)/LLV(L,GUP6)>1.10;

DRAWTEXT(买入 AND CROSS(C,A1),L*0.98,'←买'),COLORRED;

GUP9:=(PDI>MDI AND ADD AND PDI<30) OR CROSS(PDI,MDI);

追涨:=(A1-A2)/A2*100<=3 AND A1>REF(A1,1) AND BB>REF(BB,1) AND A2>=REF(A2,1)*0.99 AND HHV(MDI,GUP8)>20 AND GUP9 AND J<85;

DRAWTEXT(追涨,L*0.98,'←追'),COLORRED;

MA5:MA(C,5);

GUA3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;

GUA4:=SMA(GUA3,3,1);

GUA5:=SMA(GUA4,3,1);

GUA6:=3*GUA4-2*GUA5;

GUA7:=C-REF(C,1);

GUA8:=100*EMA(EMA(GUA7,6),6)/EMA(EMA(ABS(GUA7),6),6);

卖出:=HHV(GUA8,2)=HHV(GUA8,20) AND COUNT(GUA8>0,5) AND CROSS(MA(GUA8,2),GUA8);

DRAWTEXT(FILTER(卖出=1,5),H+0.1,'←卖'),COLORGREEN;

微信图片_20221020180149.png

二、选股公式:

{选股公式一:底}

RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

J:=3*K-2*D;

LC:=REF(CLOSE,1);

RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

MTR:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),12);

HD:=HIGH-REF(HIGH,1);

LD:=REF(LOW,1)-LOW;

DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),12);

DMM:=EMA(IF(LD>0  AND LD>HD,LD,0),12);

PDI:=DMP*100/MTR;

MDI:=DMM*100/MTR;

ADX:=EMA(ABS(MDI-PDI)/(MDI+PDI)*100,2);

ADXR:=EMA(ADX,2);

ADD:=ADX>REF(ADX,1) AND REF(ADX,1)<=REF(ADX,2);

A1:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

A2:=(MA(C,14)+MA(C,25)+MA(C,60)+MA(C,140))/4;

BB:=(A1+A2)/2,LINETHICK2,COLORMAGENTA;

A3:=MA(C,25),LINETHICK2,COLORFF99CC;

A4:=EMA(C,3),COLOR0066FF;

GUP5:=BARSLAST(BB>REF(BB,1) AND REF(BB,1)<=REF(BB,2));

GUP6:=BARSLAST(BB<REF(BB,1) AND REF(BB,1)>=REF(BB,2));

底部:=REF(BB,GUP6)/LLV(L,GUP6)>1.10 AND HHV(MDI,GUP6)>=40 AND HHV(ADX,GUP6)>=50 AND LLV(J,BARSLAST(CROSS(K,J)))<=0 AND CROSS(J,K);

底:底部;

{选股公式二:买}

LC:=REF(CLOSE,1);

RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

MTR:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),12);

HD:=HIGH-REF(HIGH,1);

LD:=REF(LOW,1)-LOW;

DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),12);

DMM:=EMA(IF(LD>0  AND LD>HD,LD,0),12);

PDI:=DMP*100/MTR;

MDI:=DMM*100/MTR;

ADX:=EMA(ABS(MDI-PDI)/(MDI+PDI)*100,2);

ADXR:=EMA(ADX,2);

ADD:=ADX>REF(ADX,1) AND REF(ADX,1)<=REF(ADX,2);

TYP:=(HIGH+LOW+CLOSE)/3;

CCI14:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORWHITE;

CCI80:=(TYP-MA(TYP,70))/(0.015*AVEDEV(TYP,70));

A1:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

A2:=(MA(C,14)+MA(C,25)+MA(C,60)+MA(C,140))/4;

BB:=(A1+A2)/2,LINETHICK2,COLORMAGENTA;

GUP5:=BARSLAST(BB>REF(BB,1) AND REF(BB,1)<=REF(BB,2));

GUP6:=BARSLAST(BB<REF(BB,1) AND REF(BB,1)>=REF(BB,2));

买入:=COUNT(MDI>=40 AND ADX>=50 AND CCI14<-150,GUP6)>=1 AND HHV(BB,GUP6)/LLV(L,GUP6)>1.10;

买:买入;

{选股公式三:追}

RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

J:=3*K-2*D;

LC:=REF(CLOSE,1);

RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

MTR:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),12);

HD:=HIGH-REF(HIGH,1);

LD:=REF(LOW,1)-LOW;

DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),12);

DMM:=EMA(IF(LD>0  AND LD>HD,LD,0),12);

PDI:=DMP*100/MTR;

MDI:=DMM*100/MTR;

ADX:=EMA(ABS(MDI-PDI)/(MDI+PDI)*100,2);

ADXR:=EMA(ADX,2);

ADD:=ADX>REF(ADX,1) AND REF(ADX,1)<=REF(ADX,2);

TYP:=(HIGH+LOW+CLOSE)/3;

CCI14:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORWHITE;

CCI80:=(TYP-MA(TYP,70))/(0.015*AVEDEV(TYP,70));

A1:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

A2:=(MA(C,14)+MA(C,25)+MA(C,60)+MA(C,140))/4;

BB:=(A1+A2)/2,LINETHICK2,COLORMAGENTA;

A4:=EMA(C,3),COLOR0066FF;

GUP8:=A4<REF(A4,1) AND REF(A4,1)>=REF(A4,2);

GUP9:=(PDI>MDI AND ADD AND PDI<30) OR CROSS(PDI,MDI);

追涨:=(A1-A2)/A2*100<=3 AND A1>REF(A1,1) AND BB>REF(BB,1) AND A2>=REF(A2,1)*0.99 AND HHV(MDI,GUP8)>20 AND GUP9 AND J<85;

追:追涨;

文章评论 回复

    共收到1条评论
    gs***3 2022年10月20日 19:09
    股市长红网唯一官网:http://www.gushichanghong.com,炒股就上股市长红网!
     共1页    1 

周下载排行榜

月下载排行榜

免费指标公众号

联系我们

  • 建站时间:2014-06-18
  • 网站名称股市长红
  • 免费指标微信公众号股海操作手
  • VIP指标微信公众号股市长红网
  • 官方客服微信号:mhcj668