最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 指标资讯

    正文概述    2024-05-04 04:39:55  

    以下是通达信阴线抓涨停指标公式源码和使用说明    使用说明    1.查找股票代码,并在通达信软件中打开对应的股票行情图表。    2.在指标工具栏中选择“通达信阴线抓涨停指标”。    3.根据个人需求,可以调整指标的计算周期,如默认为20个交易日。    4.观察指标的数值。当指标值较大时,表明当天的下跌幅度较大,可能存在涨停的机会。    5.结合其他技术指标、市场走势以及个股基本面等因素进行综合分析,以作出交易决策。通达信阴线抓涨停指标公式源码: DING:=MAX(O,C);{实顶} DI:=MIN(O,C);{实底} YANG:=(DI =REF(DING,1))OR(C OANDNOT(DING =REF(DI,1)))OR(C REF(C,1)ANDC=O)OR(C=REF(C,1)ANDC=OANDREF(DING,1)=C);{阳线} YIN:=NOT(YANG); {YIN:=(C OANDNOT(DI =REF(DING,1)))OR(C OANDDING =REF(DI,1))OR(C REF(C,1)ANDC=O)OR(C=REF(C,1)ANDC=OANDREF(DI,1)=C);{阴线}} YANGSHENG:YANGANDC =REF(DING,BARSLAST(YIN))AND(V REF(V,BARSLAST(YIN))OR(BETWEEN(V,REF(V,BARSLAST(YIN))*0.95,REF(V,BARSLAST(YIN))*1.05))),NODRAW; DRAWTEXT(YANGSHENGANDREF(NOT(YANGSHENG),1),L*0.99, △ ),COLORRED; DRAWTEXT(YANGSHENGANDREF(NOT(YANGSHENG),1)ANDV REF(V,1)*1.5,L*0.99, ▲ ),COLORRED; YINSHENG:=(YINANDC =REF(DI,BARSLAST(YANG))ANDV REF(V,BARSLAST(YANG))); DRAWTEXT(YINSHENGANDREF(NOT(YINSHENG),1),H*1.02, ▽ ),COLORGREEN; LIANGJIABI:V/C,NODRAW; MALIANGJIABI:MA(LIANGJIABI,3),NODRAW; LIANGJIABIXISHU:=1.5; BLZ:=V REF(V,1)*1.5; GLZ:=V=HHV(V,3)ANDV=REFX(HHV(V,3),2); TLZ:=(V*1.1 REFX(V,1)ANDREFX(V,1)*1.1 REFX(V,2))OR(V REF(V,1)*1.1ANDV*1.1 REFX(V,1))OR(V REF(V,1)*1.1ANDREF(V,1) REF(V,2)*1.1); JSLS:=C =REFX(C,1)ANDREFX(C,1) =REFX(C,2)ANDLIANGJIABI REFX(LIANGJIABI,1)ANDREFX(LIANGJIABI,1) REFX(LIANGJIABI,2); JZ:=BLZORGLZORTLZ,NODRAW; JJZ:=CURRBARSCOUNT =4ANDYANGAND(YANGSHENG)ANDJZANDREFX(LLV(DI,3),3) =DIAND(REFX(MA(LIANGJIABI,3),3) =LIANGJIABIXISHU*LIANGJIABIORREFX(JSLS,1))ANDREFX(C,3) =DING,NODRAW; HJZ1:=JJZANDREFX(MA(C,3),3) =DINGANDREFX(MA(LIANGJIABI,3),3) =LIANGJIABIANDREFX(YANG,3); HJZ2:=YANGANDYANGSHENGANDJZANDREFX(DI,1) =DIANDREFX(JJZ,2)ANDREFX(C,2) DINGANDREFX(LIANGJIABI,1) LIANGJIABI; HJZ3:=YANGANDYANGSHENGANDJZANDREFX(LLV(DI,2),2) =DIANDREFX(JJZ,3)ANDREFX(C,3) DINGANDREFX(MA(LIANGJIABI,2),2) LIANGJIABI; HJZ4:=JJZANDREFX(LLV(DI,3),3) =DINGANDREFX(MA(LIANGJIABI,3),3) =LIANGJIABIANDREFX(YANG,3)AND(REFX(YANG,1)ORREFX(YANG,2)); WP:JJZORHJZ1ORHJZ4ORHJZ2ORHJZ3,NODRAW; CONDJJZ:=JJZANDREF(NOT(WP),1); CONDHJZ1:=(HJZ1ORHJZ2ORHJZ3)ANDREF(NOT(WP),1); STICKLINE(CONDJJZ,C,O,1,0),COLORYELLOW; STICKLINE(CONDHJZ1,C,O,1,0),COLORMAGENTA; DRAWTEXT(HJZ4ANDREF(NOT(HJZ4),1),L*0.98, H ),COLORRED; DRAWLINE(CONDJJZ,DING,REF(CONDJJZ,1),REF(DING,1),1),COLORBROWN; DRAWLINE(CONDJJZ,DI,REF(CONDJJZ,1),REF(DI,1),1),COLORBROWN; DRAWLINE(CONDHJZ1,DING,REF(CONDHJZ1,1),REF(DING,1),1),COLORBROWN; DRAWLINE(CONDHJZ1,DI,REF(CONDHJZ1,1),REF(DI,1),1),COLORBROWN; Z:=CONDJJZORCONDHJZ1; PZ:=REF(C,BARSLAST(Z)); SHENG:=IF(ZANDC REF(PZ,1),1,DRAWNULL); P1DI:=REF(DI,1); P1L:=REF(L,1); P2DI:=REF(DI,2); P2L:=REF(L,2); P3DI:=REF(DI,3); P3L:=REF(L,3); P4DI:=REF(DI,4); P4L:=REF(L,4); P5DI:=REF(DI,5); P5L:=REF(L,5); P6DI:=REF(DI,6); P6L:=REF(L,6); P7DI:=REF(DI,7); P7L:=REF(L,7); P8DI:=REF(DI,8); P8L:=REF(L,8); P9DI:=REF(DI,9); P9L:=REF(L,9); P10DI:=REF(DI,10); P10L:=REF(L,10); P11DI:=REF(DI,11); P11L:=REF(L,11); P12DI:=REF(DI,12); P12L:=REF(L,12); P13DI:=REF(DI,13); P13L:=REF(L,13); P14DI:=REF(DI,14); P14L:=REF(L,14); P15DI:=REF(DI,15); P15L:=REF(L,15); P16DI:=REF(DI,16); P16L:=REF(L,16); P17DI:=REF(DI,17); P17L:=REF(L,17); P18DI:=REF(DI,18); P18L:=REF(L,18); P19DI:=REF(DI,19); P19L:=REF(L,19); P20DI:=REF(DI,20); P20L:=REF(L,20); JZX1:=ABS(DI-P1DI) =0.01ORABS(DI-P2DI) =0.01ORABS(DI-P3DI) =0.01ORABS(DI-P4DI) =0.01ORABS(DI-P5DI) =0.01ORABS(DI-P6DI) =0.01ORABS(DI-P7DI) =0.01ORABS(DI-P8DI) =0.01ORABS(DI-P9DI) =0.01ORABS(DI-P10DI) =0.01OR ABS(DI-P11DI) =0.01ORABS(DI-P12DI) =0.01ORABS(DI-P13DI) =0.01ORABS(DI-P14DI) =0.01ORABS(DI-P15DI) =0.01ORABS(DI-P16DI) =0.01ORABS(DI-P17DI) =0.01ORABS(DI-P18DI) =0.01ORABS(DI-P19DI) =0.01ORABS(DI-P20DI) =0.01; JZX2:=ABS(DI-P1L) =0.01ORABS(DI-P2L) =0.01ORABS(DI-P3L) =0.01ORABS(DI-P4L) =0.01ORABS(DI-P5L) =0.01ORABS(DI-P6L) =0.01ORABS(DI-P7L) =0.01ORABS(DI-P8L) =0.01ORABS(DI-P9L) =0.01ORABS(DI-P10L) =0.01OR ABS(DI-P11L) =0.01ORABS(DI-P12L) =0.01ORABS(DI-P13L) =0.01ORABS(DI-P14L) =0.01ORABS(DI-P15L) =0.01ORABS(DI-P16L) =0.01ORABS(DI-P17L) =0.01ORABS(DI-P18L) =0.01ORABS(DI-P19L) =0.01ORABS(DI-P20L) =0.01; JZX3:=ABS(L-P1DI) =0.01ORABS(L-P2DI) =0.01ORABS(L-P3DI) =0.01ORABS(L-P4DI) =0.01ORABS(L-P5DI) =0.01ORABS(L-P6DI) =0.01ORABS(L-P7DI) =0.01ORABS(L-P8DI) =0.01ORABS(L-P9DI) =0.01ORABS(L-P10DI) =0.01OR ABS(L-P11DI) =0.01ORABS(L-P12DI) =0.01ORABS(L-P13DI) =0.01ORABS(L-P14DI) =0.01ORABS(L-P15DI) =0.01ORABS(L-P16DI) =0.01ORABS(L-P17DI) =0.01ORABS(L-P18DI) =0.01ORABS(L-P19DI) =0.01ORABS(L-P20DI) =0.01; JZX4:=ABS(L-P1L) =0.01ORABS(L-P2L) =0.01ORABS(L-P3L) =0.01ORABS(L-P4L) =0.01ORABS(L-P5L) =0.01ORABS(L-P6L) =0.01ORABS(L-P7L) =0.01ORABS(L-P8L) =0.01ORABS(L-P9L) =0.01ORABS(L-P10L) =0.01OR ABS(L-P11L) =0.01ORABS(L-P12L) =0.01ORABS(L-P13L) =0.01ORABS(L-P14L) =0.01ORABS(L-P15L) =0.01ORABS(L-P16L) =0.01ORABS(L-P17L) =0.01ORABS(L-P18L) =0.01ORABS(L-P19L) =0.01ORABS(L-P20L) =0.01; DRAWTEXT(JZX1ORJZX2,DI, + ),COLORWHITE; DRAWTEXT(JZX3ORJZX4,L, + ),COLORWHITE; P1DING:=REF(DING,1); P1H:=REF(H,1); P2DING:=REF(DING,2); P2H:=REF(H,2); P3DING:=REF(DING,3); P3H:=REF(H,3); P4DING:=REF(DING,4); P4H:=REF(H,4); P5DING:=REF(DING,5); P5H:=REF(H,5); P6DING:=REF(DING,6); P6H:=REF(H,6); P7DING:=REF(DING,7); P7H:=REF(H,7); P8DING:=REF(DING,8); P8H:=REF(H,8); P9DING:=REF(DING,9); P9H:=REF(H,9); P10DING:=REF(DING,10); P10H:=REF(H,10); P11DING:=REF(DING,11); P11H:=REF(H,11); P12DING:=REF(DING,12); P12H:=REF(H,12); P13DING:=REF(DING,13); P13H:=REF(H,13); P14DING:=REF(DING,14); P14H:=REF(H,14); P15DING:=REF(DING,15); P15H:=REF(H,15); P16DING:=REF(DING,16); P16H:=REF(H,16); P17DING:=REF(DING,17); P17H:=REF(H,17); P18DING:=REF(DING,18); P18H:=REF(H,18); P19DING:=REF(DING,19); P19H:=REF(H,19); P20DING:=REF(DING,20); P20H:=REF(H,20); JZX5:=ABS(DI-P1DING) =0.01ORABS(DI-P2DING) =0.01ORABS(DI-P3DING) =0.01ORABS(DI-P4DING) =0.01ORABS(DI-P5DING) =0.01ORABS(DI-P6DING) =0.01ORABS(DI-P7DING) =0.01ORABS(DI-P8DING) =0.01ORABS(DI-P9DING) =0.01ORABS(DI-P10DING) =0.01OR ABS(DI-P11DING) =0.01ORABS(DI-P12DING) =0.01ORABS(DI-P13DING) =0.01ORABS(DI-P14DING) =0.01ORABS(DI-P15DING) =0.01ORABS(DI-P16DING) =0.01ORABS(DI-P17DING) =0.01ORABS(DI-P18DING) =0.01ORABS(DI-P19DING) =0.01ORABS(DI-P20DING) =0.01; JZX6:=ABS(DI-P1H) =0.01ORABS(DI-P2H) =0.01ORABS(DI-P3H) =0.01ORABS(DI-P4H) =0.01ORABS(DI-P5H) =0.01ORABS(DI-P6H) =0.01ORABS(DI-P7H) =0.01ORABS(DI-P8H) =0.01ORABS(DI-P9H) =0.01ORABS(DI-P10H) =0.01OR ABS(DI-P11H) =0.01ORABS(DI-P12H) =0.01ORABS(DI-P13H) =0.01ORABS(DI-P14H) =0.01ORABS(DI-P15H) =0.01ORABS(DI-P16H) =0.01ORABS(DI-P17H) =0.01ORABS(DI-P18H) =0.01ORABS(DI-P19H) =0.01ORABS(DI-P20H) =0.01; JZX7:=ABS(L-P1DING) =0.01ORABS(L-P2DING) =0.01ORABS(L-P3DING) =0.01ORABS(L-P4DING) =0.01ORABS(L-P5DING) =0.01ORABS(L-P6DING) =0.01ORABS(L-P7DING) =0.01ORABS(L-P8DING) =0.01ORABS(L-P9DING) =0.01ORABS(L-P10DING) =0.01OR ABS(L-P11DING) =0.01ORABS(L-P12DING) =0.01ORABS(L-P13DING) =0.01ORABS(L-P14DING) =0.01ORABS(L-P15DING) =0.01ORABS(L-P16DING) =0.01ORABS(L-P17DING) =0.01ORABS(L-P18DING) =0.01ORABS(L-P19DING) =0.01ORABS(L-P20DING) =0.01; JZX8:=ABS(L-P1H) =0.01ORABS(L-P2H) =0.01ORABS(L-P3H) =0.01ORABS(L-P4H) =0.01ORABS(L-P5H) =0.01ORABS(L-P6H) =0.01ORABS(L-P7H) =0.01ORABS(L-P8H) =0.01ORABS(L-P9H) =0.01ORABS(L-P10H) =0.01OR ABS(L-P11H) =0.01ORABS(L-P12H) =0.01ORABS(L-P13H) =0.01ORABS(L-P14H) =0.01ORABS(L-P15H) =0.01ORABS(L-P16H) =0.01ORABS(L-P17H) =0.01ORABS(L-P18H) =0.01ORABS(L-P19H) =0.01ORABS(L-P20H) =0.01; DRAWTEXT(JZX5ORJZX6,DI, + ),COLORYELLOW; DRAWTEXT(JZX7ORJZX8,L, + ),COLORYELLOW; M2:=Ema(C,2); M18:=EMA(C,18); 买点:=IF(crOSS(M18,M2),5,0*10000),COLORFF00FF,LINETHICK2; RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100; VARB2:=(RSVV/2+22)*1; Q:=EMA(vol,13); Y:=EMA(AMOUNT,13); S:=((Y/Q)/100); X:=(((CLOSE-S)/S)*100); F:=((X (0))ANDZXNH); XQ:=FANDRSVV VARB2-2; XG:买点ANDXQCOLORYELLOW,LINETHICK3;通达信阴线抓涨停指标公式截图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 指标资讯 加入收藏