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

    正文概述    2024-05-04 04:15:59  

    通达信公式源码概况:指标类别:通达信公式授权方式: 免费版指标评级: ★★★★★指标分类: 策略画线方法: 副图“高量柱”和“低量柱”是某一阶段的对比。只要是某一阶段的最高量柱,就是“高量柱”;只要是某一阶段的最低量柱,就是“低量柱”。左边所指是低量柱,右边是高量柱,二者有如下三个“对立”的品质:高量柱是在某一价位成交火热的标志;而低量柱则是在某一价位成交清淡的标志。高量柱是在某一价位双方认同的标志;而低量柱则是在某一价位双方分歧的标志。高量柱之后的走向多数向下,少数向上;而低量柱后的走向多数向上,少数向下。公式源码如下: DIF:=EMA(CLOSE,12)-EMA(CLOSE,26),COLORFF80FF,LINETHICK1; DEA:EMA(DIF,9),COLORRED,LINETHICK2; MACD:(DIF-DEA)*2,COLORSTICK; 0,COLORWHITE; DIF2:EMA(CLOSE,8)-EMA(CLOSE,20),COLORGREEN,LINETHICK2; A1:=BARSLAST(REF(CROSS(DIF2,DIF),1)); A2:=BARSLAST(REF(CROSS(DIF2,DEA),1)); DB:=REF(C,A1+1) CANDREF(DIF2,A1+1) DIF2ANDREF(DIF2,1) DIF2ANDDIF2 0; DB2:=REF(C,A1+1) CANDREF(DIF,A1+1) DIFANDDIF 0; DB3:=REF(C,A2+1) CANDREF(DIF,A2+1) DIFANDDIF 0; STICKLINE(DB,DIF2,0,2,0),color00ffff; 总手:VOL; 倍量:VOL =REF(V,1)*1.90ANDC REF(C,1),coloryellow; 低量:VOL REF(LLV(VOL,13),1),colorgreen; 地量:=VOL REF(LLV(VOL,100),1),colormagenta; 平量:ABS(VOL-HHV(REF(VOL,1),5))/HHV(REF(VOL,1),5) =0.03ORABS(VOL-REF(VOL,1))/REF(VOL,1) =0.03,NODRAW,colorwhite; 倍缩:VOL =REF(V,1)*0.5,colorred; STICKLINE(倍量,0,V,1,1),coloryellow; STICKLINE(低量,0,V,1,0),colorgreen; STICKLINE(地量,0,V,1,0),colormagenta; STICKLINE(平量,0,V,1,0),colorwhite; STICKLINE(倍缩,0,V,1,0),colorred; 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; PLZ:=BETWEEN(V,REF(V,1)*0.95,REF(V,1)*1.05)ORBETWEEN(V,REFX(V,1)*0.95,REFX(V,1)*1.05)OR (BETWEEN(V,REF(V,2)*0.95,REF(V,2)*1.05)ANDV REF(V,1)*1.2)OR (BETWEEN(V,REF(V,3)*0.95,REF(V,3)*1.05)ANDV REF(MA(V,2),1)*1.2ANDV REF(HHV(V,2),1))OR (BETWEEN(V,REF(V,4)*0.95,REF(V,4)*1.05)ANDV REF(MA(V,3),1)*1.2ANDV REF(HHV(V,3),1))OR (BETWEEN(V,REF(V,5)*0.95,REF(V,5)*1.05)ANDV REF(MA(V,4),1)*1.2ANDV REF(HHV(V,4),1))OR (BETWEEN(V,REF(V,6)*0.95,REF(V,6)*1.05)ANDV REF(MA(V,5),1)*1.2ANDV REF(HHV(V,5),1))OR (BETWEEN(V,REF(V,7)*0.95,REF(V,7)*1.05)ANDV REF(MA(V,6),1)*1.2ANDV REF(HHV(V,6),1))OR (BETWEEN(V,REF(V,8)*0.95,REF(V,8)*1.05)ANDV REF(MA(V,7),1)*1.2ANDV REF(HHV(V,7),1))OR (BETWEEN(V,REF(V,9)*0.95,REF(V,9)*1.05)ANDV REF(MA(V,8),1)*1.2ANDV REF(HHV(V,8),1))OR (BETWEEN(V,REF(V,10)*0.95,REF(V,10)*1.05)ANDV REF(MA(V,9),1)*1.2ANDV REF(HHV(V,9),1))OR (BETWEEN(V,REF(V,11)*0.95,REF(V,11)*1.05)ANDV REF(MA(V,10),1)*1.2ANDV REF(HHV(V,10),1))OR (BETWEEN(V,REF(V,12)*0.95,REF(V,12)*1.05)ANDV REF(MA(V,11),1)*1.2ANDV REF(HHV(V,11),1)); 成交量:VOL,VOLSTICK; 预计量:IF(CURRBARSCOUNT=1ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL),COLORFFFF00; VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 买盘:IF(CLOSE OPEN,VAR1*(HIGH-LOW),IF(CLOSE OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT; 卖盘:-IF(CLOSE OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLORGREEN,POINTDOT; 净买:(买盘-卖盘),COLORRED,NODRAW; 换手率:HSL,NODRAW; 累计10日换手:SUM(换手率,10),NODRAW; {绿色柱子} STICKLINE(VOL 0,VOL,0,3.0,0),COLOR005500; STICKLINE(VOL 0,VOL,0,2.8,0),COLOR007700; STICKLINE(VOL 0,VOL,0,2.4,0),COLOR009900; STICKLINE(VOL 0,VOL,0,2.0,0),COLOR00AA00; STICKLINE(VOL 0,VOL,0,1.6.5,0),COLOR00BB00; STICKLINE(VOL 0,VOL,0,1.2,0),COLOR00CC00; STICKLINE(VOL 0,VOL,0,1.0,0),COLOR00DD00; STICKLINE(VOL 0,VOL,0,0.6,0),COLOR00EE00; STICKLINE(VOL 0,VOL,0,0.2,0),COLOR00FF00; {红色柱子} STICKLINE(买盘 0,0,买盘,3.0,0),COLOR0000BB; STICKLINE(买盘 0,0,买盘,2.7,0),COLOR0000CC; STICKLINE(买盘 0,0,买盘,2.4,0),COLOR0011CC; STICKLINE(买盘 0,0,买盘,2.0,0),COLOR1122DD; STICKLINE(买盘 0,0,买盘,1.7,0),COLOR2233DD; STICKLINE(买盘 0,0,买盘,1.3,0),COLOR3344EE; STICKLINE(买盘 0,0,买盘,1,0),COLOR4455EE; STICKLINE(买盘 0,0,买盘,0.6,0),COLOR5566FF; STICKLINE(买盘 0,0,买盘,0.3,0),COLOR6677FF; 五日:MA(VOL,5),COLORWHITE,LINETHICK1; 十日:MA(VOL,10),COLORFFFF00,LINETHICK1; 五日均买:MA(买盘,5),COLORWHITE,LINETHICK1; 十日均卖:MA(卖盘,5),COLORGREEN,LINETHICK1; 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:=BLZORGLZORPLZORTLZ,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; {高量柱战法} DRAWBAND(MA(CLOSE,5),RGB(140,42,43),MA(CLOSE,24),RGB(31,72,46)); DRAWKLINE(H,O,L,C); TJ:=VOL =REF(V,1)*1.91ANDC REF(C,1)*1.01; DRAWTEXT(TJ,LOW*0.986, ↖高量柱 ),COLORYELLOW; STICKLINE(TJ,OPEN,CLOSE,1.5,0),COLORYELLOW; K1:=SUMBARS(TJ,1); STICKLINE(K1,REF(C,K1-1),REF(C,K1-1),10,0),COLORYELLOW; VOL,VOLSTICK; STICKLINE(V =3*REF(V,1),V/3,V/2.5,3.9,0),COLORWHITE; STICKLINE(V =2*REF(V,1),V/2,V/1.7,3.9,0),COLORYELLOW; 流通〖亿〗:CAPITAL/1000000,LINETHICK0; 内外比:DYNAINFO(51),COLORYELLOW,LINETHICK0; 单日量比:V/REF(V,1),COLORWHITE,LINETHICK0; 五日量比:V/(REF(MA(V,5),1)/240),COLORYELLOW,LINETHICK0; 5换:SUM(100*V/CAPITAL,5),LINETHICK0; 10换:SUM(100*V/CAPITAL,10),LINETHICK0; 20换:SUM(100*V/CAPITAL,20),LINETHICK0; 主力启动线:MA(VOL,5); 主力洗盘线:MA(VOL,40); 资金异动线:MA(VOL,135); DRAWTEXT(CROSS(主力启动线,主力洗盘线)ANDV 主力洗盘线ANDV 资金异动线AND主力洗盘线 资金异动线,V, 穿三线  T1:=COUNT(V REF(V,1)*2,4)=1; T2:=COUNT(V REF(V,1)ANDL MIN(L,4)ANDL REF(L,1),3)=3; T3:T1ANDT2; 倍量:V/REF(V,1) =2ANDC-REF(C,1) 0; DRAWTEXT(倍量,H, 倍 ),COLORYELLOW; 缩倍量:V/REF(V,1) =0.5; DRAWTEXT(缩倍量,L, 半 ),COLORYELLOW; 连跌:LAST(V REF(V,1),2,1); 现量:DYNAINFO(8); 预量:DYNAINFO(8)*240/FROMOPEN; STICKLINE(倍量,0,VOL,2,0),COLORYELLOW;{原宽度为8,改为2}; STICKLINE(缩倍量,0,VOL/2,2,0),COLORWHITE;{原宽度为8,改为2}; M1:=5; M2:=135; volUME:VOL,VOLstICK; maVOL1:MA(VOLUME,M1); MAVOL2:MA(VOLUME,M2); 绿低量:=13; 蓝低量:=55; 灰低量:=100; N1:=21; SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20)); 量能饱和:IF(SAT 1,1,SAT)*100,COLOR00AAFF,NODRAW; 中点:=REFDATE(HHV(V,180)*0.5,DATE); STICKLINE(CURRBARSCOUNT=N1,中点*1.9,中点*1.5,100,1),COLOR00AAFF; STICKLINE(CURRBARSCOUNT=N1,中点*1.88,中点*1.52,量能饱和,0),COLOR0077FF; DRAWTEXT(CURRBARSCOUNT=N1+3,中点*1.8, 饱和度 ),COLORYELLOW; H_L:=0.1*CONST(HHV(VOL,240)); {MAV10:MA(V,10),COLORYELLOW;} 启动5:=MA(V,5),COLORWHITE; 洗盘40:=MA(V,40),COLORBLUE; 异动135:=MA(V,135),COLORMAGENTA; VVOL:=IF(CURRBARSCOUNT=1ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL);{模拟量} STICKLINE(CURRBARSCOUNT=1ANDPERIOD=5,VVOL,0,1,-1),COLOR00C0C0; 量:VOL,VOLSTICK; 换手:VOL*10000/FINANCE(7),NODRAW;{DYNAINFO(37)*100} 换10T:=SUM(换手,10),NODRAW; 倍数:=1.9; 倍量:VOL =REF(V,1)*倍数AND(IF(C O,C REF(C,1),1)),COLORYELLOW,NODRAW; 倍缩:REF(V,1) =VOL*倍数,COLORMAGENTA,NODRAW; 平量:RANGE(V/REF(V,1),0.97,1.03)ANDBARSCOUNT(V) =2,COLORWHITE,NODRAW; 低量10:VOL=LLV(VOL,绿低量)ANDBARSCOUNT(V) =绿低量,COLORGREEN,NODRAW; 低量50:VOL=LLV(VOL,蓝低量)ANDBARSCOUNT(V) =蓝低量,COLORBLUE,NODRAW; 地量:VOL=LLV(VOL,灰低量)ANDBARSCOUNT(V) =灰低量,COLORGRAY,NODRAW; V1:=VOL*0.9;{图标位置} V2:=VOL*0.8; STICKLINE(倍量,0,V1,1,0),COLORYELLOW; STICKLINE(平量,0,V1,1,0),COLORWHITE; STICKLINE(低量10,0,V2,1,0),COLORLIGREEN; STICKLINE(低量50,0,V2,1,0),COLORBLUE; STICKLINE(地量,0,V2,1,0),COLORGRAY; STICKLINE(倍缩,0,V*0.45,1,0),COLORMAGENTA; STICKLINE(C OANDC REF(C,1),0,V,0,0),COLORRED;{假阴柱} 真阳或假阴:=C OORC REF(C,1); 收阳:=REF(真阳或假阴,3); 倍量1:=REF(倍量,3); 高量:=REF(V,3) =HHV(V,7); 三日不破:=LLV(C,3) =REF(L,3); 价升:=COUNT(C =REF(C,1),3)=3;{收盘价逐升} 量缩:=COUNT(V =REF(V,1),3)=3; 连阳:=COUNT(真阳或假阴,3)=3; 倍量将军柱:=倍量1AND三日不破AND收阳; 高量将军柱:=高量AND三日不破AND收阳; 将军柱:=倍量将军柱OR高量将军柱; 黄金柱:=将军柱AND价升AND量缩AND连阳; STICKLINE(黄金柱,0.3*V,0.7*V,1,0),COLORRED;{红柱} DRAWICON(黄金柱,V*1.5,1); V100:=V =LLV(V,100)*1.2ANDV 0ANDBARSCOUNT(V) =100; 百日地量群:=COUNT(V100,5)  DRAWTEXT(FILTER(百日地量群,4),V+3*H_L, 地量群 ),COLORGRAY; 长阴短柱:=C/REF(C,1) =0.96ANDV HHV(V,30)/1.9; DRAWTEXT(长阴短柱,V+1.6*H_L, ! ),COLORLICYAN; RSV1:=(C-MA(C,4))/MA(C,4)*100; macd:EMA(EMA(RSV1,7),7)*8,NODRAW; 操盘:(MacD =0ANDMACD =REF(MACD,1)),NODRAW; STICKLINE(操盘,0,V,2,0),COLORRED; [源码注释]通达信公式动态公式解读AA赋值:(收盘价-开盘价)输出XG:收阳线AND 收盘价的5日简单移动平均位于(AA*2/3+开盘价)和(AA+开盘价)之间

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