通达信主副图指标集锦
[转载]通达信主副图指标
[转载]通达信主副图指标原⽂地址:通达信主副图指标作者:好过些博主通达信主图:DRAWGBK(C>0, RGB(0,0,00),RGB(0,0,0),0,'BB',0);DRAWKLINE(HIGH,OPEN,LOW,CLOSE);M5:MA(CLOSE,5);M10:MA(CLOSE,10);M20:MA(CLOSE,20);M30:MA(CLOSE,30);M60:MA(CLOSE,60);M120:MA(CLOSE,120);M250:MA(CLOSE,250);超B:=L2_AMO(0,2)/10000.0;⼤B:=L2_AMO(1,2)/10000.0;中B:=L2_AMO(2,2)/10000.0;⼩B:=L2_AMO(3,2)/10000.0;超S:=L2_AMO(0,3)/10000.0;⼤S:=L2_AMO(1,3)/10000.0;中S:=L2_AMO(2,3)/10000.0;⼩S:=L2_AMO(3,3)/10000.0;TESTSKIP(NOT(超B OR ⼤B OR 中B OR ⼩B OR 超S OR ⼤S OR 中S OR ⼩S)!=0);⼤宗进:=(超B)+(⼤B),NODRAW;⼤宗出:=(超S)+(⼤S),NODRAW;⾮⼤宗进:=(中B)+(⼩B),NODRAW;⾮⼤宗出:=(中S)+(⼩S),NODRAW;DAZHIV:=CONST(MAX(ABS(⼤宗进),MAX(ABS(⼤宗出),MAX(ABS(⾮⼤宗进),ABS(⾮⼤宗出))))),NODRAW; DRAWRECTREL(0,CONST(950-(ABS(⼤宗进)*250/DAZHIV)),30,970,IF(CONST(⼤宗进>0),RGB(255,0,0),RGB(23,125,255)));DRAWRECTREL(32,CONST(950-(ABS(⼤宗出)*250/DAZHIV)),62,970,IF(CONST(⼤宗出>0),RGB(23,125,255),RGB(255,0,0)));DRAWRECTREL(92,CONST(950-(ABS(⾮⼤宗进)*250/DAZHIV)),122,970,IF(CONST(⾮⼤宗进>0),RGB(255,0,0),RGB(23,125,255)));DRAWRECTREL(124,CONST(950-(ABS(⾮⼤宗出)*250/DAZHIV)),154,970,IF(CONST(⾮⼤宗出>0),RGB(23,125,255),RGB(255,0,0)));DRAWTEXT_FIX(CURRBARSCOUNT=1,0.015,1,0,'主⼒进出'),COLORMAGENTA;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.107,1,0,'散户进出'),COLORCYAN;主⼒买⼒度:=LARGEINTRDVOL*100/VOL;主⼒卖⼒度:=LARGEOUTTRDVOL*100/VOL;AAD:=CONST(MAX(ABS(主⼒买⼒度),ABS(主⼒卖⼒度)))*4,NODRAW;DRAWRECTREL(0,515,CONST(ABS(主⼒买⼒度)*500/AAD),568,IF(CONST(主⼒买⼒度)>0,RGB(255,0,0),RGB(0,50,0))); DRAWRECTREL(0,570,CONST(ABS(主⼒卖⼒度)*500/AAD),623,IF(CONST(主⼒卖⼒度)>0,RGB(0,50,0),RGB(255,0,0))); DRAWTEXT_FIX(1,0,0.524,0,STRCAT('主买⼒度:',CON2STR(主⼒买⼒度,0))),COLORYELLOW;DRAWTEXT_FIX(1,0,0.576,0,STRCAT('主卖⼒度:',CON2STR(主⼒卖⼒度,0))),COLORYELLOW;VAR111:=ZIG(3,13);STICKLINE((REF(VAR111,2) < REF(VAR111,1)) AND (VAR111 < REF(VAR111,1)),CLOSE,OPEN,3,0),COLOR66FF00; DRAWTEXT_FIX(STICKLINE((REF(VAR111,2) < REF(VAR111,1)) AND (VAR111 <REF(VAR111,1)),CLOSE,OPEN,5,0),0.00,0.11,0,''),COLOR00FF00,LINETHICK1;DRAWTEXT_FIX(1,0,0,0,'地区:'),COLOR99CC32;DRAWTEXT_FIX(1,0.03,0,0,DYBLOCK),COLOR99CC32; DRAWTEXT_FIX(1,0.1,0,0,'⾏业:'),COLORGREEN;DRAWTEXT_FIX(1,0.13,0,0,HYBLOCK),COLORGREEN; DRAWTEXT_FIX(1,0.19,0,0,'概念:'),COLORFF00FF;DRAWTEXT_FIX(1,0.22,0,0,GNBLOCK),COLORFF00FF; 通达信成交量副图公式:量(万⼿):VOL/10000,NODRAW,VOLSTICK,COLORGREEN;{流通盘(亿⼿):CAPITAL/1000000,NODRAW,COLORLIGRAY;年收益:FINANCE(33),NODRAW,COLORCYAN;每股净资:FINANCE(34),NODRAW,COLORGREEN;}股东权益:FINANCE(36),NODRAW,COLORMAGENTA;每股公积:FINANCE(18)/1,NODRAW,COLORRED;{换⼿率:VOL/CAPITAL*100,NODRAW,COLORRED;}逐笔买卖差:(LARGEINTRDVOL-LARGEOUTTRDVOL)/10000,COLORBROWN,NODRAW;主动买卖差:(ACTINVOL-ACTOUTVOL)/10000,COLORBROWN,NODRAW;A01:=DYNAINFO(7);A03:=BARSCOUNT(CLOSE);A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);A05:=IF((A03 > 20),A04,0);A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));A07:=DMA(A06,(VOL / CAPITAL)) * 60;A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0);VAR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);VAR2:=EMA(VAR1,8);VAR3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势:=EMA(VAR3,3)-10;STICKLINE((A09>0) AND 趋势<40,0,V/40000,2,0),COLORMAGENTA;A011:=DYNAINFO( 5);A013:=BARSCOUNT(HIGH);A014:=(SMA((HIGH / HHV(CLOSE,120)),3,1) * 100);A015:=IF((A013 > 20),A014,0);A016:=IF((HIGH < A011),0,IF((LOW > A011),1,(((A011 - HIGH) + 0.009) / ((LOW - HIGH) + 0.009))));A017:=DMA(A016,(VOL / CAPITAL)) * 60;A019:=IF((((A017 >0) AND (A017 > REF(A017,1))) AND (A015 >= 88)),A017,0);VAR21:=3*SMA((CLOSE-HHV(HIGH,27))/(LLV(LOW,27)-HHV(HIGH,27))*100,5,1)-2*SMA(SMA((HIGH-HHV(HIGH,27))/(LLV(LOW,27)-HHV(HIGH,27))*100,5,1),3,1);VAR22:=EMA(VAR21,8);VAR23:=3*SMA((HIGH-HHV(HIGH,55))/(LLV(LOW,55)-HHV(HIGH,55))*100,5,1)-2*SMA(SMA((HIGH-HHV(HIGH,55))/(LLV(LOW,55)-HHV(HIGH,55))*100,5,1),3,1);趋势1:=EMA(VAR23,3)-10;STICKLINE((A019 > 0 AND (趋势1<20 OR 趋势1>REF(趋势1,1)AND 趋势1<50)),0,V/40000,2,0),COLORGREEN; B2:DRAWICON(CROSS(ZIG(3,6),REF(ZIG(3,6),1)),V/10000,1) ;S2:DRAWICON(CROSS(REF(ZIG(3,4),1),ZIG(3,4)),V/10000,2);AA1:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);预量:AA1/10000,COLORWHITE;昨:(REF(V,1))/10000,COLORFFFF00,NODRAW;M20:MA(VOL/10000,20),COLORGREEN;M3:MA(VOL/10000,3),COLORYELLOW;超B:=L2_AMO(0,2)/10000.0;⼤B:=L2_AMO(1,2)/10000.0;中B:=L2_AMO(2,2)/10000.0;⼩B:=L2_AMO(3,2)/10000.0;超S:=L2_AMO(0,3)/10000.0;⼤S:=L2_AMO(1,3)/10000.0;中S:=L2_AMO(2,3)/10000.0;⼩S:=L2_AMO(3,3)/10000.0;净流⼊:=(超B+⼤B+中B+⼩B)-(超S+⼤S+中S+⼩S),NODRAW;超⼤单:=(超B)-(超S),NODRAW;⼤单:=(⼤B)-(⼤S),NODRAW;中单:=(中B)-(中S),NODRAW;⼩单:=(⼩B)-(⼩S),NODRAW;DAZHI:=CONST(MAX(ABS(净流⼊),MAX(ABS(超⼤单),MAX(ABS(⼤单),MAX(ABS(中单),ABS(⼩单)))))),NODRAW; DRAWRECTREL(0,0,180,999.4,IF(120,RGB(10,0,0),0));DRAWRECTREL(0,CONST(830-(ABS(净流⼊)*500/DAZHI)),30,935,IF(CONST(净流⼊)>0,RGB(100,0,0{255,0,255}),RGB(0,100,100)));DRAWRECTREL(35,CONST(830-(ABS(超⼤单)*500/DAZHI)),65,935,IF(CONST(超⼤单)>0,RGB(100,0,0),RGB(0,50,0))); DRAWRECTREL(70,CONST(830-(ABS(⼤单)*500/DAZHI)),100,935,IF(CONST(⼤单)>0,RGB(100,0,0),RGB(0,50,0))); DRAWRECTREL(105,CONST(830-(ABS(中单)*500/DAZHI)),135,935,IF(CONST(中单)>0,RGB(100,0,0),RGB(0,50,0))); DRAWRECTREL(140,CONST(830-(ABS(⼩单)*500/DAZHI)),170,935,IF(CONST(⼩单)>0,RGB(100,0,0),RGB(0,50,0))); DRAWTEXT_FIX(CURRBARSCOUNT=1,0.002,0.98,0,'净流超⼤⼤单中单⼩单'),COLORYELLOW; DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0,0,'资⾦搏弈 (万元)'),COLORYELLOW;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.002,0.55,0,INTPART(净流⼊)),COLORWHITE;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.036,0.30,0,INTPART(超⼤单)),COLORWHITE;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.070,0.55,0,INTPART(⼤单)),COLORWHITE;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.106,0.30,0,INTPART(中单)),COLORWHITE;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.145,0.55,0,INTPART(⼩单)),COLORWHITE;通达信macd指标:参数:LONG 10 200 26SHORT 2 20 12MID 0 200 9N 1 100 9P1 1 30 3P2 1 30 3N1 1 150 39n2 1 150 1M1 1 150 39m2 1 150 1DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);DEA:EMA(DIF,MID);MACD:(DIF-DEA)*2,COLORSTICK,COLOR0000FF;VAR3:=HHV(HIGH,60);VAR4:=LLV(LOW,30);VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;VAR6:=(VAR3+VAR4+VAR5)/3;VAR7:=EMA(VAR6,5);K:=EMA(VAR7,5)*2, COLORFF00FF;D:=EMA(K,5), COLORWHITE;J:=K*3-D*2, COLORYELLOW;ENTERLONG:=CROSS(K,D);EXITLONG:=CROSS(D,K);B:=(DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2))AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),L*0.98,1))*D*2/3;Q:=(DRAWICON((ZIG(3,5)=REF(ZIG(3,5),2))AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),H*1.01,2))*D*2/3;超B:=L2_AMO(0,2)/10000.0;⼤B:=L2_AMO(1,2)/10000.0;中B:=L2_AMO(2,2)/10000.0;⼩B:=L2_AMO(3,2)/10000.0;超S:=-L2_AMO(0,3)/10000.0;⼤S:=-L2_AMO(1,3)/10000.0;中S:=-L2_AMO(2,3)/10000.0;⼩S:=-L2_AMO(3,3)/10000.0;资⾦净流⼊万:(超B+⼤B+中B+⼩B)+(超S+⼤S+中S+⼩S),NODRAW,COLORWHITE;买进:B,STICK,LINETHICK2,COLORYELLOW;卖出:Q,STICK,LINETHICK2,COLORGREEN;涨家数:INDEXADV,COLOR0080FF,NODRAW;跌家数:INDEXDEC,COLORGREEN,NODRAW;TJ1:=(C+0.01-REF(C,1))/REF(C,1)*100;TJ2:=(C-0.01-REF(C,1))/REF(C,1)*100;TJ3:=(C-REF(C,1))/REF(C,1)*100;Q1:=IF(TJ1>10.05,1,0);Q2:=IF(TJ2<9.95 AND TJ3>=9.95,1,0);涨停板:IF(Q1 OR Q2,0.5,0),COLORFF00FF;TT:=240/FROMOPEN;⽐:=TT;促进指数MFL:=(HIGH-LOW)*1000000/(VOL*⽐),COLORRED;AY2:=EMA(CLOSE,12)-EMA(CLOSE,26);AZ2:=EMA(AY2,9);LT2:=(AY2-AZ2);L211:=IF(LT2,LLV(L,21),DRAWNULL),COLOR217158,CIRCLEDOT;ZGD:=HHV(H,80)*0.99;ZGD2:=CONST(ZGD);ZDD:=LLV(L211,80);ZDD2:=CONST(ZDD);YYA4:=MA(CLOSE,20);YYA5:=(CLOSE > MA(CLOSE,5));YYA6:=(MA(CLOSE,5) > MA(CLOSE,10));YYA7:=(CLOSE > MA(CLOSE,10));YYA8:=(MA(CLOSE,5) > MA(CLOSE,20));YYA9:=(CLOSE > MA(CLOSE,20));YYA10:=REF(YYA4,1);YYA11:=(YYA4 > YYA10);YYAVX:=(((((IF(YYA5,10,(0 - 10)) + IF(YYA6,10,(0 - 10))) + IF(YYA7,10,(0 - 10))) + IF(YYA8,10,(0 - 10))) + IF(YYA9,10,(0 - 10))) + IF(YYA11,10,(0 - 10)));DSLX:=(CLOSE / INDEXC);DSLX1:=MA(DSLX,5);DSLX2:=MA(DSLX,10);YYV1:=MA(VOL,5);YYV2:=MA(VOL,10);J1:=CONST(IF( YYAVX > 0,200,100));J2:=CONST(IF( YYAVX > 0,00,100));J3:=CONST(IF( YYAVX > 0,100,100));ZGD3:=ZGD2;ZDD3:=ZDD2;ZGD4:=ZGD2;情况1:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0)),NODRAW;情况2:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));情况3:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 > YYV2)) AND (DSLX < DSLX1)),1,0));情况4:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 <= YYV2)) AND (DSLX < DSLX1)),1,0));情况5:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0));情况6:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));情况7:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0));情况8:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0));情况9:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0));情况10:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));情况11:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)) AND (DSLX <DSLX1)),1,0)),NODRAW;情况12:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0));情况13:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0));情况14:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));情况15:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0));情况16:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0));⼤盘1:=CONST(IF((CROSS(YYAVX,1) AND (YYV1 >= YYV2)),1,0));⼤盘2:=CONST(IF((CROSS(YYAVX,1) AND (YYV1 < YYV2)),1,0));⼤盘3:=CONST(IF((CROSS(1,YYAVX) AND (YYV1 >= YYV2)),1,0));⼤盘4:=CONST(IF((CROSS(1,YYAVX) AND (YYV1 < YYV2)),1,0));⼤盘5:=CONST(IF((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)),1,0));⼤盘6:=CONST(IF((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)),1,0));⼤盘7:=CONST(IF((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)),1,0));⼤盘8:=CONST(IF((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)),1,0));MFI:=(HIGH-LOW)*1000000/(VOL*⽐);TS1:=IF(情况1=1,0.7+0.06,0.7);TS2:=IF(情况2=1,TS1+0.06,TS1);TS3:=IF(情况3=1,TS2+0.06,TS2);TS4:=IF(情况4=1,TS3+0.06,TS3);TS5:=IF(情况5=1,TS4+0.06,TS4);TS6:=IF(情况6=1,TS5+0.06,TS5);TS7:=IF(情况7=1,TS6+0.06,TS6);TS8:=IF(情况8=1,TS7+0.06,TS7);TS9:=IF(情况9=1,TS8+0.06,TS8);TS10:=IF(情况10=1,TS9+0.06,TS9);TS11:=IF(情况11=1,TS10+0.06,TS10);TS12:=IF(情况12=1,TS11+0.06,TS11);TS13:=IF(情况13=1,TS12+0.06,TS12);TS14:=IF(情况14=1,TS13+0.06,TS13);TS15:=IF(情况15=1,TS14+0.06,TS14);TS16:=IF(情况16=1,TS15+0.06,TS15);TS17:=IF(⼤盘1=1,TS16+0.06,TS16);TS18:=IF(⼤盘2=1,TS17+0.06,TS17);TS19:=IF(⼤盘3=1,TS18+0.06,TS18);TS20:=IF(⼤盘4=1,TS19+0.06,TS19);TS21:=IF(⼤盘5=1,TS20+0.06,TS20);TS22:=IF(⼤盘6=1,TS21+0.06,TS21);TS23:=IF(⼤盘7=1,TS22+0.06,TS22);TS24:=IF(⼤盘8=1,TS23+0.06,TS23);DRAWTEXT_FIX(情况1=1 ,0,0.00,0,'量能理想,明显⾛强,中线参与,仓位在2/3左右'),COLORCYAN;DRAWTEXT_FIX(情况2=1 ,0,0.00,0,'⾛势趋强量能不⾜,短线进场,仓位在1/2左右'),COLORCYAN;DRAWTEXT_FIX(情况3=1 ,0,0.00,0,'量价良好,并没有明显⾛强,短线进场,仓位1/2左右。
通达信【准备抄底】副图选股指标-抄底指标
通达信【准备抄底】副图选股指标-抄底指标通达信【准备抄底】副图选股指标-抄底指标【副图指标】X_1:=LLV(LOW,55);X_2:=HHV(HIGH,55);X_3:=CLOSE-X_1;X_4:=X_2-X_1;X_5:=X_3/X_4;X_6:=3*SMA(X_5*100,7,1)-2*SMA(X_5*100,7,1);X_7:=REF(DMA(X_6,2),1);X_8:=SMA(X_6,2,1);X_9:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*200*10;X_10:=SMA(X_9,3,1);X_11:=LLV(X_10,3);X_12:=HHV(X_10,3);X_13:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);X_14:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));X_15:=IF(CLOSE>OPEN,X_14*(HIGH-LOW),IF(CLOSE<OPEN,X_14*(HIGH-OPEN+(CLOSE-LOW)),VOL/2))+IF(CLOSE>OPEN,0-X_14*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,0-X_14*(HIGH-LOW),0-VOL/2));X_16:=X_15/20/1.15;X_17:=X_16*0.55+REF(X_16,1)*0.33+REF(X_16,2)*0.22;X_18:=EMA(X_17,3);X_19:=EMA(X_18,13)-EMA(X_18,34);X_20:=X_19-EMA(X_19,3);X_21:=IF(X_20>=0,1,0);X_22:=AMOUNT/(100*VOL);X_23:=MA(X_22,40);X_24:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;X_25:=SMA(SMA(X_24,3,1),3,1);X_26:=SMA(X_25,5,1)*15;X_27:=X_9<X_11;X_28:=IF(X_21 OR (X_9>X_11 OR X_9>X_26),1,0);X_29:=X_9<X_26 AND X_28=0;X_30:=X_9>X_26 AND X_9>X_12;X_31:=X_9<X_10 AND X_9>X_26;X_32:=STICKLINE(X_27,30,30-X_24/5,1.5,1);X_33:=STICKLINE(X_28,30,30+X_24/5*0.8,3.3,1);X_34:=3;X_35:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);X_36:=LLV(LOW,27);X_37:=HHV(HIGH,34);X_38:=EMA((CLOSE-X_36)/(X_37-X_36)*4,4)*25;X_39:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);X_40:=10;准备抄底:CROSS(X_39,X_40),STICK,COLORRED,LINETHICK5;公:DRAWNULL,COLORCCCCCC;众:DRAWNULL,COLORCCCCCC;号:DRAWNULL,COLORCCCCCC;股市客栈:DRAWNULL,COLORCCCCCC;【选股指标源码】X_1:=LLV(LOW,55);X_2:=HHV(HIGH,55);X_3:=CLOSE-X_1;X_4:=X_2-X_1;X_5:=X_3/X_4;X_6:=3*SMA(X_5*100,7,1)-2*SMA(X_5*100,7,1);X_7:=REF(DMA(X_6,2),1);X_8:=SMA(X_6,2,1);X_9:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*200*10;X_10:=SMA(X_9,3,1);X_11:=LLV(X_10,3);X_12:=HHV(X_10,3);X_13:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);X_14:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));X_15:=IF(CLOSE>OPEN,X_14*(HIGH-LOW),IF(CLOSE<OPEN,X_14*(HIGH-OPEN+(CLOSE-LOW)),VOL/2))+IF(CLOSE>OPEN,0-X_14*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,0-X_14*(HIGH-LOW),0-VOL/2));X_16:=X_15/20/1.15;X_17:=X_16*0.55+REF(X_16,1)*0.33+REF(X_16,2)*0.22;X_18:=EMA(X_17,3);X_19:=EMA(X_18,13)-EMA(X_18,34);X_20:=X_19-EMA(X_19,3);X_21:=IF(X_20>=0,1,0);X_22:=AMOUNT/(100*VOL);X_23:=MA(X_22,40);X_24:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;X_25:=SMA(SMA(X_24,3,1),3,1);X_26:=SMA(X_25,5,1)*15;X_27:=X_9<X_11;X_28:=IF(X_21 OR (X_9>X_11 OR X_9>X_26),1,0);X_29:=X_9<X_26 AND X_28=0;X_30:=X_9>X_26 AND X_9>X_12;X_31:=X_9<X_10 AND X_9>X_26;X_32:=STICKLINE(X_27,30,30-X_24/5,1.5,1);X_33:=STICKLINE(X_28,30,30+X_24/5*0.8,3.3,1);X_34:=3;X_35:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);X_36:=LLV(LOW,27);X_37:=HHV(HIGH,34);X_38:=EMA((CLOSE-X_36)/(X_37-X_36)*4,4)*25;X_39:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);X_40:=10;准备抄底:CROSS(X_39,X_40);。
通达信主力筹码一目了然副图指标
通达信主力筹码一目了然副图指标这是一个用来监控主力动向很优秀的指标,有100线上下的柱线显示资金进出情况,20线上灰白柱线提示散户筹码,彩色柱线提示主力筹码运行,从吸货拉升到出货(由蓝-黄-红-绿),散兵坑予示底部,20线下深蓝柱提示关注,亮红柱提示建仓。
三根线与柱线综合观察分析,就可以获得极隹的买卖点。
指标源码:{价量线主线快线}价量:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLOR00CCFF,NODRAW;主线:(((价量-LLV(价量,27))/(HHV(价量,27)-LLV(价量,27)))*(4))*(25),COLORCYAN,NODRAW;快线:(((价量-LLV(价量,9))/(HHV(价量,9)-LLV(价量,9)))*(4))*(25),COLOR55AAFF,NODRAW;RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;K1:=SMA(RSV,3,1);D1:=SMA(K1,3,1);KK:=INTPART(K1);DD:=INTPART(D1);TFXXS:=KK+DD;{变异KD风险系数}TGLXS:=(TFXXS-REF(TFXXS,1));{变异KD乖离系数:资金流向}{红}XXX(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR0000A A;STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR0022C C;STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR0055FF ;{粉}XXX(XXX<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORAA00B B;STICKLINE(TGLXS<0 ANDTGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORCC22B B;STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFF55B B;{黄}XXX(TGLXS>0 ANDXXX<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR00A AFF;XXX(TGLXS>0 ANDXXX<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR00C CFF;XXX(TGLXS>0XXX<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR00FFFF; {蓝}XXX(XXX<0XXX<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORFF7700; XXX<0XXX<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORFFAA22 ;STICKLINE(TGLXS<0XXX<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFFFF55; STICKLINE(TGLXS=0 ANDREF(TGLXS,1)>=0,100,TGLXS+100,8,0),COLORBROWN;STI CKLINE(TGLXS=0 AND REF(TGLXS,1)<0,100,TGLXS+100,8,0),COLORWHITE;ZLCM: =EMA(WINNER(CLOSE)*70,3);{主力筹马预算}SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{散户筹码估算}ZSHTL:=SHCM/(ZLCM+SHCM)*100;{散户套牢筹码系数} ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{主力控盘筹码系数} ZSHJJ:=EMA(ZSHTL,55);{散户警戒}ZZLJJ:=EMA(ZZLKP,55);{主力警戒}散兵坑:IF(ZZLKP<=10,ZZLKP,ZZLKP),COLORMAGENTA,NODR AW;{散户套牢筹码}XXX(C>0,ZSHTL,ZZLKP,2,0),COLOR;{散户筹码警戒}XXX(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLORC0C0C0;{主力控盘筹码}{粉}STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,2.5,0 ),COLORAA00BB;STICKLINE(ZZ LKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,1.5,0 ),COLORCC22BB;STICKLINE(ZZ LKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,0.5,0 ),COLOREE44BB;{蓝}XXX(ZZLKP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,2.5,0 ),COLORFF7700;STICKLINE(ZZL KP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,1.5,0 ),COLORFFAA22;STICKLINE(ZZL KP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,0.5 ,0 ),COLORFFFF55;{亮红} STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,2.5,0 ),COLOR131FFD;STICKLINE(ZZLK P>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,1.5,0 ),COLOR5050FF;STICKLINE(ZZLK P>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,0.5,0 ),COLOR7E7EFF;{深蓝}XXX(ZZLKP<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,2.5,0 ),COLORAA0000;STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,1.5,0 ),COLORCC0000;STICKLINE(ZZLK P<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,0.5 ,0 ),COLORFF0000;{主力筹马警卫} {黄}STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,2.5,0 ),C OLOR00AAFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,1.5,0 ),C OLOR00CCFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,0.5,0 ),C OLOR00FFFF;{红}XXX(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,2.5,0 ),COLOR0000AA;STICKLINE(Z ZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,1.5,0 ),COLOR0022CC;STICKLINE(Z ZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,0.5 ,0 ),COLOR0055FF;{红} XXX(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50ANDZZLJJ>REF(ZZLJJ,1),ZZLKP,50,2.5,0 ),COLOR0000AA;XXX(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50 ANDZZLJJ>REF(ZZLJJ,1),ZZLKP,50,1.5,0 ),COLOR0022CC;XXX(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50 ANDZZLJJ>REF(ZZLJJ,1),ZZLKP,50,0.5 ,0 ),COLOR0055FF;{铸顶风险区}{绿}STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,2.5,0),COLOR00AA00;STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,1.5,0),COLOR00CC00;STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,0.5,0),COLOR00FF00;{散兵坑}XXX(ZZLKP<=10,ZZLKP,0,5,0),COLORDD00DD;100,COLORGREEN;80,COLORGREEN;{0,COLORGREEN;}{主线快线}价量,COLOR0CC0FF,LINETHICK2;主线,COLOR00FFAA,LINETHICK2;快线,LINESTICK,COLORFF68DD;100线高低的柱线,表现资金收支情形。
[转载]通达信主副图指标集锦
[转载]通达信主副图指标集锦好原⽂地址:通达信主副图指标集锦作者:财得海{千载难逢选股}VAR22:=REF(CLOSE,1);VAR23:=SMA(MAX(CLOSE-VAR22,0),7,1)/SMA(ABS(CLOSE-VAR22),7,1)*100;VAR24:=SMA(MAX(CLOSE-VAR22,0),13,1)/SMA(ABS(CLOSE-VAR22),13,1)*100;VAR25:=BARSLAST(VAR24<23)<=3 AND CROSS(VAR23,VAR24);VAR26:=(CLOSE-MA(CLOSE,23))/MA(CLOSE,20)*100<-12.5;VAR27:=LLV(LOW,5);VAR28:=HHV(HIGH,10);VAR29:=EMA((CLOSE-VAR27)/(VAR28-VAR27)*100,4);VAR2A:=EMA(0.667*REF(VAR29,1) 0.333*VAR29,2);千载难逢: 0-(-1)*VAR25 AND VAR26 AND CROSS(VAR29,VAR2A) AND VAR29<=25;{千载难逢低吸}VAR1:=REF(CLOSE,1);VAR2:=SMA(MAX(CLOSE-VAR1,0),18,1)/SMA(ABS(CLOSE-VAR1),13,1)*100;VAR3:=SMA(MAX(CLOSE-VAR1,0),24,1)/SMA(ABS(CLOSE-VAR1),20,1)*100;VAR4:=BARSLAST(VAR3<48)<=3 AND CROSS(VAR2,VAR3);VAR5:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,20)*100<-12.5;VAR6:=LLV(LOW,5);VAR7:=HHV(HIGH,10);VAR8:=EMA((CLOSE-VAR6)/(VAR7-VAR6)*100,4);VAR9:=EMA(0.667*REF(VAR8,1) 0.333*VAR8,2);VARB:=VAR5;低吸: 0-(-1)*VAR4 AND VAR5 AND CROSS(VAR8,VAR9) AND VAR8<=25;{千载难逢枯⽊逢春选股}VARC:=REF(CLOSE,1);VARD:=SMA(MAX(CLOSE-VARC,0),7,1)/SMA(ABS(CLOSE-VARC),7,1)*100;VARE:=SMA(MAX(CLOSE-VARC,0),13,1)/SMA(ABS(CLOSE-VARC),13,1)*100;VARF:=BARSLAST(VARE<43)<=3 AND CROSS(VARD,VARE);VAR10:=(CLOSE-MA(CLOSE,43))/MA(CLOSE,20)*100<-12.5;VAR11:=LLV(LOW,5);VAR12:=HHV(HIGH,10);VAR13:=EMA((CLOSE-VAR11)/(VAR12-VAR11)*100,4);VAR14:=EMA(0.667*REF(VAR13,1) 0.333*VAR13,2);枯⽊逢春:=0-(-1)*VARF AND VAR10 AND CROSS(VAR13,VAR14) AND VAR13<=25;枯⽊逢春选股:枯⽊逢春>0;{难得⼀遇选股}VAR17:=REF(CLOSE,1);VAR18:=SMA(MAX(CLOSE-VAR17,0),7,1)/SMA(ABS(CLOSE-VAR17),7,1)*100;VAR19:=SMA(MAX(CLOSE-VAR17,0),13,1)/SMA(ABS(CLOSE-VAR17),13,1)*100;VAR1A:=BARSLAST(VAR19<33)<=3 AND CROSS(VAR18,VAR19);VAR1B:=(CLOSE-MA(CLOSE,33))/MA(CLOSE,20)*100<-12.5;VAR1C:=LLV(LOW,5);VAR1D:=HHV(HIGH,10);VAR1E:=EMA((CLOSE-VAR1C)/(VAR1D-VAR1C)*100,4);VAR1F:=EMA(0.667*REF(VAR1E,1) 0.333*VAR1E,2);难得⼀遇: 0-(-1)*VAR1A AND VAR1B AND CROSS(VAR1E,VAR1F) AND VAR1E<=25;{对⽐量⽐ DBLB}{N 2,100,11; M 2,100,6}GG:=VOL/SUM(REF(VOL,1),N);ZS:=INDEXV/SUM(REF(INDEXV,1),N);DBLB:GG/ZS;MADBLB:MA(DBLB,M);长短趋势主图Var3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),18)/4;Var4:=IF(DATE<1091231,IF(Var3>23.16,Var3,0),0);Var5:=Var3<10;Var6:=Var3<2;Var7:=Var5 OR Var6;长期趋势: ZIG(3,19), , COLORBLUE;短期趋势: ZIG(3,6.5), , COLORYELLOW;年线: EMA(CLOSE,250), , COLOR0099FF;三年线: EMA(CLOSE,725), , COLORWHITE;九⽇: EMA(CLOSE,9), , COLOR009090;⼗三⽇: EMA(CLOSE,13), , COLORB0FFFF;七⼗⼆⽇: EMA(CLOSE,72), , COLORRED;IF(CROSS(ZIG(3,13),REF(ZIG(3,13),1)),长期趋势 1,长期趋势-1), COLORRED;{个股⼤盘(120)}{N 1,500,120}个股趋势:MA(C,1)/MA(REF(C,18),18)*100,COLOR0000FF,LINETHICK4;个股风险:MA(FORCAST(个股趋势,20),N),CROSSDOT,COLORFF00FF,LINETHICK2;⼤盘趋势:EMA(INDEXC,1)/MA(REF(INDEXC,18),18)*100,COLORFF9900,LINETHICK2;⼤盘风险:MA(FORCAST(⼤盘趋势,20),N),CIRCLEDOT,COLORCYAN,LINETHICK2; DRAWICON(CROSS(个股趋势,个股风险),个股风险-0.1,13);DRAWICON(CROSS(个股趋势,⼤盘风险),个股风险-0.25,9);DRAWICON(CROSS(⼤盘风险,个股风险),⼤盘风险-0.4,6);PM:=个股趋势,COLOR0000FF,LINETHICK2;K1:=BACKSET(个股趋势IF(K1,个股趋势,DRAWNULL), COLOR00CC33,LINETHICK4;K2:=BACKSET(个股风险IF(K2,个股风险,DRAWNULL),CROSSDOT,COLORFF9900,LINETHICK2;K3:=BACKSET(⼤盘风险IF(K3,⼤盘风险,DRAWNULL),CIRCLEDOT,COLOR0066FF,LINETHICK2;K4:=BACKSET(⼤盘趋势IF(K4,⼤盘趋势,DRAWNULL),COLOR00FFFF,LINETHICK2;DRAWTEXT(⼤盘趋势=0,80,'⼤底将现'),COLORFFFFCC;{上证指数K线副图指标}DRAWKLINE("999999$H","999999$O","999999$L","999999$C");上证:"999999$C",COLORWHITE,NODRAW;_±:"999999$C"-REF("999999$C",1),COLORLIGRAY,NODRAW;五:MA("999999$C",5),COLORWHITE;⼗:MA("999999$C",10),COLORYELLOW;⼆⼗:MA("999999$C",20),COLORMAGENTA;六⼗:MA("999999$C",60),COLORGREEN;{⼤盘指数K线副图指标}DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);⼤盘:INDEXC,COLORWHITE,NODRAW;±:INDEXC-REF(INDEXC,1),COLORLIGRAY,NODRAW;沪深:"000300$CLOSE",NODRAW;_±:"000300$CLOSE"-REF("000300$CLOSE",1),COLORLIGRAY,NODRAW;五:MA(INDEXC,5),COLORWHITE;⼗:MA(INDEXC,10),COLORYELLOW;三⼗:MA(INDEXC,30),COLORMAGENTA;六⼗:MA(INDEXC,60);懒汉操盘A1:=Ma(C,5);A2:=MA(C,10); {可以⾃设均线,⽜市21⽇线,熊市10⽇线}A3:=(A1 A2)/2;IF (A1>A2,A1,A3),COLORRED,LINETHICK2;IF (A1>A2,A2,A3),COLORRED,LINETHICK2;IF (A1<=A2,A1,A3),COLOR00FF00,LINETHICK2;IF (A1<=A2,A2,A3),COLOR00FF00,LINETHICK2;A3,COLORWHITE,LINETHICK2;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;DRAWICON(CROSS(84,RSI) ,H*1.03,5);DRAWICON(CROSS(RSI,11) ,L*0.99,4);VAR27:=REF(CLOSE,1);VAR28:=SMA(MAX(CLOSE-VAR27,0),5.5,1)/SMA(ABS(CLOSE-VAR27),6,1)*100;DRAWICON(IF(CROSS(76,VAR28),1,0),H*1.03,5);DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0AND EMA(CLOSE,12)/LOW>1.15,5),LOW,''),LINETHICK7 , COLORFF00FF;VARA:=((AMOUNT)/(VOL))/(100);VARB:=((3)*(HIGH) LOW OPEN (2)*(CLOSE))/(7);VARC:=((SUM(AMOUNT,7))/(VARA))/(100);VARD:=DMA(VARB,(VOL)/(VARC));VARE:=((CLOSE-VARD)/(VARD))*(100);VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);VARJ:=MA(VARE,20) STD(VARE,20);BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);AA:=SMA(VARF,3,1);SS:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (AA>79);DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND(AA>SS),H*1.02,''),LINETHICK7,COLORGREEN;VAR1:=ZIG(3,10)REF(ZIG(3,10),2); {含未来函数ZIG}VAR2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)STICKLINE(VAR1,C,O,8,0),COLORYELLOW,LINETHICK2;STICKLINE(VAR1,C,O,3,0),COLORYELLOW,LINETHICK2;STICKLINE(VAR1,H,L,1,0),COLORYELLOW,LINETHICK2;STICKLINE(VAR2,C,O,8,0),COLORFF00FF,LINETHICK2;STICKLINE(VAR2,C,O,3,0),COLORFF00FF,LINETHICK2;STICKLINE(VAR2,H,L,1,0),COLORFF00FF,LINETHICK2;这个公式可⽤于主图也可⽤于副图.超⼈黄⾦⼩鼹⿏VAR1:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),10,1); VAR2:=HIGH-REF(HIGH,1);VAR3:=REF(LOW,1)-LOW;VAR4:=SMA(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),10,1);VAR5:=SMA(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),10,1);消息1:VAR4/VAR1*3;消息2:VAR5/VAR1*3;买⼊:IF(消息1>消息2,1,0) COLORSTICK;卖出:IF(消息2>消息1,-1,0) COLORSTICK;{新版股海神偷副图}AA:=LLV(LOW,36);BB:=HHV(HIGH,30);风险:80,COLORFF00FF;狼狗:87.5,COLOR00FF00;DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);股海神偷:DD,COLOR0000FF,LINETHICK2;股海:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);⽬标出现:IF(CROSS(股海,90) AND (股海神偷<40),70,0),COLORFFFF00;跟踪:10,COLOR0000FF;神偷出现:IF((COUNT((股海神偷>REF(股海神偷,1)),1)=1) AND (REF(股海神偷,1)<跟踪),50,0),COLORF00FF0;{股海神偷}AA:=LLV(LOW,36);BB:=HHV(HIGH,30);DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);J:= EMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5) ;股经:J,COLORLIMAGENTA,LINETHICK2;股海:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);跟踪:10,COLOR0000FF,LINETHICK1;神偷出现:IF((COUNT((DD>REF(DD,1)),1)=1) AND (REF(DD,1)<跟踪),20,0),COLORF00FF0;DRAWICON(CROSS(10,股经),5,1);V1:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;V2:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100;V3:=SMA(V2,2,1);顶:100 (-ABS(V1)),COLORGRAY;底:ABS(V1),COLORGRAY;VR1:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;VR2:=SMA(VR1,3,1);VR3:=SMA(VR2,3,1);VR4:=SMA(VR3,3,1);VR5:=CROSS(VR3,VR4) AND VR3<20;VR8:=CROSS(VR2,VR3) AND VR3>80 AND VR3>VR4;VR9:=CROSS(VR4,VR3) AND VR3>80;DRAWTEXT(FILTER(VR5,10)=1,21,'底'),COLORRED;STICKLINE(FILTER(VR5,10)=1,0,20,2,0),COLORRED;STICKLINE(FILTER(VR9,5)=1,80,100,2,0),COLORGREEN;DRAWTEXT(FILTER(VR9,5)=1,79,'顶'),COLORGREEN;STICKLINE(VR8,85,100,2,0),COLOR0099FF;真实量⽐VAR0:=100*(CLOSE-MA(AMOUNT/(100*VOL),5))/MA(AMOUNT/(100*VOL),5);VAR1:=(HIGH LOW CLOSE*2)/4;VAR2:=((VAR1-EMA(VAR1,21))/STD(VAR1,21)*100 200)/4;VAR3:=(EMA(VAR2,5)-25)*1.56;VAR4:=EMA(EMA(VAR3,2)*1.22,2);VAR5:=3*EMA(VAR3,2)*1.22-2*VAR4;VAR6:=EMA((VAR1-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,13);VAR7:=EMA(0.667*REF(VAR6,1) 0.333*VAR6,2);VAR8:=EMA(VAR1,13)-EMA(VAR1,21);VAR9:=2*(VAR8-EMA(VAR6,2))*3.8;VAR10:=VAR9>REF(VAR9,1) AND VAR6 < 63 AND VAR7 < 63 AND EMA(VAR3,2)*1.22 < 63 AND VAR4 < 63 AND VAR5 < 63 AND CROSS(VAR5,EMA(VAR3,2)*1.22) AND FINANCE(33)> 0.01 AND FINANCE(34)> 1 ANDREF(CLOSE,23)/CLOSE> 1.2 AND REF(CLOSE,10)/CLOSE < 1.5 ;VAR11:=MIN(REF(CLOSE,2)*0.865,REF(CLOSE,13)*0.772);VAR12:=IF((CLOSE-VAR11)/CLOSE < 4/100 AND SUM(100*VOL/CAPITAL,5)/5 < 1.8 AND WINNER(CLOSE)*100 < 0.1,1,0);VAR13:=CLOSE < (MA(CLOSE,80)-MA(CLOSE,10)/3) AND VOL/240 > MA(VOL,5)/240 AND CLOSE >REF(CLOSE,1)*1.08 AND CLOSE < MA(CLOSE,13)*1.3;VAR14:=VAR0<-10 AND CLOSE < 10 AND CLOSE/REF(CLOSE,1) > 0.935;VAR15:=MA(CLOSE,3)-CLOSE-WINNER(OPEN) (COST(55)-COST(45))/(COST(97)-COST(3)) (WINNER(C)-REF(WINNER(C),4))*0.05/MA(V/CAPITAL,5);STICKLINE(VAR15>=0,0,VAR15,6,0),COLOR6600CC;STICKLINE(VAR15<=0,0,VAR15,6,0),COLOR00FF99;STICKLINE(VAR15<=0,0,VAR15*0.4,6,0),COLORCC0033;STICKLINE(VAR15>=0,0,VAR15*0.4,6,0),COLORCC0033;STICKLINE(VAR12 > 0 OR VAR10 > 0 OR VAR13 > 0 OR VAR14 > 0,0,0.6,6,0),LINETHICK4,STICK,COLOR0000FF;这个横盘三⼗分我没有⽤过,不过在⼀分钟K线图下使⽤有买⼊提⽰。
通达信指标——主力成交量(副图)
{主力成交量}成交量:VOL,LINETHICK0;V AR2:=(HIGH - LOW);V AR3:=ABS((OPEN - CLOSE));V AR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));V AR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);V AR6:=((V AR3 / V AR2) * VOL);V AR7:=((V AR4 / V AR2) * VOL);V AR8:=((V AR5 / V AR2) * VOL);V AR9:=IF(((VOL / CAPITAL) > 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));V ARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);V ARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60)));V ARC:=((MA(CLOSE,5) < MA(CLOSE,10)) AND (MA(CLOSE,10) < MA(CLOSE,30)));多头成交:STICKLINE((CLOSE > MA(CLOSE,30)),0,VOL,3,1),COLOR0000FF;空头成交:STICKLINE((CLOSE < MA(CLOSE,30)),0,VOL,3,1),,COLOR00FF00;上攻量:STICKLINE((((V AR6 >= V AR7) AND (V AR6 >= V AR8)) AND (CLOSE > OPEN)),0,V AR6,3,0),,COLOR0000FF;下攻量:STICKLINE((((V AR6 >= V AR7) AND (V AR6 >= VAR8)) AND (CLOSE < OPEN)),0,V AR6,3,0),,COLOR00FF00;上探量:STICKLINE(((V AR7 > V AR6) AND (V AR7 > V AR8)),0,V AR7,3,0),,COLORCCCC66;下探量:STICKLINE(((V AR8 > V AR6) AND (V AR8 > V AR7)),0,V AR8,3,0),,COLORFF6633;相对地量:STICKLINE(((VAR9 > 2) AND (VOL < (MA(VOL,5) / 2))),0,VOL,2.2,0),,COLOR00FFFF;地量:DRAWTEXT(((V AR9 > 2) AND (VOL < (MA(VOL,5) / 2))),VOL,'地量'),,COLOR00FFFF; 放量:STICKLINE((VOL > (MA(VOL,5) * 2.5)),0,VOL,2.2,0),,COLORFFFFFF;高出:DRAWTEXT(((((((((V AR7 > V AR6) AND (V ARA > 2)) AND (V AR7 > V AR8)) AND (CLOSE > MA(CLOSE,5))) AND (CLOSE > MA(CLOSE,30))) AND (HIGH > MA(CLOSE,60))) AND (VOL > MA(VOL,5))) AND (V AR7 >= MA(VOL,5))),VOL,'高出'),COLOR00FF00;低进:DRAWTEXT(((((((V AR8 > V AR6) AND (V AR8 > V AR7)) AND (V ARA < (0 - 2))) AND (CLOSE < MA(CLOSE,30))) AND (V AR8 < (MA(VOL,5) / 2))) AND (MA(VOL,5) < MA(VOL,10))),VOL,'低进'),,COLOR00FFFF;强势参与:DRAWTEXT((((((V AR6 > (MA(VOL,5) * 2)) AND (V AR6 >= V AR7)) AND (V AR6 >= V AR8)) AND (CLOSE > OPEN)) OR ((VOL > (MA(VOL,5) * 3)) AND V ARB)),VOL,'参与'),,COLOR00FF00;空头释放:DRAWTEXT(((((((V AR6 >= V AR7) AND (V AR6 >= V AR8)) AND (CLOSE < OPEN)) AND ((V AR6 / VOL) > 0.7)) AND V ARC) AND (V AR6 > MA(VOL,5))),(VAR6 * 2),'空头释放'),,COLOR00FF00;MA5:MA(VOL,5);MA10:MA(VOL,10);。
通达信使用的副图量柱指标
绿低量:=10;{ WEN98编制}蓝低量:=50;灰低量:=100;H_L:=0.1*CONST(HHV(VOL,240));VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);{模拟量} STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,1,-1),COLOR00C0C0;量:VOL,VOLSTICK,COLORLIGRAY;换手: VOL*10000/FINANCE(7),NODRAW,COLORGREEN; {DYNAINFO(37)*100}全换手周期: SUMBARS(V,CAPITAL),NODRAW,COLORLIGREEN;{求完全换手到现在的周期数} 量比: V/REF(MA(V,5),1),COLORBROWN,NODRAW;几倍: V/REF(V,1),COLORYELLOW,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) AND BARSCOUNT(V)>=2,COLORWHITE,NODRAW;低量10: VOL=LLV(VOL,绿低量) AND BARSCOUNT(V)>=绿低量,COLORGREEN,NODRAW;低量50: VOL=LLV(VOL,蓝低量) AND BARSCOUNT(V)>=蓝低量,COLORBLUE,NODRAW;地量: VOL=LLV(VOL,灰低量) AND BARSCOUNT(V)>=灰低量,COLORGRAY,NODRAW;V1:=VOL*0.95;{图标位置}V2:=VOL*0.85;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),COLORGRA Y;STICKLINE(倍缩,0,V*0.45,1,0),COLORMAGENTA;STICKLINE(C<O AND C>REF(C,1),0,V1,0,0),COLORRED;{假阴柱}真阳或假阴:=C>O OR C>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;倍量将军柱:= 倍量1 AND 三日不破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.2 AND V>0 AND BARSCOUNT(V)>=100;百日地量群:=COUNT(V100,5)>=3;DRAWTEXT(FILTER(百日地量群,4),V+3*H_L,'地量群'),COLORGRAY; 长阴短柱:=C/REF(C,1)<=0.96 AND V<HHV(V,30)/1.9; DRAWTEXT(长阴短柱,V+1.6*H_L,'!'),COLORLICYAN;。
好主图的副图指标通达信指标公式源码.doc
好主图的副图指标布林轨:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4,COLORRED,LINETHICK2;倍量攻击:=V>REF(V,1)*2 AND (C>=0 OR C>REF(C Z1)),COLORRED,NODRAW;角线:=(ATAN((MA(C Z5)/REF(MA(C,5),1)-1)*100)*180/3.14115926);角线MA:=MA(角线,5);ANA:=PLOYLINE(CROSS(角线,角线MA),角线MA),COLORRED;ANB:=PLOYLINE(CROSS(角线MA,角线),角线MA)Z COLORFFOOFF ;角买点:=CROSS(角线,角线MA) AND ((ANB>REF(ANB,1) AND ANB>ANA AND 角线MA<=0) OR((角线MA<=-45 OR CROSS(角线MA,・45)) AND (ANB<-60 OR LLV(“KDJ.J“,3)v=・49) ANDANB>0)),COLORGREEN;角买入:IF(角买点,1,0),COLORRED,LINETHICK2;角起涨:=COUNT(CROSS(角线,角线MA),ANAvREF(ANA,5) AND ANB>REF(ANB,5));起涨点:IF(角起涨,1,0),COLORLIRED,LINETHICK2;角卖点:=(CROSS(角线MA,角线)AND (ANB>REF(ANB,1) OR ANA<REF(ANA,1)) AND ANB>ANA{AND ANB>0} AND 角线MA>0)*l;角卖出:IF(角卖点z l,0),COLORGREEN,LINETHICK2;角始跌:=COUNT(CROSS(角线MA,角线),ANAvREF(ANA,5) AND ANB>REF(ANB,5));起跌点:IF(角始跌,1,0),COLORLIBLUE,LINETHICK2;。
通达信公式主副图公式集锦
通达信公式主副图公式集锦通达信公式主副图公式集锦2009年03月21日星期六 20:07分析家均线粘合VAR1:=EMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,M,1),3);STICKLINE(VAR1>20 AND VAR1通达信可以通过,自己加上参数N,M的数值即可!VAR1:=EMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,M,1),3);STICKLINE(VAR1>20 AND VAR1<80,VAR1,VAR1,3,1),COLORRED;STICKLINE(VAR1STICKLINE(VAR1>80,VAR1,VAR1,M,1),COLOR00FF00;STICKLINE(VAR1<20,VAR1,VAR1,M,1),COLORYELLOW;V0:=EMA(C,5);V1:=EMA(C,10);V2:=EMA(C,15);V3:=EMA(C,30);V4:=EMA(C,60);M1:=1000*V1/V4<=1015 AND 1000*V1/V4>=975;M2:=1000*V2/V4<=1020 AND 1000*V2/V4>=980;M3:=1000*V3/V4<=1015 AND 1000*V3/V4>=985;M4:=M1 AND M2 AND M3 AND CROSS(V0,V1);M5:=M1 AND M2 AND M3 AND CROSS(V0,V3);粘合:IF(M4 OR M5,40,0),COLORYELLOW,POINTDOT;STICKLINE(粘合,40,0,1,1),COLORYELLOW;W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));突破盘整:IF(W4 AND COUNT(W4,5)=1,35,0),COLORFF00FF,POINTDOT;STICKLINE(突破盘整,35,0,1,1),COLORFF00FF;拉升在即VAR1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;VAR2:=2*ABS(VAR1);VAR3:=100-3*SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);VAR4:=100-3*SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);VAR5:=(HIGH+LOW+CLOSE)/3;VAR6:=(VAR5-MA(VAR5,14))/(0.015*AVEDEV(VAR5,14));VAR7:=(VAR5-MA(VAR5,89))/(0.015*AVEDEV(VAR5,89));VAR8:=IF(VAR6>=150 AND VAR6<200 AND VAR7>=150 AND VAR7<200,10,0);VAR9:=IF(VAR6<=-150 AND VAR6>-200 AND VAR7<=-150 AND VAR7>-200,-10,VAR8);VARA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VARB:=100-ABS(VARA);VARC:=3*SMA((INDEXC-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,D))*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,75))*100,20,1),15,1);VARD:=3*SMA((INDEXO-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,D))*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,75))*100,20,1),15,1);VARE:=REF(LOW,1)*0.9;VARF:=LOW*0.9;VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;VAR11:=EMA(VAR10,30);VAR12:=VAR11-CLOSE;VAR13:=REF(CLOSE,1);VAR14:=SMA(MAX(CLOSE-VAR13,0),7,1)/SMA(ABS(CLOSE-VAR13),7,1)*100;VAR15:=SMA(MAX(CLOSE-VAR13,0),13,1)/SMA(ABS(CLOSE-VAR13),13,1)*100;VAR16:=BARSCOUNT(CLOSE);VAR17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;VAR18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;VAR19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;VAR1A:=(SMA(VAR19,4,1)-50)*2;VAR1B:=SMA(VAR1A,3,1);VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;VAR1D:=SMA(VAR1C,4,1);VAR1E:=SMA(VAR1D,3,1);VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;VAR20:=IF(VAR17<=25 AND VAR18<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR12>=-0.25 AND VAR14<22 AND VAR15<28 AND VAR16>50,80,0);活筹OAMV: VAR3,COLORFF00FF;OX: IF(VARB<90,VARB,100),COLORFFCC66;VAR21:=IF(VAR1>0,VAR1,0);核能: IF(VAR1<0,VAR2,0), LINESTICK;牛角: VAR20,COLORYELLOW;预警: IF(VAR7>=200 AND VAR6>=150,15,IF(VAR7<=-200 AND VAR6<=-150,-15,VAR9))+60,COLOR00FF00;VAR22:=100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34));VAR23:=MA(VAR22,3);VAR24:=EMA(AMOUNT/VOL/100,5);VAR25:=EMA(AMOUNT/VOL/100,13);VAR26:=VAR24-VAR25;势能: IF(1000*VAR26/VAR24>0,1000*VAR26/VAR24,0),COLORRED,LIN ETHICK2;STICKLINE(VAR3>=REF(VAR4,1),VAR3,VAR4,8,1),COLORRED;STICKLINE(VAR3VAR27:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1);VAR28:=CLOSEVAR29:=VAR21>50 AND 预警>60 AND OX=100;VAR2A:=VAR21>48 AND 预警>60 AND OX<100;VAR2B:=核能>38 AND 预警<55;VAR2C:=牛角>50 AND OX<90;VAR2D:=VAR3REF(VOL,1) AND CLOSE>REF(CLOSE,1);VAR2E:=VAR3>=REF(VAR4,1) AND CLOSE=REF(核能,1) AND VARCDRAWTEXT(VAR27 AND COUNT(VAR27,30)=1,90,'持股待涨'),COLORFF00FF;DRAWTEXT(VAR28 AND COUNT(VAR28,30)=1,10,'出局为佳'),COLOR00FF00;DRAWTEXT(VAR29 AND COUNT(VAR29,30)=1,70,'上涨过急,需要调整'),COLORWHITE;DRAWTEXT(VAR2A AND COUNT(VAR2A,30)=1,80,'拉升在即狂牛!'),COLORYELLOW;DRAWTEXT(VAR2B AND COUNT(VAR2B,30)=1,20,'不必杀跌有反弹 '),COLORWHITE;DRAWTEXT(VAR2C AND COUNT(VAR2C,30)=1,30,'角斗士,阶段底部 '),COLORYELLOW;DRAWTEXT(VAR2D AND COUNT(VAR2D,30)=1,60,'大资金进场'),COLOR0099FF;DRAWTEXT(VAR2E AND COUNT(VAR2E,30)=1,40,'高点回落'),COLORFFCC66;DRAWKLINE(HIGH,OPEN,LOW,CLOSE);收盘价线:MA(CLOSE,1);均线:EMA(CLOSE,5),LINETHICK2;MA2:=MA(CLOSE,10);MA3:=MA(CLOSE,13);黑马:=CROSS(C,MA(CLOSE,55) + 2*STD(CLOSE,55)) AND C>O AND VOL>1.6*REF(VOL,1) AND VOL>=2*MA(VOL,60) AND EMA(WINNER(C)*70,3)>EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3) AND VOL>=1.6*MA(VOL,5);DRAWTEXT(黑马,L*0.93,'旺狗出击'),LINETHICK1,COLORYELLOW;DRAWICON(黑马,L*0.988,7);{短线强度}安全线:EMA((CLOSE+HIGH+LOW)/3,55),LINETHICK2,COLORF4E202,{PRECIS2短线强度};A:=EMA(SLOPE(EMA(CLOSE,55),10)*15+CLOSE,2);趋势线:EMA(A,13),COLORFF80FF,COLORRED,LINETHICK1;SK:=EMA(SLOPE(EMA(CLOSE,55),10)*15+CLOSE,2),COLOR83 FFFF,{PRECIS2};{ 阴线买入}VAR11AA:=EMA(CLOSE,30)-EMA(CLOSE,17);VAR12AA:=EMA(VAR11AA,5);九:=TROUGHBARS(3,10,1)<1 AND CROSS(VAR11AA,VAR12AA);DRAWTEXT(九>0,安全线,'★未来'),COLORRED;DRAWTEXT(九,安全线,'九'),COLOR000000;VAR2A:=(EMA(CLOSE,26)-EMA(CLOSE,52))/MA(CLOSE,60)*100;VAR3A:=EMA(VAR2A,18);VAR4A:=VAR2A<-1;VAR5A:=VAR4A AND CROSS(VAR2A,VAR3A);追2:=VAR5A;追涨C:=IF(追2>0,0.8,0),STICK,COLORYELLOW,LINETHICK4 ;XX:=EMA(CLOSE,30)-EMA(CLOSE,17);YY:=EMA(XX,13);短针2:=TROUGHBARS(3,5,1)<1 AND XX阴:=IF(短针2>0,0.4,0),STICK,COLORF0F000,LINETHICK4;DRAWTEXT(阴>0,安全线,'★阴未来'),COLORGREEN;DRAWTEXT(阴,安全线,'阴'),COLOR000000;N1:=30;N2:=17;N3:=5;N4:=6;VAR1X:=EMA(CLOSE,N1)-EMA(CLOSE,N2);VAR2X:=EMA(VAR1X,N3);剑:=CROSS(VAR1X,VAR2X) AND TROUGHBARS(3,7,1)<1;DRAWTEXT(剑>0,安全线,'★剑未来'),COLORWHITE;DRAWTEXT(剑,安全线,'剑'),COLOR000000;{阴剑:= 九 OR 剑 OR 阴;阴线选股代码};抄底源码:趋势线:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1), , colorblue;stickline(趋势线,趋势线,100,8,0),COLORFAFFB4;见底信号:5, , colorYELLOW;买点准备: IF(趋势线<=10,10,0),STICK ,,LINETHICK6, color00C346;买入时间1: IF(CROSS(趋势线,见底信号),5,0),STICK , colorRED;买入时间2: IF(CROSS(趋势线,10),5,0),STICK , colorf0f000;见顶信号1:90,COLORFAFFB4;见顶信号2:85,COLORFAFFB4;见顶信号3:80,COLORFAFFB4;stickline(趋势线,趋势线,0,8,0),COLORBLUE;drawtext(CROSS(见顶信号1,趋势线),趋势线-5,'▲'),colorRED;drawtext(CROSS(见顶信号2,趋势线),趋势线-5,'▲'),coloryellow;drawtext(CROSS(见顶信号3,趋势线),趋势线-5,'▲'),colorf0f000;drawtext(CROSS(趋势线,见底信号),100,'★'),COLORRED;drawtext(FILTER(cross(趋势线,10),15),60,'海风论坛'),colorred;drawtext(FILTER(cross(趋势线,10),15),50,'欢迎您!'),colorred;drawtext(FILTER(cross(趋势线,10),15),40,'★'),coloryellow;投机七剑公式,我自己用在通达信中。
通达信公式主力拉升启动指标副图
通达信公式主力拉升启动指标副图
通达信公式主力拉升启动指标副图
VAR1:=EMA(HHV(HIGH,500),21);
VAR2:=EMA(HHV(HIGH,250),21);
VAR3:=EMA(HHV(HIGH,90),21);
VAR4:=EMA(LLV(LOW,500),21);
VAR9:=EMA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,21);
VARA:=EMA((VAR7*3+VAR8*2+VAR9)/6*1.738,21);
VARB:=REF(LOW,1);
VARC:=SMA(ABS(LOW-VARB),3,1)/SMA(MAX(LOW-VARB,0),3,1)*100;
VARD:=EMA(IF(CLOSE*1.35<=VARA,VARC*10,VARC/10),3);
VARE:=LLV(LOW,30);
VARF:=HHV(VARD,30);
VAR10:=IF(MA(CLOSE,58),1,0);
资金入场: EMA(IF(LOW<=VARE,(VARD+VARF*2)/2,0),3)/618*VAR10;
资金入场1: IF(资金入场>0,资金入场,0),STICK,LINETHICK2, COLOR0000FF;
今量: 资金入场;
A1:IF(资金入场>0,今量*1.2,0),STICK,LINETHICK5, COLOR0000FF;
A2:IF(资金入场>0,今量*0.8,0),STICK,LINETHICK5, COLOR0066FF;
通达信指标——五彩量(副图)
通达信指标——五彩量(副图)V AR2:=HIGH-LOW;V AR3:=ABS(OPEN-CLOSE);V AR4:=HIGH-IF(CLOSE>OPEN,CLOSE,OPEN);V AR5:=IF(CLOSE>OPEN,OPEN,CLOSE)-LOW;V AR6:=V AR3/V AR2*VOL;V AR7:=V AR4/V AR2*VOL;V AR8:=V AR5/V AR2*VOL;V AR9:=IF(VOL/CAPITAL>0.001,1,EXP(ABS(LOG(VOL/CAPITAL*100))));V ARA:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;V ARB:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,30) AND MA(CLOSE,30)>MA(CLOSE,60);V ARC:=MA(CLOSE,5)<MA(CLOSE,10) AND MA(CLOSE,10)<MA(CLOSE,30);多头成交: STICKLINE(CLOSE>MA(CLOSE,30),0,VOL,8,1), , COLORRED;空头成交: STICKLINE(CLOSE<MA(CLOSE,30),0,VOL,8,1), , COLORGREEN;向上攻击量: STICKLINE(V AR6>=V AR7 AND V AR6>=V AR8 AND CLOSE>OPEN,0,V AR6,8,0), , COLORRED;向下攻击量: STICKLINE(V AR6>=V AR7 AND V AR6>=V AR8 AND CLOSE<OPEN,0,V AR6,8,0), , COLORGREEN; 上探量: STICKLINE(V AR7>V AR6 AND V AR7>V AR8,0,V AR7,8,0), , COLORCCCC66;下探量: STICKLINE(V AR8>V AR6 AND V AR8>V AR7,0,V AR8,8,0), , COLORFF6633;相对地量: STICKLINE(V AR9>2 AND VOL<MA(VOL,5)/2,0,VOL,2.5,0), , COLORYELLOW;地量: DRA WTEXT(V AR9>2 AND VOL<MA(VOL,5)/2,VOL,'地量'), , COLORYELLOW;放量: STICKLINE(VOL>MA(VOL,5)*2.5,0,VOL,2.5,0), , COLORWHITE;逢高出货: DRA WTEXT(V AR7>V AR6 AND V ARA>2 AND V AR7>V AR8 AND CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,30) AND HIGH>MA(CLOSE,60) AND VOL>MA(VOL,5) AND V AR7>=MA(VOL,5),VOL,'逢高出货'), , COLORGREEN;逢低跟进: DRA WTEXT(V AR8>V AR6 AND V AR8>V AR7 AND V ARA<-2 AND CLOSE<MA(CLOSE,30) AND V AR8<MA(VOL,5)/2 AND MA(VOL,5)<MA(VOL,10),VOL,'逢低跟进'), , COLORMAGENTA;强势参与: DRA WTEXT(V AR6>MA(VOL,5)*2 AND V AR6>=V AR7 AND V AR6>=V AR8 AND CLOSE>OPEN OR VOL>MA(VOL,5)*3 AND V ARB,VOL,'强势参与'), , COLORCC99CC;空头释放: DRA WTEXT(V AR6>=V AR7 AND V AR6>=V AR8 AND CLOSE<OPEN AND V AR6/VOL>0.7 AND V ARC AND V AR6>MA(VOL,5),V AR6*2,'空头释放'), , COLORGREEN;MA5:= MA(VOL,5), , COLORRED;MA10:= MA(VOL,10), , COLORGREEN;MA20:= MA(VOL,20), , COLORYELLOW;。
通达信精选突破妖股主图副图选股指标
通达信精选突破妖股主图副图选股指标{主图指标源码}BOLLZ:=MA(CLOSE,20);UPPERZ:BOLLZ+2*STD(CLOSE,20),COLORYELLOW;TPZZ1:=MA((L+H+C)/3,5);TPZZ2:HHV(TPZZ1,60)*0.950,COLORGREEN;STICKLINE(UPPERZ>TPZZ2,UPPERZ,TPZZ2,1,1),COLORRED;去ST:=NAMELIKE('ST')=0 AND NAMELIKE('*ST')=0 AND NAMELIKE('SST')=0 AND NAMELIKE('S*ST')=0;去除停牌:=DYNAINFO(4)>0;去除创业板:=IF(CODELIKE('300') OR CODELIKE('301') ,0,1) ;去除科创板:=IF(CODELIKE('688'),0,1);XG:=去ST AND 去除停牌 AND去除创业板 AND 去除科创板;MA10:=MA(CLOSE,10);MA54:=MA(CLOSE,54);HJ_8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;HJ_9:=FILTER(HJ_8,10);HJ_10:=BARSLAST(HJ_9);HJ_11:=REF(HIGH,HJ_10+2);HJ_12:=REF(HIGH,HJ_10+1);HJ_13:=REF(HIGH,HJ_10);HJ_14:=MAX(HJ_11,HJ_12);HJ_15:=MAX(HJ_14,HJ_13);HJ_16:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>3.5;HJ_17:=HJ_10<150;HJ_18:=(OPEN-HJ_15)/HJ_15*100<30;HJ_19:=(CLOSE-LLV(LOW,HJ_10))/LLV(LOW,HJ_10)*100<50;HJ_20:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;HJ_21:=VOL/MA(VOL,5)<3.5;HJ_22:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;HJ_25:=HJ_16 AND HJ_17 AND HJ_18 AND HJ_19 AND HJ_20 AND HJ_21 AND HJ_22;BOLL:=MA(CLOSE,20);UPPER:=BOLL+2*STD(CLOSE,20);PER:=CROSS(C,UPPER);TPZ1:=MA((L+H+C)/3,5);TPZ2:=HHV(TPZ1,60);TPZ3:=CROSS(C,TPZ2*0.95) OR CROSS(C,TPZ2*0.98) ;TPZ4:=PER AND HJ_25 AND TPZ3;TPZ5:=MA(CLOSE,25)+MA(CLOSE,25)*20/100*0.35;TPZ6:=(MA(MA(H,25),25)-MA(MA(L,25),25))*1+MA(MA(H,25),25);TPZ7:=REF(C<TPZ6 OR C<TPZ5,1) AND C>TPZ6 AND C>TPZ5 ;TPZ8:=TPZ4 OR TPZ7;TPZ9:=TPZ8 AND XG AND C/REF(C,1)>1.05 AND REF(C,1)/REF(C,2)<1.03 AND REF(C>3.7,1) AND REF(C<19,1) AND (CAPITAL/100)/10000<=15 AND O/REF(C,1)<1.05 AND C>O,COLORRED;STICKLINE(TPZ9,CLOSE,OPEN,2.5,0),COLORYELLOW;DRAWTEXT(TPZ9,LOW*0.98,'▲突破妖股'),COLORCYAN;{副图指标源码}去ST:=NAMELIKE('ST')=0 AND NAMELIKE('*ST')=0 AND NAMELIKE('SST')=0 AND NAMELIKE('S*ST')=0;去除停牌:=DYNAINFO(4)>0;去除创业板:=IF(CODELIKE('300') OR CODELIKE('301') ,0,1) ;去除科创板:=IF(CODELIKE('688'),0,1);XG:=去ST AND 去除停牌 AND 去除创业板 AND 去除科创板;MA10:=MA(CLOSE,10);MA54:=MA(CLOSE,54);HJ_8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;HJ_9:=FILTER(HJ_8,10);HJ_10:=BARSLAST(HJ_9);HJ_11:=REF(HIGH,HJ_10+2);HJ_12:=REF(HIGH,HJ_10+1);HJ_13:=REF(HIGH,HJ_10);HJ_14:=MAX(HJ_11,HJ_12);HJ_15:=MAX(HJ_14,HJ_13);HJ_16:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>3.5;HJ_17:=HJ_10<150;HJ_18:=(OPEN-HJ_15)/HJ_15*100<30;HJ_19:=(CLOSE-LLV(LOW,HJ_10))/LLV(LOW,HJ_10)*100<50;HJ_20:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;HJ_21:=VOL/MA(VOL,5)<3.5;HJ_22:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;HJ_25:=HJ_16 AND HJ_17 AND HJ_18 AND HJ_19 AND HJ_20 AND HJ_21 AND HJ_22;BOLL:=MA(CLOSE,20);UPPER:=BOLL+2*STD(CLOSE,20);PER:=CROSS(C,UPPER);TPZ1:=MA((L+H+C)/3,5);TPZ2:=HHV(TPZ1,60);TPZ3:=CROSS(C,TPZ2*0.95) OR CROSS(C,TPZ2*0.98) ;TPZ4:=PER AND HJ_25 AND TPZ3;TPZ5:=MA(CLOSE,25)+MA(CLOSE,25)*20/100*0.35;TPZ6:=(MA(MA(H,25),25)-MA(MA(L,25),25))*1+MA(MA(H,25),25);TPZ7:=REF(C<TPZ6 OR C<TPZ5,1) AND C>TPZ6 AND C>TPZ5 ;TPZ8:=TPZ4 OR TPZ7;TPZ9:TPZ8 AND XG AND C/REF(C,1)>1.05 AND REF(C,1)/REF(C,2)<1.03 AND REF(C>3.7,1) AND REF(C<19,1) AND (CAPITAL/100)/10000<=15 AND O/REF(C,1)<1.05 AND C>O,COLORRED;DRAWTEXT(TPZ9,0.6,'▲▲突破妖股'),COLORYELLOW;{选股指标源码}去ST:=NAMELIKE('ST')=0 AND NAMELIKE('*ST')=0 AND NAMELIKE('SST')=0 AND NAMELIKE('S*ST')=0;去除停牌:=DYNAINFO(4)>0;去除创业板:=IF(CODELIKE('300') OR CODELIKE('301') ,0,1) ;去除科创板:=IF(CODELIKE('688'),0,1);XG:=去ST AND 去除停牌 AND去除创业板 AND 去除科创板;MA10:=MA(CLOSE,10);MA54:=MA(CLOSE,54);HJ_8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;HJ_9:=FILTER(HJ_8,10);HJ_10:=BARSLAST(HJ_9);HJ_11:=REF(HIGH,HJ_10+2);HJ_12:=REF(HIGH,HJ_10+1);HJ_13:=REF(HIGH,HJ_10);HJ_14:=MAX(HJ_11,HJ_12);HJ_15:=MAX(HJ_14,HJ_13);HJ_16:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>3.5;HJ_17:=HJ_10<150;HJ_18:=(OPEN-HJ_15)/HJ_15*100<30;HJ_19:=(CLOSE-LLV(LOW,HJ_10))/LLV(LOW,HJ_10)*100<50;HJ_20:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;HJ_21:=VOL/MA(VOL,5)<3.5;HJ_22:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;HJ_25:=HJ_16 AND HJ_17 AND HJ_18 AND HJ_19 AND HJ_20 AND HJ_21 AND HJ_22;BOLL:=MA(CLOSE,20);UPPER:=BOLL+2*STD(CLOSE,20);PER:=CROSS(C,UPPER);TPZ1:=MA((L+H+C)/3,5);TPZ2:=HHV(TPZ1,60);TPZ3:=CROSS(C,TPZ2*0.95) OR CROSS(C,TPZ2*0.98) ;TPZ4:=PER AND HJ_25 AND TPZ3;TPZ5:=MA(CLOSE,25)+MA(CLOSE,25)*20/100*0.35;TPZ6:=(MA(MA(H,25),25)-MA(MA(L,25),25))*1+MA(MA(H,25),25);TPZ7:=REF(C<TPZ6 OR C<TPZ5,1) AND C>TPZ6 AND C>TPZ5 ;TPZ8:=TPZ4 OR TPZ7;TPZ9:TPZ8 AND XG AND C/REF(C,1)>1.05 AND REF(C,1)/REF(C,2)<1.04 AND REF(C>3.7,1) AND REF(C<19,1) AND (CAPITAL/100)/10000<=15 AND O/REF(C,1)<1.05 AND C>O,COLORRED;。
通达信副图指标源码【大全】
庄筹散筹(幅图)庄筹估算:EMA(WINNER(C)*70,5) COLORMAGENTA LINETHICK2;散筹估算:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5) COLORGREEN LINETHICK2; CC:=FILTER( (CROSS(5,庄筹估算) AND 散筹估算<20 )*60,10 );抄底:CC,COLORYELLOW;DRAWTEXT(CC ,11 ,'抄底' ) ,COLORYELLOW;AA:= REF(庄筹估算,30)>40 OR REF(庄筹估算,20)>40;BB:=CROSS(28,庄筹估算) AND 散筹估算>40 AND AA=1 {AND LLV(L ,60 )>LLV(L ,250 )}; 洗盘:IF(BB ,30 ,60 ) COLORCY AN;DRAWTEXT(FILTER(BB,4) ,66 ,'洗盘' ) COLORCY AN;DRAWTEXT(庄筹估算>60,58,'★'),COLORRED;STICKLINE(庄筹估算<散筹估算AND 散筹估算<60,散筹估算,55,1,0),COLORGREEN; STICKLINE(庄筹估算>散筹估算,散筹估算,50,1,0),COLORRED;STICKLINE(庄筹估算<散筹估算,庄筹估算,0,0,0),COLORYELLOW;操盘频率(幅图)V AR1:=MA(CLOSE,26);持仓线: V AR1, , ;V AR2:=V AR1-0.25;空仓线: V AR2, , ;操盘频率: EMA(CLOSE,3);操盘频率是一个趋势类的指标,它由三根线条组成,分别是:操盘趋势,持仓线,空仓线组成,通常这个指标为我们明确指出了一个中期趋势的大方向机构能量线(幅图){坐标线;20.00;50.00;80.00}V AR1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;机构做空能量线: SMA(V AR1,3,1),LINETHICK2,COLORGREEN;V AR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;机构做多能量线: SMA(V AR2,5,1)-8,LINETHICK2,COLORRED;弱势区:20,POINTDOT,COLORGREEN;强弱分水岭:50,POINTDOT,COLORWHITE;强势区:80,POINTDOT,COLORF00FF0;该指标共四根线,分别为机构做空能量线(绿色粗线)、机构做多能量线(红色粗线),这两条线代表中期趋势;能量超买线(红色细线)、能量超卖线(绿色细线),这两条线代表短期趋势。
潜伏追涨黑马系列通达信主图副图指标
潜伏追涨黑马系列通达信主图副图指标主图指标DRAWGBK(C>0, RGB(0,0,50),RGB(00,0,0),0,0,1);Z1:=STRCAT(HYBLOCK,' ');Z2:=STRCAT(Z1,DYBLOCK);Z3:=STRCAT(Z2,' ');Z4:DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)), COLORRED;DRAWTEXT_FIX(ISLASTBAR,0.001,0.050,0,GNBLOCK),COLOR CYAN;{概念};DRAWTEXT_FIX(ISLASTBAR,0.002,0.1,0,ZDBLOCK);LHB:SIGNALS_USER(4,1);DRAWTEXT(LHB,H,'龙虎'),COLORWHITE;AHC1:=CLOSE*VOL;AHC2:=EMA((EXPMA(AHC1,3)/EXPMA(VOL,3)+EXPMA(AHC 1,6)/EXPMA(VOL,6)+EXPMA(AHC1,12)/EXPMA(VOL,12)+EXPMA (AHC1,24)/EXPMA(VOL,24))/4,13),COLORYELLOW;ZT:=REF(C,1)*1.1-C<0.01 AND H=C;顶:=1.3*AHC2;内上:=1.06*AHC2;内下:=AHC2*0.94;底:=AHC2*0.87,DOTLINE,COLORGREEN;IF((内上<= REF(内上,1)),内上,DRAWNULL),COLORGREEN,DOTLINE,LINETHICK2;IF((内上>= REF(内上,1)),内上,DRAWNULL),COLORMAGENTA,DOTLINE,LINETHICK2;IF((内下<= REF(内下,1)),内下,DRAWNULL),COLORGREEN,DOTLINE,LINETHICK2;IF((内下>= REF(内下,1)),内下,DRAWNULL),COLORMAGENTA,DOTLINE,LINETHICK2;爆:=REF(O<内上,1) AND C>内上 AND O>内上;牛股:=C>内上 AND O>内上;AR:=BARSLAST(牛股);DRAWKLINE(H,O,L,C);STICKLINE( 牛股 AND C>O,C,O,3.2,0),COLOR000066;STICKLINE(牛股 AND C>O,C,O,2.0,0),COLOR000077;STICKLINE(牛股 AND C>O,C,O,1.5,0),COLOR000099;STICKLINE(牛股 AND C>O,C,O,0.9,0),COLOR0000CC;STICKLINE(牛股 AND C>O,C,O,0.5,0),COLOR0000FF;STICKLINE(牛股 AND C>O,O,C,0,0),COLORFFFFFF;STICKLINE( 牛股 AND C<O,L,H,0,0),COLOR009900;STICKLINE( 牛股 AND C<O,C,O,3.2,0),COLOR009900;STICKLINE( 牛股 AND C<O,C,O,2.5,0),COLOR00BB00;STICKLINE(牛股 AND C<O,C,O,1.5,0),COLOR00DD00;STICKLINE(牛股 AND C<O,C,O,0.5,0),COLOR00FF00;STICKLINE(牛股 AND C<O,C,O,0,0),COLORFFFFFF;LC:=REF(CLOSE,1);操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;操作线1:=SMA(MAX(CLOSE-LC,0),20,1)/SMA(ABS(CLOSE-LC),20,1)*100;潜伏:=操作线<10 AND 内上>=REF(内上,1);DRAWTEXT(潜伏,L,'潜伏'),COLORYELLOW;副图1MA5:=MA(CLOSE,5),LINETHICK1;V00:= HIGH<REF(HIGH,1) AND LOW<REF(LOW,1);V01:= HIGH<REF(HIGH,1) AND LOW>REF(LOW,1);V02:= HIGH>REF(HIGH,1) AND LOW<REF(LOW,1);V03:= HIGH>REF(HIGH,1) AND LOW>REF(LOW,1);V04:= REF(HIGH,2) < HIGH AND REF(LOW,2) < LOWAND REF(HIGH,2) > REF(HIGH,1) AND REF(LOW,2) < REF(LOW,1);V1:= COUNT(V00,6)>=3 AND COUNT(V01 OR V02,5)=0 AND LLVBARS(LOW,6) = 1 AND HHVBARS(HIGH,6) >= 5 AND V03;V2:= COUNT(V00,7)>=3 AND COUNT(V01 OR V02,6)=1 AND LLVBARS(LOW,7) = 2 AND HHVBARS(HIGH,7) >= 6 AND V04;V3:= COUNT(V00,7)>=3 AND COUNT(V01 OR V02,6)=1 AND LLVBARS(LOW,7) = 1 AND HHVBARS(HIGH,7) >= 6 AND V03;V4:= COUNT(V00,8)>=3 AND COUNT(V01 OR V02,7)<=2 AND LLVBARS(LOW,8) = 2 AND HHVBARS(HIGH,8) >= 7 AND V04;V5:= COUNT(V00,8)>=3 AND COUNT(V01 OR V02,7)<=2 AND LLVBARS(LOW,8) = 1 AND HHVBARS(HIGH,8) >= 7 AND V03;V6:= COUNT(V00,9)>=3 AND COUNT(V01 OR V02,8)<=3 AND LLVBARS(LOW,9) = 2 AND HHVBARS(HIGH,9) >= 8 AND V04;V7:= COUNT(V00,9)>=3 AND COUNT(V01 OR V02,8)<=3 AND LLVBARS(LOW,9) = 1 AND HHVBARS(HIGH,9) >= 8 AND V03;V8:= COUNT(V00,10)>=3 AND COUNT(V01 OR V02,9)<=4 AND LLVBARS(LOW,10) = 2 AND HHVBARS(HIGH,10) >= 9 AND V04;V9:= COUNT(V00,10)>=3 AND COUNT(V01 OR V02,9)<=4 AND LLVBARS(LOW,10) = 1 AND HHVBARS(HIGH,10) >= 9 AND V03;V10:= COUNT(V00,11)>=3 AND COUNT(V01 OR V02,10)<=5 AND LLVBARS(LOW,11) = 2 AND HHVBARS(HIGH,11) >= 10 AND V04;DFX: V1 OR V2 OR V3 OR V4 OR V5 OR V6 OR V7 OR V8 OR V9 OR V10 AND CLOSE> MA5;XG:DFX AND CLOSE> MA5 ;副图2{黑马一号-RRF}AHC1:=CLOSE*VOL;AHC22:=EMA((EXPMA(AHC1,23)/EXPMA(VOL,23)+EXPMA( AHC1,54)/EXPMA(VOL,54)+EXPMA(AHC1,108)/EXPMA(VOL,108) +EXPMA(AHC1,316)/EXPMA(VOL,316))/4,34);通道:=1.0668*AHC22;起爆:=CROSS(C,通道) AND REF(C,1)*1.05-C<0.008 AND C>O*0.5;RRF:=起爆;STICKLINE(IF(RRF,-120,0),+12,0,2,0),COLORMAGENTA;STICKLINE(IF(RRF,-120,0),+8,0,2,0),COLORYELLOW;STICKLINE(RRF,0,4,2,0),COLORGREEN;DRAWTEXT(RRF,10,'黑马一号'),COLORYELLOW;A1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23));A2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),A1);金线王:=EMA(A2,200)*1.118;金线王2:=EMA(A2,200)*1.118;条件:=(C-REF(C,1))/REF(C,1)*100>8;金K线:=CROSS(C,金线王) AND 条件;STICKLINE(金K线,8,0,2,0),COLORRED;DRAWTEXT(金K线,6,'黑马启动'),COLORYELLOW;AA05:=MA(C,5);AA30:=MA(C,30);MA05:=MA(C,5);MA10:=MA(C,13);MA30:=MA(C,34);速度5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1);加速度5:=EMA((速度5-REF(速度5,1)),3);五日乖离率:=(C-AA05)/AA05*100;三拾日乖离率:=(C-MA30)/MA30*100;MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;买入:=FILTER(MR,10);STICKLINE(买入,4,0,2,0),COLORMAGENTA;DRAWTEXT(买入,2,'黑马必抓'),COLORYELLOW;。
神品三花聚顶通达信主图副图指标
神品三花聚顶通达信主图副图指标主图源码Z1:=STRCAT(HYBLOCK,' ');Z2:=STRCAT(Z1,DYBLOCK);Z3:=STRCAT(Z2,' ');DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),CO LORRED;DRAWTEXT_FIX(ISLASTBAR,0.001,0.050,0,GNBLOCK),COLOR CYAN;{概念};ZT:=REF(C,1)*1.1-C<0.01 AND H=C;{涨停}AA:=MA((2*CLOSE+HIGH+LOW)/4,5);通1:=AA*102/100;通2:=AA*(200-102)/100;CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);DD:=DMA(CLOSE,CC);上:(1+7/100)*DD,DOTLINE,COLORGREEN;下:(1-7/100)*DD,DOTLINE,COLORGREEN;中:(上+下)/2,DOTLINE,COLORGREEN;上上:EMA(上,181),DOTLINE,COLORRED;下下:EMA(下,181),DOTLINE,COLORRED;中中:EMA(中,181),DOTLINE,COLORRED;STICKLINE(上>=上上,上,上上,0,0),COLORRED;DRAWKLINE(H,O,L,C);{IF((上 <= REF(上,1)),上,DRAWNULL),COLORGREEN,DOTLINE;IF((上 > REF(上,1)),上,DRAWNULL),COLORRED,DOTLINE;IF((中 <= REF(中,1)),中,DRAWNULL),COLORGREEN,DOTLINE;IF((中 > REF(中,1)),中,DRAWNULL),COLORRED,DOTLINE;IF((下 <= REF(下,1)),下,DRAWNULL),COLORGREEN,DOTLINE;IF((下 > REF(下,1)),下,DRAWNULL),COLORRED,LINETHICK2;} 顶:=(1+14/100)*DD,LINETHICK2,COLORBLACK;底:=(1-14/100)*DD,LINETHICK2,COLORBLACK;触底:=REF(L,1)<底 AND ZT ;DRAWTEXT(触底,L,'反转'),COLORCYAN;STICKLINE(触底,C,O,3,1),COLORYELLOW;STICKLINE(触底,C,O,1,0),COLORRED;DF:=(C-REF(C,1))/REF(C,1)*100<-5;DF4:=(C-O)/O*100<-4;AAAA:=BARSLAST(DF);乖离涨停1:=H>上 AND ZT AND CROSS(C,上);DRAWTEXT(乖离涨停1,L,'爆'),COLORYELLOW;STICKLINE(乖离涨停1,C,O,3,1),COLORYELLOW;乖离涨停2:=O>上 AND ZT;STICKLINE(乖离涨停2,C,O,3,1),COLORCYAN;DRAWTEXT(乖离涨停2,L,'妖股'),COLORCYAN;游资吸筹副图X_1:=(MA((EMA(((CLOSE+HIGH)/2-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*(LOW*0.173),7)+LOW*0.9137*0.3+LOW*0.7+HIGH )/2,4)+MA((HHV(LOW,3)+LLV(HIGH,3))/2,2))/2;X_2:=(((EMA(EMA(((CLOSE+HIGH)/2-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*(LOW*0.173),7)+LOW*0.9137,13)-EMA(EMA(EMA(((CLOSE+HIGH)/2-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*(LOW*0.173),7)+LOW*0.9137,13),7))/EMA(EMA(E MA(((CLOSE+HIGH)/2-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*(LOW*0.173),7)+LOW*0.9137,13),7)*10+MA((HHV (LOW,3)+LLV(HIGH,3))/2,2))*0.99+MA((HHV(LOW,3)+LLV(HIGH,2))/2,2))/2;X_3:=LLV(REF(1.5*REF(MA(CLOSE,6),1)-0.5*(MA(CLOSE,6)*1.013),1),17)*0.98;X_4:=SLOPE(X_1,7)*1.78+(X_1*0.63+X_2*0.37);STICKLINE(X_3>X_4,X_3/20,0,3,1),COLORDD3311;STICKLINE(X_3>X_4,0.5,X_3/20,3,(-1)),COLORLIMAGENTA;STICKLINE(X_3>X_4,0.5,X_3/20,2,(-1)),COLORLIMAGENTA;STICKLINE(X_3>X_4,0.5,X_3/20,1,(-1)),COLORLIMAGENTA;STICKLINE(X_3>X_4,0.5,X_3/20,0,(-1)),COLORLIMAGENTA;X_5:=CLOSE/REF(LLV(LOW,21),5)<1;X_6:=IF(X_5,1,0);STICKLINE(X_3>X_4 AND X_6,0.5,0,2,0),COLORRED;X_7:=(CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100;X_8:=SMA(X_7,3,1);X_9:=SMA(X_8,3,1);X_10:=3*X_8-2*X_9;X_11:=X_8<22 AND X_10<2 AND REF(X_10,1)>2;STICKLINE(X_3>X_4 AND X_11,0,0.2,3,0),COLORYELLOW;NOTEXT动态底:EMA(IF(LOW<=LLV(LOW,30),SMA(ABS(LOW-REF(LOW,1)),30,1)/SMA(MAX(LOW-REF(LOW,1),0),30,1),0),3)*0.1,STICK,COLORYELLOW,LINETHICK2;整合抄底CAR1:=VOL<MA(VOL,5) AND MA(VOL,5)<MA(VOL,55);CAR2:=CLOSE/REF(CLOSE,1)>1.028;CAR3:=MA(CLOSE,10)>CLOSE*1.05;CAR4:=MA(CLOSE,10)<CLOSE*1.1;CAR5:=MA(CLOSE,60)>CLOSE*1.28;金牛:=CAR1 AND CAR2 AND CAR3 AND CAR4 AND CAR5;DIF1:=(CLOSE-SMA(CLOSE,7,1))/SMA(CLOSE,7,1)*(-100);DEA1:=REF(DIF1,1)>13 AND REF(DIF1,1)/DIF1>1.3 AND CLOSE/REF(CLOSE,1)>1.03;KOV:=IF(DEA1 AND REF(CLOSE,1)<=COST(5),28,0);PIC:=IF(DEA1 AND REF(CLOSE,1)<=COST(5),18,0);春笋:=IF(DEA1 AND REF(CLOSE,1)<=COST(5),1,0) AND C<MA(C,60);VAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR5:=(VAR2+2*VAR3+3*VAR4)/6;VAR6:=MA(VAR5,3);D02:=VAR6<=-10;VAR11:=CLOSE/MA(CLOSE,30)*100<75;VAR12:=CLOSE/MA(CLOSE,50)*100<78;VAR13:=CLOSE/MA(CLOSE,70)*100<72;VAR14:=HIGH>LOW*1.053;VAR15:=VAR14 AND COUNT(VAR14,5)>2;VAR16:=(VAR11 AND VAR12) OR (VAR12 AND VAR13) OR (VAR11 AND VAR13);D4:=VAR15 AND VAR16;高精:=D02 AND COUNT(D4,3)>=1;牛组合:金牛 AND 春笋 AND 高精,COLORLIMAGENTA;STICKLINE(牛组合,0,210,3,0),COLORLIMAGENTA;DRAWTEXT(牛组合,210,'↙高春牛组合90%'),COLORLIMAGENTA;{2明道88%}AAA:=(C-MA(C,90))/MA(C,90)*100;BBB:=(COST(11)-CLOSE)/CLOSE>0.15;明道:CROSS(AAA,-26) AND BBB,COLOR00F5C2;STICKLINE(明道,0,200,3,0),COLOR00F5C2;DRAWTEXT(明道,200,'↙明道88%'),COLOR00F5C2;{3赢一波组合84%}BIAS0:=(C-MA(C,2))/MA(C,2)*100;HXL:=V/CAPITAL*100;D1:=INDEXC;D2:=MA(D1,13);DR2:=D2>1.040*D1;E1:=(C-HHV(C,12))/HHV(C,12)*10;E2:=(C-REF(C,26))/REF(C,26)*10;E3:=MA(C,3);SJ1:=DR2;SJ2:=E2<-2.30;SJ3:=BIAS0<-2.7;SJ5:=SJ1 AND SJ2 AND SJ3;一:=CROSS(0.5,SJ5);C1X:=((MA(C,30)-L)/MA(C,60))*200;M1X:=REF(CLOSE,1);M2X:=SMA(MAX(CLOSE-M1X,0),7,1)/SMA(ABS(CLOSE-M1X),7,1)*100;G1X:=FILTER(REF(M2X,1)<20 AND M2X>REF(M2X,1),5);TUX:=C/MA(C,40)<0.74;TDJX:=(H-L)/REF(C,1)>0.05;YULX:=COUNT(TDJX,5)>1;启动X:=TUX AND TDJX AND YULX;波:=FILTER((G1X AND C1X>20 OR C>REF(C,1)) AND REF(启动X,1),10);ETG1:=CLOSE/MA(CLOSE,30)*100<75;ETG2:=CLOSE/MA(CLOSE,50)*100<78;ETG3:=HIGH>LOW*1.053;ETG4:=ETG3 AND COUNT(ETG3,5)>2;ETG5:=ETG4 AND (ETG1 OR ETG2);ETG6:=DMA(EMA(CLOSE,5),SUM(VOL,8)/2.8/CAPITAL);ETG7:=(CLOSE-ETG6)/ETG6*100;赢:=REF(ETG7,1)<-34 AND ETG7>REF(ETG7,1) AND REF(ETG7,1)<REF(ETG7,2)AND ETG7-REF(ETG7,1)>1.76 OR ETG5;赢一波组合:赢 AND 一 AND 波,COLOR2A2AA3;STICKLINE(赢一波组合,0,190,3,0),COLOR2A2AA3;DRAWTEXT(赢一波组合,190,'↙赢一波组合84%'),COLOR2A2AA3;4率土之滨-85%信号较少}X01:=MA(C,10)/C>1.055;X02:=MA(C,10)/C<1.1;X03:=MA(C,60)/C>1.28;X04:=C/REF(C,1)>1.028;X05:=H>L*1.05 AND COUNT(H>L*1.05,5)>3;X06:=O/HHV(C,30)<0.78;X07:=V<MA(V,5) AND MA(V,5)<MA(V,55);X08:=O=LLV(O,30);率土之滨:X01 AND X02 AND X03 AND X04 AND X05 AND X06 AND X07 AND X08,COLORFFFFAA;STICKLINE(率土之滨,0,180,3,0),COLORFFFFAA;DRAWTEXT(率土之滨,180,'↙率土之滨84%'),COLORFFFFAA;{5钻石底-87%}VBR:=C<REF(C,4);NT0:=BARSLASTCOUNT(VBR);TJ21:=NT0=6 ;底6:=COUNT(NT0=6,5)=1;VBR1:=DMA(CLOSE,VOL/SUM(VOL,34));VBR2:=DMA(CLOSE,VOL/SUM(VOL,13));VBR3:=(CLOSE-VBR1)/VBR1*100;VBR4:=(CLOSE-VBR2)/VBR2*100;Y1:=VBR4<=-17 AND VBR3<=-25;去除ST:=IF(NAMELIKE('ST') OR NAMELIKE('*ST'),0,1);去除停牌:=DYNAINFO(4)>0;去除:=去除ST AND 去除停牌;Q1:=底6 AND Y1 AND 去除;超卖区:=MA((CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100 ,2);Q2:=超卖区<-20;钻石底:Q1 AND Q2 AND C>REF(C,1)*0.91 AND C<REF(C,1) AND INDEXC<REF(INDEXC,1) AND REF(C>REF(C,1),1),COLOR0033FF;STICKLINE(钻石底,0,170,3,0),COLOR0033FF;DRAWTEXT(钻石底,170,'↙☆☆钻石底87%'),COLOR0033FF;{6金牛起步83%}CAR0:=VOL<MA(VOL,5) AND MA(VOL,5)<MA(VOL,55);CAR02:=CLOSE/REF(CLOSE,1)>1.028;CAR03:=MA(CLOSE,10)>CLOSE*1.05;CAR04:=MA(CLOSE,10)<CLOSE*1.1;CAR05:=MA(CLOSE,60)>CLOSE*1.28;金牛起步:CAR0 AND CAR02 AND CAR03 AND CAR04 AND CAR05,COLOR0060FF;STICKLINE(金牛起步,0,160,3,0),COLORWHITE;STICKLINE(金牛起步,0,160,3.2,0),COLOR555555;STICKLINE(金牛起步,0,160,2.6,0),COLOR777777;STICKLINE(金牛起步,0,160,1.9,0),COLOR999999;STICKLINE(金牛起步,0,160,1.1,0),COLORCCCCCC;STICKLINE(金牛起步,0,160,0.3,0),COLORCCDDBB;DRAWTEXT(金牛起步,160,'↙金牛起步83%'),COLOR0060FF;{7超跌选股80%}AAA1:=BARSLASTCOUNT(C>REF(C,4));高A:=( AAA1=1);VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*200+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*300+(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100)/6;VAR02:=MA(VAR1,6);VAR03:=(HHV(HIGH,60)-REF(C,1))/HHV(HIGH,60)>0.3 AND (HHV(HIGH,60)-REF(C,1))/HHV(HIGH,60)<0.4;超跌选股:CROSS(VAR1,VAR02) AND VAR1<-8.5 AND VAR03 AND 高A;STICKLINE(超跌选股,0,150,3,0),COLORBD4DB6;DRAWTEXT(超跌选股,150,'↙超跌选股80% '),COLORBD4DB6;{8锤头王-80%}CD1:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.57;CD2:=LOW/MIN(CLOSE,OPEN)<=0.97;EMA9:=EMA(CLOSE,9);XSLDN:=EMA(EMA9*0.86,5);CD3:=C<=XSLDN;CD4:=REF(C,1)/REF(XSLDN,1)<0.98;锤头王:C/REF(C,1)>0.99 AND CD1 AND CD2 AND CD3 AND CD4,COLOR9F46B4;STICKLINE(锤头王,0,140,3,0),COLOR9F46B4;DRAWTEXT(锤头王,140,'↙80% '),COLOR9F46B4;{9核心低点-81%}X_01:=O/HHV(C,30)<0.78;X_02:=C/MA(C,50)<0.78;X_03:=O=LLV(O,30);X_04:=C/SMA(C,13,1)-1;X_05:=REF(X_04,1)<-0.13;X_06:=REF(X_04,1)/X_04>1.1582;X_07:=REF(C,1)<=COST(5);X_08:=COUNT(H>L*1.05,5)>2;核心低点:X_01 AND X_02 AND X_03 AND X_05 AND X_06 AND X_07 AND X_08,COLORLIGREEN;STICKLINE(核心低点,0,130,3,0),COLORLIGREEN;DRAWTEXT(核心低点,130,'↙核心低点81%'),COLORLIGREEN;{10狗头金综75%}BIAS01:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;BIAS02:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;BIAS03:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,11)*100;老二:=IF(BIAS02<=-10,1,0);DIF3:=EMA(CLOSE,12)-EMA(CLOSE,150);DEA3:=EMA(DIF3,9);MACD3:=(DIF3-DEA3)*2;爆发:=MACD3<0 AND MACD3>REF(MACD3 ,1) AND REF(MACD3 ,1)<REF(MACD3 ,2)AND REF(MACD3 ,2)<REF(MACD3 ,3)AND REF(MACD3 ,3)<REF(MACD3 ,4);VVAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VVAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VVAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VVAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VVAR5:=(VAR2+2*VVAR3+3*VVAR4)/6;VVAR6:=MA(VVAR5,3);大底:=VVAR6<=-10;VVAR11:=CLOSE/MA(CLOSE,20)*100<80;VVAR12:=CLOSE/MA(CLOSE,40)*100<78;VVAR13:=CLOSE/MA(CLOSE,60)*100<72;VVAR14:=HIGH>LOW*1.051;VVAR15:=VVAR14 AND COUNT(VVAR14,5)>1;中底:=VVAR15 AND (VVAR11 OR VVAR12 OR VVAR13);操盘:=EMA((CLOSE-MA(CLOSE,3))/MA(CLOSE,3),2);跟风:=EMA((CLOSE-MA(CLOSE,20))/MA(CLOSE,20),7);见到曙光:=CROSS(操盘,跟风) AND 操盘 <0 AND 跟风 <0;趋势线1:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100 ;AAX:=((REF(趋势线1,1)<REF(趋势线1,2) AND 趋势线1<-30) AND 趋势线1>=REF(趋势线1,1)) OR (REF(CROSS(-30,趋势线1),1) AND CROSS(趋势线1,-30)) OR 趋势线1=-30;砸盘:=IF(AAX,500,-30);BBX:=((REF(趋势线1,1)<REF(趋势线1,2) AND 趋势线1<-20 AND 趋势线1>-25) AND 趋势线1>=REF(趋势线1,1)) OR (REF(CROSS(-20,趋势线1),1) AND CROSS(趋势线1,-20));XG:=BBX;WW:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);MM:=DMA(CLOSE,WW);通道4:=(1-7/100)*MM;VAR84:=EXPMA(CLOSE,9);LDN:=EXPMA(VAR84*0.86,5);TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));TTRR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);HD:=HIGH-REF(HIGH,1);LD:=REF(LOW,1)-LOW;DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),14);DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);PDI:=DMP*100/TTRR;MDI:=DMM*100/TTRR;ADX:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);买底:=C<=通道4 AND C<=LDN AND CCI<-100AND ADX>=60 AND MDI >= PDI AND CLOSE>OPEN;VAR82:=LLV(LOW,10);VAR83:=HHV(HIGH,25);能量:=EMA((CLOSE-VAR82)/(VAR83-VAR82)*4,4);底:=0.2;关注:=0.5;红色箭头:=FILTER(CROSS(能量,关注),20);XXG:=买底 OR 红色箭头;AX:=SMA((CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100,4,1);BX:=SMA((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100,4,1);MBX:=SMA((BX-50)*2,3,1)+SMA((AX-50)*2,3,1)/2;狗头金:=MBX<-90;狗头金综: 狗头金AND COUNT(XG,5) AND COUNT(中底,3) AND NOT(COUNT(XXG,1)) AND NOT(COUNT(见到曙光,3)) AND COUNT(老二,3) AND 大底 AND 爆发,NODRAW,COLORFF7080;STICKLINE(狗头金综,0,120,3,0),COLORFF7080;DRAWTEXT(狗头金综,120,'↙☆☆狗头金75%'),COLORFF7080;{11高精抄底75%}DIF:=EMA(CLOSE,12)-EMA(CLOSE,150);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;VAR7:=MACD<0 AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);VAR8:=MACD<0 AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3);VAR9:=MACD<0 AND REF(MACD,1)<REF(MACD,2);VAR10:=VAR7 OR VAR8 OR VAR9;D3:=VAR10;VAR016:=(VAR11 AND VAR12) OR (VAR12 AND VAR13) OR (VAR11 AND VAR13);D04:=VAR15 AND VAR16;趋势线:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;AA:=((REF(趋势线,1)<REF(趋势线,2) AND 趋势线<-30) AND 趋势线>=REF(趋势线,1)) OR (REF(CROSS(-30,趋势线),1) AND CROSS(趋势线,-30)) OR 趋势线=-30;BB:=((REF(趋势线,1)<REF(趋势线,2) AND 趋势线<-20 AND 趋势线>-25) AND 趋势线>=REF(趋势线,1)) OR (REF(CROSS(-20,趋势线),1) AND CROSS(趋势线,-20));D5:=BB;SHYY:=D2 AND D3 AND COUNT(D04,3)>=1 AND COUNT(D5,5)>=1;高精抄底:BARSLASTCOUNT(SHYY)=1,COLORE55B35;STICKLINE(高精抄底,0,110,3,0),COLORE55B35;DRAWTEXT(高精抄底,110,'↙高精抄底75%'),COLORE55B35;{12吉祥低吸75%}VARR2:=(2*CLOSE+HIGH+LOW)/4;VARR4:=LLV(LOW,5);VARR5:=HHV(HIGH,4);吉:=EMA((VARR2-VARR4)/(VARR5-VARR4)*100,4);祥:=EMA(0.667*REF(吉,1)+0.333*吉,2);获利比:=(WINNER(C*125/100)-WINNER(C))*100<7.5;吉祥低吸:CROSS(吉,祥) AND 吉<30 AND 获利比,COLOR93CB3F;STICKLINE(吉祥低吸,0,100,3,0),COLOR93CB3F;DRAWTEXT(吉祥低吸,100,'↙高精抄底75%'),COLOR93CB3F;{13抄底深套盘76%}深套:WINNER(C)*100<10 AND (WINNER(C*1.25)-WINNER(C))*100<20AND C/REF(C,1)>1.0138 AND V/REF(V,1)<1,COLOR802391;STICKLINE(深套,0,100,3,0),COLOR802391;DRAWTEXT(深套,100,'↙深套75%'),COLOR802391;{14大红马75%}VARR10:=EMA(WINNER(C)*70,3);VAR20:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,3);VAR30:=C/MA(C,40)*100<76;VAR40:=C/MA(C,60)*100<74;VAR50:=H>L*1.051;VAR60:=VAR50 AND COUNT(VAR50,5)>1;VAR70:=(WINNER(C*125/100)-WINNER(C))*100<7.5;VAR80:=1;TZB:=-0.2*(VAR60 AND (VAR30 OR VAR40) AND VAR20<20 AND VARR10<20 AND VAR70 AND VAR80);DHM:=TZB<0 AND REF(TZB,1)=0;风险值:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3)<=10;机会来临:=REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1);HJ_11:=CLOSE/MA(CLOSE,40);HJ_12:=CLOSE/MA(CLOSE,60)*100<71;大魔鬼:=CROSS(HJ_11,HJ_12) AND 风险值 AND 机会来临;大红马:DHM OR 大魔鬼,COLOR3369FF;STICKLINE(大红马,0,90,3,0),COLOR3369FF;DRAWTEXT(大红马,90,'↙大红马75%'),COLOR3369FF;{15逆市买入77%}VAR31A:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR32A:=DMA(CLOSE,VOL/MA(VOL,32)/32);VAR31:=(CLOSE-VAR31A)/VAR31A*100<-8;VAR32:=(VAR31A-VAR32A)/VAR32A*100<-21;VAR33:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05;VAR34:=COUNT(NOT(C=O),8)>=8;逆市买入:VAR31 AND VAR32 AND VAR33 AND VAR34,COLOR588500;STICKLINE(逆市买入,0,80,3,0),COLOR588500;DRAWTEXT(逆市买入,80,'↙逆市买入77%'),COLOR588500;{16短线黑马-76%}VAR1C:=DMA(C,VOL/MA(VOL,4)/4);VAR2C:=DMA(C,VOL/MA(VOL,33)/33);VAR3C:=(C-VAR1C)/VAR1C*100<-11;VAR4C:=(VAR1C-VAR2C)/VAR2C*100<-22.3;VAR5C:=VAR3C AND VAR4C AND COUNT(C<>O,7);VAR6C:=DMA(C,VOL/MA(VOL,3)/3);VAR7C:=DMA(C,VOL/MA(VOL,33)/33);VAR8C:=(C-VAR6C)/VAR6C*100<-5;VAR9C:=(VAR6C-VAR7C)/VAR7C*100<-18;VARDC:=VAR8C AND VAR9C AND (O-REF(C,1))/REF(C,1)>-0.05;VAREC:=VARDC AND COUNT(VARDC,2)=1;DXHM:=VAR5C OR VAREC;趋势:=SMA(MAX(C-REF(C,1),0),8,1)/SMA(ABS(C-REF(C,1)),8,1);HMA:=CROSS(趋势,0.15);X_21:=(C-MA(C,25))/MA(C,45)*123;BAME:=CROSS(X_21,(-25)) AND C>REF(C,1);HJ_1:=C/MA(C,40);HJ_2:=C/MA(C,60)*100<71;MOGU:=CROSS(HJ_1,HJ_2);短线黑马:(DXHM AND HMA) OR (BAME AND MOGU),COLORF7A186;STICKLINE(短线黑马,0,70,3,0),COLORF7A186;DRAWTEXT(短线黑马,70,'↙短线黑马77%'),COLORF7A186;{17神剑出鞘-70%}T1:=(INDEXC-MA(INDEXC,58))/MA(INDEXC,58)<-0.152;T2:=(C-EMA(C,58))/EMA(C,58)<-0.19;买1:=T2 AND T1;T4:=(C-MA(C,2))/MA(C,2)*100;T5:=INDEXC;T6:=MA(T5,13);T7:=T6>1.050*T5;T8:=(C-REF(C,26))/REF(C,26)*10;T9:=T7;T10:=T8<-2.30;T11:=T4<-2.7;T12:=T9 AND T10 AND T11;T13:=CROSS(0.5,T12);T14:=CROSS(T13,0.5);T15:=BARSLAST(T14=1);T16:=T15<=5 AND C<REF(C,T15);买2:=T13 OR T16;T17:= (C-MA(C,2))/MA(C,2)*100;T18:=INDEXC;T19:=MA(T18,56);T20:=T18/T19<0.94;T21:=(C-REF(C,26))/REF(C,26)*10;T22:=T20;T23:=T21<-2.55;T24:=T17<-2.7;T25:=T22 AND T23 AND T24;T26:=CROSS(0.5,T25);T27:=CROSS(T26,0.5);T28:=BARSLAST(T27=1);T29:=T28<=5 AND C<1.02*REF(C,T28);底4:=T26 OR T29;T30:= (C-MA(C,2))/MA(C,2)*100;T31:=INDEXC;T32:=MA(T31,13);T33:=T32>1.050*T31;T34:=(C-REF(C,26))/REF(C,26)*10;T35:=T33;T36:=T34<-2.69;T37:=T30<-3.09;T38:=T35 AND T36 AND T37;T39:=CROSS(0.5,T38);T40:=CROSS(T39,0.5);T41:=BARSLAST(T40=1);T42:=T41<=5 AND C<REF(C,T41);买3:=COUNT(T39 OR T42,4)=4;T43:=EMA(((C*1.1-LLV(LOW,630))/(HHV(HIGH,630)-LLV(LOW,630))-(C*0.9-LLV(LOW,630))/(HHV(HIGH,630)-LLV(LOW,630)))*80,5);T44:=INDEXC;T45:=MA(T44,5);T46:=MA(T44,20);T47:=MA(T44,30);T48:=T45>T44*1.03 AND T46>T44*1.13;T49:=T48;目标:=COUNT(T43<6 AND T49,3)>=3;新目标:=买3 OR 目标;SHYY1:=IF(((COUNT(买1 AND 底4,6)=6 OR COUNT(买1 AND 买2,4)=4 OR COUNT(买2 AND 底4,5)=5) OR 新目标),1,0);神剑出鞘:BARSLASTCOUNT(SHYY)=1,COLORFF0080;STICKLINE(神剑出鞘,0,60,3,0),COLORFF0080;DRAWTEXT(神剑出鞘,60,'↙神剑出鞘70%'),COLORFF0080;{18成功抄底-77%}AA1:=('999999$C'/REF('999999$C',20)-1)*100<-16 AND (C/REF(C,27)-1)*100<-35;A96:=FILTER(AA,3);VBR41:=1;VAR013:=V/CAPITAL;REC1:=REF(C,1);VBR42:=IF(EMA(C,5)/EMA(EMA(C,9),16)<=0.85 AND C/REC1>0.905 AND C/REC1<1.05 AND VAR13*100<5,50,0);VBR43:=(-100)*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))+100;VBR44:=(-100)*(HHV(H,50)-C)/(HHV(H,50)-LLV(L,50))+100;VBR45:=(-100)*(HHV(H,70)-C)/(HHV(H,70)-LLV(L,70))+100;VBR46:=((C-MA(C,34))/MA(C,34)*100+10)*5;VBR47:=((C-MA(C,50))/MA(C,50)*100+10)*5;VBR48:=((C-MA(C,70))/MA(C,70)*100+10)*5;VBR49:=(VBR43+VBR44+VBR45+VBR46+VBR47+VBR48)/6; VBR60:=EMA(VBR49,3);VBR61:=ABS(VBR46-VBR48);VBR62:=(VBR49+VBR61)/2;VBR50:=IF(VBR62<0 AND C=LLV(C,5) AND C/REC1>0.905 AND C/REC1<1.05 AND VAR13*100<5,-50,0);VBR53:=REF(C,2)*0.865;VBR54:=REF(C,13)*0.772;VBR55:=MIN(VBR53,VBR54);VBR56:=100*VAR013;VBR58:=IF((C-VBR55)/C<0.03 AND SUM(VBR56,5)/5<1.8,1,0);VBR59:=IF(VBR58>0 AND (VBR50<0 OR VBR42>0),100,0);VBR1F:=MA(C,80)-MA(C,10)/2.5;F98:=VBR59 AND C<VBR1F*VBR41;UAR13:=EMA(SLOPE(C,3)*20+C,66)*1;UAR14:=MA(C,80)-MA(C,10)/2.9;DQR1:=MA(C,80)-MA(C,13)/3;DQR2:=MA((C-DQR1)/DQR1,1);DQR3:=EMA(DQR2,12)*0.7;DQR4:=EMA(DQR2,3);底部将成:=IF(LLV(DQR4-DQR3,12)>0,0,-3);下降通道:=MA(C/2/(MA(C/2,30)*0.83),3)<1.045 AND REF(C,9)*0.8>O;ZAA1:=MA(C,18);ZAA2:=(C-ZAA1)/ZAA1*100;ZAA3:=MA(ZAA2,1);ZAA4:=BARSLAST(CROSS(-10,ZAA3)=1);信号滤:=IF(ZAA3<-10 AND ZAA4>=5,ZAA3,0)*1;DQSE:=(IF(WINNER(1.1*C)<0,0,WINNER(1.1*C))-IF(WINNER(0.9*C)<0,0,WINNER(0.9*C)))*100;DQS16:=IF(DQSE<0,0,DQSE);DQS17:=MA(C,35)-MA(C,5)/7;异动:=PWINNER(10,DQS16)<0.5 AND C<DQS17;C95:=C<UAR14 AND V/240>MA(V,5)/240 AND UAR13>REC1*1.08 AND UAR13<MA(UAR13,13)*1.91 AND 底部将成 AND 下降通道 AND 信号滤 AND 异动;成功抄底:A96 OR F98 OR C95,COLOR62B18A;STICKLINE(成功抄底,0,50,3,0),COLOR62B18A;DRAWTEXT(成功抄底,50,'↙成功抄底77%'),COLOR62B18A;{19MACD选股-77%}MA5:=MA(C,5);MA10:=MA(C,10);MA15:=MA(C,15);MA20:=MA(C,20);MA30:=MA(C,30);MA40:=MA(C,40);MA60:=MA(C,60);DIF2:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA2:=EMA(DIF2,9);MACD2:=(DIF2-DEA2)*2;上影线:=(H-MAX(C,O))/(MAX(C,O)-MIN(C,O));下影线:=(MAX(C,O)-L)/(MAX(C,O)-MIN(C,O));水上金叉:=REF(MACD2,3)=LLV(MACD2,10) AND REF(MACD2<0,3) AND EVERY(MACD2>REF(MACD2,1),2) AND CROSS(DIF2,DEA2) AND BETWEEN(HHV(MACD2,28)/ABS(LLV(MACD2,7)),0.5,1.8) AND EVERY(DEA2>=0,50) AND NOT(REF((O<MA20 AND C>MA5),2)) AND NOT(O=L) AND NOT(REF(O=L,2)) AND NOT(O>MA5 AND L<=MA5) AND NOT(REF(H=MA5,3)) AND REF(下影线<5.24,3)AND NOT(REF(C=L,3)) AND V>REF(V,1)*1.51 AND NOT(C<O) AND NOT(REF(CROSS(MA15,MA10),2)) AND NOT(REF(L<MA5 AND O>MA10 AND O>C,1)) AND NOT(REF(CROSS(MA10,MA5),2));水下金叉:=REF(MACD2,3)=LLV(MACD2,11) AND REF(MACD2<0,3) AND EVERY(MACD2>REF(MACD2,1),2) AND CROSS(DIF2,DEA2) AND EVERY(DEA2<0,14) ANDBETWEEN(V,MA(V,10)*0.662,MA(V,10)*0.75)AND BETWEEN(HHV(MACD2,28)/ABS(LLV(MACD2,7)),0.8,1.9) AND NOT(CROSS(MA15,MA20)) AND NOT(C=O) AND NOT(REF(CROSS(MA20,MA10),3)) AND NOT(CROSS(MA20,MA10)) ANDNOT(H>MA10 AND CROSS(C,MA10)) AND NOT(H>MA20 AND L<MA5) AND NOT(REF(H>MA20 AND L<MA5,1)) AND NOT(REF(CROSS(MA20,MA10),2)) AND 下影线<15.99 AND NOT(REF(CROSS(MA15,MA10),1)) AND NOT(O=L) AND REF(下影线<8.24,2) AND NOT(REF(L<MA5 AND CROSS(C,MA10),1)) AND REF(下影线<5.99,1);金叉:=水上金叉 OR 水下金叉;底0:=BETWEEN(LLV(MACD,30),-0.0002,-0.6) AND REF(CROSS(DIF,DEA) AND BETWEEN(V,MA(V,10)*0.35,MA(V,10)*0.75) ,3) AND CROSS(MA5,MA10) AND BETWEEN(V,REF(V,1)*0.6,REF(V,1)*1.2) AND NOT(O<MA30 AND C>MA30 AND C>MA20) AND NOT(L<MA5 AND L<MA30 AND C>MA5) AND NOT(CROSS(MA15,MA30)) AND NOT(CROSS(MA20,MA30)) AND C>O AND 下影线<3.27AND 上影线<7.74 AND NOT(H>MA20 AND O<MA15 AND MA20>MA15) AND NOT(CROSS(MA5,MA30) AND CROSS(MA5,MA20) AND CROSS(MA5,MA15)) AND NOT(C>MA40 AND L<MA30 AND MA40>MA30)AND NOT(REF(CROSS(MA10,MA5) AND C>MA60 AND L<MA60,4)) AND NOT(CROSS(MA5,MA30)) AND NOT(CROSS(MA20,MA40)) AND NOT(REF(V>REF(V,1)*2.22,1)) AND NOT(REF(C=O,3))AND NOT(REF(CROSS(MA5,MA15),1)) ;底1:=底0 AND NOT(REF(CROSS(MA20,MA10),3)) ANDNOT(REF(CROSS(MA10,MA5),3)) AND NOT(REF(O>MA10 AND L<MA5 AND MA10>MA5 AND C<O,2))AND NOT(REF(H>MA20 AND O<MA15,1)) AND REF(下影线<22.99,1) AND NOT(REF(CROSS(C,MA10) AND CROSS(C,MA15),1)) AND REF(上影线<35.99,2);MACD选股:金叉 OR 底1,COLORFF00FF;STICKLINE(MACD选股,0,40,3,0),COLORFF00FF;DRAWTEXT(MACD选股,40,'↙MACD选股77%'),COLORFF00FF;{20大周期底部73%-}L40:=MA(C,40);L60:=MA(C,60);VVAR01:=CLOSE/L40*100<78;VVAR02:=CLOSE/L60*100<74;VVAR03:=HIGH>(LOW*1.051);VVAR04:=VAR03 AND COUNT(VAR03,5)>1;VVAR05:=CLOSE/HHV(HIGH,BARSCOUNT(CLOSE>0))*100;DJH:=IF((REF(C,13)-CLOSE)/REF(C,13)*100*VVAR02>15AND SUM(VOL/CAPITAL,13)*100<18 AND VOL/CAPITAL*100<2.5AND (REF(C,1)-CLOSE)/REF(C,1)*100<8 AND VVAR05<=50 AND VVAR04AND (VVAR01 OR VVAR02),1,0);大周期底部:FILTER(DJH,6)NODRAW,COLORLICYAN;STICKLINE(大周期底部,0,30,3,0),COLORFF00FF;DRAWTEXT(大周期底部,30,'↙大周期底部73%'),COLORFF00FF;。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
通达信主副图指标集锦《通达信主副图指标集锦》我的量能饱和度量能饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100> ;100,100,(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100) ;STICKLINE(((CLOSE > 0) ANDISLASTBAR),20,121,6,1),COLORFFFFFF;STICKLINE(((量能饱和度<= 5) AND ISLASTBAR),21,(20 + 量能饱和度),5,0),COLORFFFFFF; STICKLINE((((量能饱和度> 5) AND (量能饱和度<= 20)) AND ISLASTBAR),21,(20 + 量能饱和度),5,0),COLORCCFF88;STICKLINE((((量能饱和度> 20) AND (量能饱和度<= 40)) AND ISLASTBAR),21,(20 + 量能饱和度),5,0),COLORFF00FF;STICKLINE(((量能饱和度> 40) ANDISLASTBAR),21,(20 + 量能饱和度),5,0),COLOR0000FF; N: 1,100,20;{五指山万泉河第51D版代52版,本版有ZIG未来函数,心脏承受差的不要用!}T0:=IF(TIME>093000 AND TIME<095500 ,1,0);T1:=IF(TIME>093100 AND TIME<145500 ,1,0);T2:=IF(TIME>100000 AND TIME<145500 ,1,0);T3:=IF(TIME>142500 AND TIME<145500 ,1,0);T4:=IF(TIME>143000 AND TIME<145500 ,1,0);T5:=IF(TIME>110000 AND TIME<145500 ,1,0);T6:=IF(TIME>104200 AND TIME<145500 ,1,0);涨幅:=DYNAINFO(14)*100;STS:=FINANCE(32)>=0 AND FINANCE(34)>0 AND DYNAINFO(7)>0 ;CK:=IF(STS=0 AND 涨幅<4.95 OR STS=1 AND 涨幅<9.95,1,0);CCT:=DYNAINFO(8);PPP:= FILTER(CCT=0,500) ;DRAWTEXT(PPP,45,'★今日该股票未开盘,不能分析★'),COLORFF00FF;VM1:=(C*2+H+L)/4*10;VM2:=EMA(VM1,13)-EMA(VM1,34);VM3:=EMA(VM2,5);VM4:=2*(VM2-VM3)*5.5;A:=EMA(WINNER(CLOSE),10);B:=EMA(WINNER(CLOSE),34);BA:=100*(CLOSE-REF(CLOSE,12))/REF(CLOSE,12); BD:=MA(ROC,6)*100;V ARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND(REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND(REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));V AR67:=(LOW+HIGH+CLOSE)/3;V AR80:=IF(TROUGHBARS(3,16,1)=0 ANDHIGH>LOW+0.04,3,0);V AR81:=ZIG(3,6)>REF(ZIG(3,6),1) ANDREF(ZIG(3,6),1)<=REF(ZIG(3,6),2) ANDREF(ZIG(3,6),2)<=REF(ZIG(3,6),3);V AR83:=ZIG(3,22)>REF(ZIG(3,22),1) ANDREF(ZIG(3,22),1)<=REF(ZIG(3,22),2) ANDREF(ZIG(3,22),2)<=REF(ZIG(3,22),3);V AR82:=ZIG(3,6)<REF(ZIG(3,6),1) ANDREF(ZIG(3,6),1)>=REF(ZIG(3,6),2) ANDREF(ZIG(3,6),2)>=REF(ZIG(3,6),3);V AR84:=ZIG(3,22)<REF(ZIG(3,22),1) ANDREF(ZIG(3,22),1)>=REF(ZIG(3,22),2) ANDREF(ZIG(3,22),2)>=REF(ZIG(3,22),3);V AR85:=ZIG(3,51)>REF(ZIG(3,51),1) ANDREF(ZIG(3,51),1)<=REF(ZIG(3,51),2) ANDREF(ZIG(3,51),2)<=REF(ZIG(3,51),3);V AR87:=ZIG(3,72)>REF(ZIG(3,72),1) ANDREF(ZIG(3,72),1)<=REF(ZIG(3,72),2) ANDREF(ZIG(3,72),2)<=REF(ZIG(3,72),3);V ARF:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80 )-LLV(LOW,65))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LO W,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);V AR9A:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80 )-LLV(LOW,65))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW, 65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);V AR86:=ZIG(3,51)<REF(ZIG(3,51),1) ANDREF(ZIG(3,51),1)>=REF(ZIG(3,51),2) ANDREF(ZIG(3,51),2)>=REF(ZIG(3,51),3);V AR88:=ZIG(3,72)<REF(ZIG(3,72),1) ANDREF(ZIG(3,72),1)>=REF(ZIG(3,72),2) ANDREF(ZIG(3,72),2)>=REF(ZIG(3,72),3);V ARX1:=(MA(CLOSE,80)-MA(CLOSE,13)/3);V ARX2:=( MA((CLOSE-V ARX1)/VARX1,1));NN1:=V AR80;V ARM1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LO W,36))*100;V ARM2:=SMA(VARM1,3,1);RSVR:=(((CLOSE - LLV(LOW,65)) / (HHV(HIGH,65) -LLV(LOW,65))) * 100);NN2:=(V AR81+V AR83+V AR85+V AR87);MM1:=(V AR82+V AR84+V AR86+V AR88);MM2:= IF(MM1>0,-500,0);MM:=IF(C>1000,MM2*100,MM2),COLORRED,LINETHICK3; CT:SUM(MM,0) AND T1=1;{统计}五指山:EMA((CLOSE-LLV(CLOSE,55))/(HHV(CLOSE,55)-LLV(L OW,55))*100,5),LINETHICK1,COLORFF00FF;AAD:=MA(CLOSE,32);BAD:=MA(CLOSE,12);DDD:=CROSS(B,A);万泉河:(7*SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*30,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,13))/(HHV(HI GH,13)-LLV(LOW,13))*30,4,1),3,1)-SMA(SMA(SMA((CLOS E-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*30,4,1),3,1 ),2,1)),COLORFF9933;WH:=五指山;WL:=万泉河;V ARM3:=SMA(VARM2,3,1);V ARM4:=SMA(VARM3,3,1);AAC:=MA(C,1);BBB:=MA(AAD,2);V AR51:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW ,60))*80;BB:=SMA(V AR51,7,1);SMX:=EMA(C,65)/EMA(REF(C,65),65)*10;CC:=EMA(C,13)/EMA(REF(C,13),13)*10;V AR68:=(V AR67-MA(VAR67,14))/(0.015*A VEDEV(V AR67,1 4));WR30:=100*(HHV(HIGH,79)-CLOSE)/(HHV(HIGH,79)-LLV( LOW,79));V AR21:=(2*CLOSE+HIGH+LOW+OPEN)/5;V AR22:=LLV(LOW,34);V AR23:=HHV(HIGH,34);W1:=WL/10;W2:=REF(WL,1)/10;SK1:=EMA((V AR21-V AR22)/(V AR23-V AR22)*100,13);WR31:=IF(WR30=0 OR SK1>=90 ORV AR68>-250,100,WR30);舟:IF(NN1>0 ORNN2>0,35,DRAWNULL)*2,STICK,COLORMAGENTA,LI NETHICK3;花:EMA(IF(WL<35 AND T3=1 AND L<=LLV(L,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF( L,1),0),30,1),0),3)*25,STICK,COLORYELLOW,LINETHICK3 ;叶:=(CT=0 AND (CLOSE / COST(9)) <=1 ) *100,COLORYELLOW,LINETHICK1;STICKLINE(FILTER(叶=100,32)=1,0,100,10,0),LINETHICK1,COLORYELLOW; DRAWTEXT(FILTER(叶=100,32)=1,25,'←买进?'),LINETHICK1,COLORYELLOW;NC2:=WL>25 AND WL<55 AND WL >MA(REF(WL,5),5) AND CT=0 AND T2=1 AND 涨幅<7; STICKLINE(FILTER(NC2=1,250)=1,0,70,10,0),COLORMAG ENTA,LINETHICK1;DRAWTEXT(FILTER(NC2=1,250)=1,53,'←加仓?'),COLORMAGENTA,LINETHICK1;V ARSA1:=REF(CLOSE,1);V ARSA2:=SMA(MAX(CLOSE-VARSA1,0),7,1)/SMA(ABS(C LOSE-V ARSA1),7,1)*100;V ARSA3:=SMA(MAX(CLOSE-VARSA1,0),13,1)/SMA(ABS( CLOSE-V ARSA1),13,1)*100;看涨:CT=0 AND V ARC=1;CH:=SUM(看涨,0) AND T1=1;{统计}P1:= FILTER(看涨=1,16) ;DRAWTEXT(P1,45,'←短线看涨!'),COLORYELLOW,LINETHICK2;EE:=EMA(C,150)/EMA(REF(C,150),150)*10;HH:=IF(EE>REF(EE,1),1,0);HS1:=CROSS(EE,SMX) AND EE>CC AND SMX>CC AND HH=1;HS:=SUM(HS1,0) AND T1=1;{统计}V AR1Z:=REF(CLOSE,1);V AR2Z:=SMA(MAX(CLOSE-V AR1Z,0),7,1)/SMA(ABS(CLO SE-V AR1Z),7,1)*100;V AR3Z:=SMA(MAX(CLOSE-V AR1Z,0),13,1)/SMA(ABS(CL OSE-V AR1Z),13,1)*100;V AR4Z:=SMA(MAX(V AR1Z-CLOSE,0),7,1)/SMA(ABS(CLO SE-V AR1Z),7,1)*100;V AR5Z:=SMA(MAX(V AR1Z-CLOSE,0),13,1)/SMA(ABS(CL OSE-V AR1Z),13,1)*100;V AR6Z:=BARSCOUNT(CLOSE);波:(T3=1 AND VAR2Z<25 AND V AR3Z<30 ANDV AR6Z>35)*3,STICK, COLORSTICK,LINETHICK2;V AR2A:=V ARF<REF(V AR9A,1) ANDVOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(CT=0 AND V AR2A ANDCOUNT(V AR2A,150)=1,68,'←大资金'),LINETHICK1,COLORYELLOW;大资金:(CT=0 AND V AR2A ANDCOUNT(V AR2A,150)=1)*77,STICK,COLORYELLOW,LINET HICK1;V AR31:=MA(VOL,5)>MA(VOL,60);DIF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);V ARY1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); SD:=(C>60 AND C<100,200,100);SF:=IF(C<40 AND C<=60,300,SD);SG:=IF(C>10 AND C<=25,800,IF(C>25 ANDC<40,1000,SF));SH:=IF(C<5,5000,IF(C>=5 AND C<=10,1500,SG)); SJ:=IF(C>=6000,5,SH);SK:=IF(C>1000 AND C<6000,25,SJ);MACD:(DIF-DEA)*SK,COLORSTICK;CA:=T1=1 AND CT=1 AND 涨幅<9.8;DD1:= CT=0 AND CROSS(CC,SMX+0.01);STICKLINE(FILTER(DD1=1,158)=1,0,30,10,0),LINETHICK1, COLORYELLOW;DRAWTEXT(FILTER(DD1=1,158)=1,8,'←买不亏?'),LINETHICK1,COLORYELLOW;V ARM6:=CC>SMX AND CC>EE ANDCROSS(V ARM3,V ARM4) AND V ARM3<30 AND T1=1 AND CCT >0 AND 涨幅<8;V ARM7:=WH>70 AND T4=1 AND CROSS(SMX,CC) AND 涨幅<9.9 OR WH>80 AND T4=1 ANDCROSS(EE,SMX) OR WH>80 AND T4=1 ANDCROSS(V ARM4,V ARM3) AND V ARM3>80 ANDCCT>0 AND 涨幅<9.9;VM5:=IF(VM4>=0,VM4,0),COLORFF00FF;VM6:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5 ,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);VM7:=EMA(VM6,5);VM8:=(VM7-REF(VM7,3))/REF(VM7,3)*100;V ARSB1:=SMA(MAX(V ARSA1-CLOSE,0),7,1)/SMA(ABS(C LOSE-V ARSA1),7,1)*100;V ARSB2:=SMA(MAX(V ARSA1-CLOSE,0),13,1)/SMA(ABS( CLOSE-V ARSA1),13,1)*100;V ARSB3:=BARSCOUNT(CLOSE);DESY:=100*(HHV(HIGH,33)-CLOSE)/(HHV(HIGH,33)-LLV( LOW,33))*100;DRAWTEXT(FILTER(VARM7=1,16)=1,80,'←逃顶?'),LINETHICK1,COLORYELLOW;STICKLINE(FILTER(V ARM7=1,16)=1,70,90,10,0),LINETHIC K1,COLORYELLOW;STICKLINE(FILTER(CA=1,350)=1,0,90,10,0),LINETHICK1, COLORGREEN;DDC:=' ★提醒:短线看跌↓本信号若消失则可能转升↑';DRAWTEXT(FILTER(CA=1,350)=1,45,DDC),COLORGREE N;DRAWTEXT(FILTER(CA=1,350)=1,70,'←逃顶?'),LINETHICK1,COLORYELLOW;STICKLINE(FILTER(CA=1,350)=1,75,90,10,0),LINETHICK1, COLORYELLOW;HYJC:=(CH=0 AND V ARSB1<25 AND V ARSB2<30 AND V ARSB3>35)*100,COLORGREEN;HYJJ:=ABS(V ARSB1<25 AND VARSB2<30 ANDV ARSB3>35) AND WH>80 AND 涨幅>6; DRAWTEXT(FILTER(HYJJ=1 AND CK=1,16)=1,90,'←逃顶XX'),LINETHICK1,COLORYELLOW;DRAWTEXT(FILTER(HYJC=100 ANDCK=1 ,32)=1,90,'←逃顶X'),LINETHICK1,COLORYELLOW;STICKLINE(FILTER(HYJC=100 ANDCK=1 ,32)=1,80,98,10,0),LINETHICK1,COLORYELLOW;警戒:85,COLOR5AFF9E;【声明】请先占用你1分钟时间看看下面的文字:1,公式指标含有未来函数,惧怕者请离开,依公式信号操作责任由操作者自己负责。