以下是通达信明日必涨幅图指标及公式源码
通达信明日必涨幅图指标及选股公式源码:
做盘轨迹:=(((CLOSE-ma(LLV(LOW,40),40))/MA(LLV(LOW,40),40))*100);
bias1:=(CLOSE-MA(CLOSE,9))/MA(CLOSE,9)*100;
坚决买:=(主力做盘轨迹-BIAS1)
AA:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*1000;
BB:=MA(AA,10);
线:=SMA(BB,3,1)/10;
JNYY2:=(((CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26)))*100);
判断:=SMA(JNYY2,32,1)-20;
不怕死:crOSS(主力做盘轨迹,判断);
VAR3:=LLV(HIGH,240);
VAR4:=100*(CLOSE-VAR3)/VAR3;
VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VARA:=BARSCOUNT(CLOSE);
VARB:=VAR8 20ANDVAR9 23ANDVARA
VARC:=VARBANDCOUNT(VARB,1)=1;
VARD:=EMA(CLOSE,21)-EMA(CLOSE,8);
VARE:=EMA(VARD,5);
VARF:=TROUGHBARS(3,6,1) 4ANDCROSS(VARD,VARE);
VAR10:=IF(TROUGHBARS(3,16,1)=0ANDHIGH LOW+0.04,4,0);
VAR11:=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);
VAR12:=ZIG(3,6)=REF(ZIG(3,6),2)ANDREF(ZIG(3,6),2) =REF(ZIG(3,6),3);
VAR13:=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);
VAR14:=ZIG(3,22)=REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2) =REF(ZIG(3,22),3);
VAR15:=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);
VAR16:=ZIG(3,51)=REF(ZIG(3,51),2)ANDREF(ZIG(3,51),2) =REF(ZIG(3,51),3);
VAR17:=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);
VAR18:=ZIG(3,72)=REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2) =REF(ZIG(3,72),3);
VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR1A:=EMA(VAR19,100);
VAR1B:=2*(VAR19-VAR1A);
VAR1C:=POW(VAR1B,3)*0.1+POW(VAR1B,1);
VAR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VAR1E:=EMA(VAR1D*0.97,3);
VAR1F:=(HIGH+LOW+CLOSE)/3;
VAR20:=(VAR1F-MA(VAR1F,14))/(0.015*AVEDEV(VAR1F,14));
VAR21:=CROSS(VAR1E,LOW);
选股买点:VAR10,COLORYELLOW;
组合买:(VAR11+VAR13+VAR15+VAR17),COLORRED;
组合卖:(VAR12+VAR14+VAR16+VAR18),COLORGREEN;
线:IF(VAR1B 0.1,VAR1C,0)*1;
黑马信号介入点:选股买点ANDVARFANDVARCANDVAR21ANDVAR4 0ANDVAR5 2ANDVAR6=0,COLORFFFF99;
DRAWTEXT(VAR13,0.6,'●'),COLORRED;
DRAWICON(组合买,组合买,1);
DRAWICON(组合卖,组合卖,9);
DRAWTEXT(黑马信号介入点 0,4.5,'●我的黑马介入点'),COLORRED;
DRAWICON(选股买点 0,4.2,1);
DRAWTEXT(选股买点ANDVARFANDVARC,2.8,'30%下单莫错过!'),COLORMAGENTA;
DRAWTEXT(VAR18,3,'空仓'),COLORGREEN;
DRAWTEXT(VAR20 -110AND选股买点 0,2,'选股买点'),COLORYELLOW;
DRAWTEXT(VAR17,1.3,'发现黑马'),COLORFF6600;
DRAWTEXT(选股买点ANDVAR20 -100ANDVARFANDVARC 0,4.1,'★组合5分钟线选股思路获利5%以上'),COLORRED;
明日必涨选股公式;
VAR11:=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);
VAR13:=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);
VAR15:=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);
VAR17:=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);
组合买:(VAR11+VAR13+VAR15+VAR17);
DRAWGBK(CLOSE OPEN,RGB(10,0,0),RGB(0,0,0),1,2,1);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
M3:MA(CLOSE,3),POINTDOT,COLORWHITE,LINETHICK2;
IF(M3 =REF(M3,1),M3,DRAWNULL),COLORRED,LINETHICK3;
IF(M3 =REF(M3,1),M3,DRAWNULL),COLORGREEN,LINETHICK3;
MA5:MA(CLOSE,5),POINTDOT,COLORWHITE,LINETHICK2;
IF(MA5 =REF(MA5,1),MA5,DRAWNULL),COLORRED,LINETHICK3;
IF(MA5 =REF(MA5,1),MA5,DRAWNULL),COLORGREEN,LINETHICK3;
M7:MA(CLOSE,7),POINTDOT,COLORWHITE,LINETHICK2;
IF(M7 =REF(M7,1),M7,DRAWNULL),COLORRED,LINETHICK3;
IF(M7 =REF(M7,1),M7,DRAWNULL),COLORGREEN,LINETHICK3;
M10:MA(CLOSE,10),POINTDOT,COLORWHITE,LINETHICK2;
IF(M10 =REF(M10,1),M10,DRAWNULL),COLORRED,LINETHICK2;
IF(M10 =REF(M10,1),M10,DRAWNULL),COLORGREEN,LINETHICK3;
M15:MA(CLOSE,15),POINTDOT,COLORWHITE,LINETHICK2;
IF(M15 =REF(M15,1),M15,DRAWNULL),COLORRED,LINETHICK3;
IF(M15 =REF(M15,1),M15,DRAWNULL),COLORGREEN,LINETHICK3;
M20:MA(CLOSE,20),POINTDOT,COLORWHITE,LINETHICK2;
IF(M20 =REF(M20,1),M20,DRAWNULL),COLORRED,LINETHICK3;
IF(M20 =REF(M20,1),M20,DRAWNULL),COLORGREEN,LINETHICK2;
M25:MA(CLOSE,25),POINTDOT,COLORWHITE,LINETHICK2;
IF(M25 =REF(M25,1),M25,DRAWNULL),COLORRED,LINETHICK3;
IF(M25 =REF(M25,1),M25,DRAWNULL),COLORGREEN,LINETHICK2;
M30:MA(CLOSE,30),POINTDOT,COLORWHITE,LINETHICK2;
IF(M30 =REF(M30,1),M30,DRAWNULL),COLORRED,LINETHICK3;
IF(M30 =REF(M30,1),M30,DRAWNULL),COLORGREEN,LINETHICK2;
M45:MA(CLOSE,45),COLORRED,LINETHICK2;
IF(M45 =REF(M45,1),M45,DRAWNULL),COLORRED,LINETHICK3;
IF(M45 =REF(M45,1),M45,DRAWNULL),COLORGREEN,LINETHICK2;
M60:MA(CLOSE,60),COLORRED,LINETHICK2;
IF(M60 =REF(M60,1),M60,DRAWNULL),COLORRED,LINETHICK3;
IF(M60 =REF(M60,1),M60,DRAWNULL),COLORGREEN,LINETHICK2;
M90:MA(CLOSE,90),COLORRED,LINETHICK2;
IF(M90 =REF(M90,1),M90,DRAWNULL),COLORRED,LINETHICK3;
IF(M90 =REF(M90,1),M90,DRAWNULL),COLORGREEN,LINETHICK2;
M120:MA(CLOSE,120),COLORRED,LINETHICK2;
IF(M120 =REF(M120,1),M120,DRAWNULL),COLORRED,LINETHICK3;
IF(M120 =REF(M120,1),M120,DRAWNULL),COLORGREEN,LINETHICK2;
M160:MA(CLOSE,160),COLORRED,LINETHICK2;
IF(M160 =REF(M160,1),M160,DRAWNULL),COLORRED,LINETHICK3;
IF(M160 =REF(M160,1),M160,DRAWNULL),COLORGREEN,LINETHICK2;
M200:MA(CLOSE,200),COLORRED,LINETHICK2;
IF(M200 =REF(M200,1),M200,DRAWNULL),COLORRED,LINETHICK3;
IF(M200 =REF(M200,1),M200,DRAWNULL),COLORGREEN,LINETHICK2;
M250:MA(CLOSE,250),COLORRED,LINETHICK2;
IF(M250 =REF(M250,1),M250,DRAWNULL),COLORRED,LINETHICK3;
IF(M250 =REF(M250,1),M250,DRAWNULL),COLORGREEN,LINETHICK2;
XA_1:=CLOSE;
XA_2:=REF(XA_1,10)=HHV(XA_1,2*10+1);
XA_3:=FILTER(XA_2,10);
XA_4:=BACKSET(XA_3,10+1);
XA_5:=FILTER(XA_4,10);
XA_6:=REF(XA_1,10)=LLV(XA_1,2*10+1);
XA_7:=FILTER(XA_6,10);
XA_8:=BACKSET(XA_7,10+1);
XA_9:=FILTER(XA_8,10);
XA_10:=(CLOSE/REF(CLOSE,BARSLAST(XA_5))-1)*100;
STICKLINE((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW) 0.667,HIGH,CLOSE,0.8,0),COLORYELLOW,LINETHICK3;
°:REF(CLOSE,BARSLAST(XA_5)),POINTDOT,COLORGREEN;
IF(BARSLAST(XA_5),REF(CLOSE,BARSLAST(XA_5)),DRAWNULL),POINTDOT,COLORGREEN,LINETHICK0;
XA_11:=IF(REF(CLOSE,1)*1.1-CLOSE 0.01,1,0);
STICKLINE(XA_11,OPEN,CLOSE,4,0),COLORRED;
STICKLINE(XA_11,OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(XA_11,HIGH,LOW,0,0),COLORYELLOW;
XA_12:=FILTER(BACKSET(FILTER(REF(HIGH,10)=HHV(HIGH,2*10+1),10),10+1),10);
XA_13:=FILTER(BACKSET(FILTER(REF(LOW,10)=LLV(LOW,2*10+1),10),10+1),10);
XA_14:=REF(HIGH,BARSLAST(XA_12));
XA_15:=REF(LOW,BARSLAST(XA_13));
XA_16:=BARSLAST(XA_12) BARSLAST(XA_13)ANDNOT(XA_12);
波顶:IF(XA_16,XA_14,XA_14),POINTDOT,COLORBLACK;
XA_17:=MA(CLOSE,10);
XA_18:=MA(CLOSE,30);
XA_19:=CLOSE*VOL;
XA_20:=EMA((EXPMA(XA_19,23)/EXPMA(VOL,23)+EXPMA(XA_19,54)/EXPMA(VOL,54)+EXPMA(XA_19,108)/EXPMA(VOL,108)+EXPMA(XA_19,316)/EXPMA(VOL,316))/4,34);
通道:1.0668*XA_20,COLORBLACK;
XA_21:=DMA(AMOUNT/(89*VOL),VOL/CAPITAL);
XA_22:=CLOSE REF(HHV(CLOSE,89),1);
XA_23:=DMA(AMOUNT/(89*VOL),VOL/CAPITAL);
XA_24:=CROSS(CLOSE,XA_23)ANDXA_22;
{DRAWTEXT(XA_24,LOW*0.99,2),COLORRED;
DRAWTEXT(XA_24,LOW*0.99,3),COLORBLACK;}
STICKLINE(XA_24,CLOSE,OPEN,3.2,0),COLOR0077FF;
STICKLINE(XA_24,CLOSE,OPEN,2.5,0),COLOR0099FF;
STICKLINE(XA_24,CLOSE,OPEN,1.9,0),COLOR00BBFF;
STICKLINE(XA_24,CLOSE,OPEN,1.2,0),COLOR00DDFF;
STICKLINE(XA_24,CLOSE,OPEN,0.3,0),COLORYELLOW;
XA_25:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23));
XA_26:=DMA((2.15*CLOSE+LOW+HIGH)/4,XA_25);
XA_27:=EMA(XA_26,200)*1.118;
XA_28:=EMA(XA_26,200)*1.118;
XA_29:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100
XA_30:=CROSS(CLOSE,XA_27)ANDXA_29;
XA_31:=CROSS(CLOSE,通道)ANDREF(CLOSE,1)*1.08-CLOSE 0.008ANDCLOSE OPEN*0.5;
DRAWICON(XA_31,HIGH*0.98,13);
{DRAWTEXT(XA_31,HIGH*0.98,1),COLORYELLOW;}
XA_32:=XA_24ANDXA_30;
DRAWICON(XA_32,HIGH*0.96,13);
{DRAWTEXT(XA_32,HIGH*0.96,1),COLORYELLOW;}
XA_33:=CROSS(CLOSE,XA_27)ANDXA_29;
DRAWICON(XA_33,HIGH*0.94,13);
{DRAWTEXT(XA_33,HIGH*0.94,1),COLORYELLOW;}
XA_34:=MA(CLOSE,20);
XA_35:=MA(CLOSE,60);
XA_36:=MA5 =XA_17ANDXA_17 =XA_34ANDXA_34 =XA_18ANDXA_18 =XA_35ANDMA(VOL,5) =MA(VOL,10);
XA_37:=EMA(CLOSE,12)-EMA(CLOSE,26);
XA_38:=EMA(XA_37,9);
XA_39:=2*(XA_37-XA_38);
XA_40:=XA_36ANDCROSS(XA_37,XA_38)ANDXA_37 0.01ANDXA_37 0.5ANDCLOSE REF(CLOSE,1)*1.05;
DRAWICON(XA_40,HIGH*0.92,13);
{DRAWTEXT(XA_40,HIGH*0.92,5),COLORYELLOW;}
XA_41:=HIGH-LOW;
XA_42:=ABS(OPEN-CLOSE);
XA_43:=HIGH-IF(CLOSE OPEN,CLOSE,OPEN);
XA_44:=IF(CLOSE OPEN,OPEN,CLOSE)-LOW;
XA_45:=XA_42/XA_41*VOL;
XA_46:=XA_43/XA_41*VOL;
XA_47:=XA_44/XA_41*VOL;
XA_48:=MA(CLOSE,5) MA(CLOSE,10)ANDMA(CLOSE,10) MA(CLOSE,30)ANDMA(CLOSE,30) MA(CLOSE,60);
XA_49:=MA(CLOSE,13);
XA_50:=XA_45 MA(VOL,5)*2ANDXA_49 REF(XA_49,1)ANDXA_45 =XA_46ANDXA_45 =XA_47ANDCLOSE OPENOR(VOL MA(VOL,5)*3ANDXA_48ANDXA_49 REF(XA_49,1));
DRAWICON(XA_50,LOW*0.98,13);
{DRAWTEXT(XA_50,LOW*0.981,5),COLORCYAN;}
XA_51:=SUM(IF(CLOSE REF(CLOSE,1),VOL,IF(CLOSE REF(CLOSE,1),0-VOL,0)),0);
XA_52:=SUMBARS(VOL,CAPITAL);
XA_53:=IF(CLOSE LLV(CLOSE,XA_52),1,0-1)*IF(XA_51 LLV(XA_51,XA_52),1,0-1);
XA_54:=COUNT(IF(XA_53=0-1,1,0)=1,8)
XA_55:=(CLOSE-DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/SUM(AMOUNT,13)/AMOUNT/VOL/100/100))/DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/SUM(AMOUNT,13)/AMOUNT/VOL/100/100)*100 0-18;
XA_56:=(CLOSE-MIN(REF(CLOSE,5)*0.865,REF(CLOSE,21)*0.772))/CLOSE 0.009;
XA_57:=XA_54ANDXA_55ANDXA_56;
XA_58:=OPEN EMA(CLOSE,5)ANDCLOSE=HIGHANDCLOSE/OPEN =1.05ANDVOL/CAPITAL =0.019ANDVOL/CAPITAL =0.2;
XA_59:=XA_58ANDCOUNT(XA_58,5)=1;
XA_60:=COST(85);
XA_61:=COST(15);
XA_62:=XA_60-XA_61;
XA_63:=(XA_60+XA_61)/2;
XA_64:=XA_62/XA_63*100
XA_65:=HHV(HIGH,250);
XA_66:=LLV(LOW,250);
XA_67:=XA_65-XA_66;
XA_68:=XA_63-XA_7;
XA_69:=XA_63 XA_67*4+XA_7;
XA_70:=XA_64ANDXA_69;
XA_71:=CLOSE/REF(CLOSE,1) 1.04;
XA_72:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3);
XA_73:=XA_72 =75ANDCLOSE 0ANDCLOSE OPENANDCLOSE=HIGH;
XA_74:=XA_73ANDXA_70ANDXA_68ANDWINNER(CLOSE) =0.91ANDXA_71;
DRAWICON(XA_74,LOW*0.94,13);
{DRAWTEXT(XA_74,LOW*0.941,6),COLORYELLOW;}
XA_75:=HHV(HIGH,66);
XA_76:=REF(CLOSE,1);
XA_77:=REF(OPEN,1);
XA_78:=(XA_75-HIGH)/HIGH;
XA_79:=HIGH =XA_75;
XA_80:=XA_79 0ANDXA_79 =0.025;
XA_81:=MACD.MACD;
XA_82:=(CLOSE-XA_76)/XA_76 0.095ANDXA_76 XA_77AND(XA_79ORXA_80)ANDCROSS(XA_81,0);
DRAWICON(XA_82,LOW*0.92,13);
{DRAWTEXT(XA_82,LOW*0.921,1),COLORYELLOW;}
XA_83:=MA(CLOSE,5);
XA_84:=MA(CLOSE,10);
XA_85:=MA(CLOSE,20);
XA_86:=MA(CLOSE,29);
XA_87:=ATAN((XA_83/REF(XA_83,1)-1)*100)*180/3.1416;
XA_88:=ATAN((XA_84/REF(XA_17,1)-1)*100)*180/3.1416;
XA_89:=XA_85-XA_86 REF(XA_34-XA_86,1)ANDXA_85 REF(XA_34,1)ANDXA_86 REF(XA_86,1);
XA_90:=XA_86-XA_34 REF(XA_86-XA_34,1)ANDXA_34 REF(XA_34,1)ANDXA_86 REF(XA_86,1);
XA_91:=ATAN((XA_86/REF(XA_86,1)-1)*100)*180/3.1416;
XA_92:=FILTER(XA_91 30ANDXA_88 45ANDCROSS(XA_87,60),10);
DRAWICON(XA_92,LOW*0.9,13);
{DRAWTEXT(XA_92,LOW*0.901,1),COLORCYAN;}
XA_93:=CLOSE*VOL;
XA_94:=EMA((EXPMA(XA_93,27)/EXPMA(VOL,27)+EXPMA(XA_93,54)/EXPMA(VOL,54)+EXPMA(XA_93,108)/EXPMA(VOL,108)+EXPMA(XA_93,316)/EXPMA(VOL,316))/4,34);
XA_95:=1.06*XA_94;
XA_96:=XA_94*0.94;
XA_97:=REF(CLOSE,1)*1.1-CLOSE 0.01ANDHIGH=CLOSE;
XA_98:=CROSS(CLOSE,XA_95)ORCROSS(CLOSE,XA_96)ANDXA_97;
DRAWICON(XA_98,LOW*0.88,13);
{DRAWTEXT(XA_98,LOW*0.881,5),COLORCYAN;}
XA_99:=12;
XA_100:=26;
XA_101:=200;
XA_102:=9;
XA_103:=34;
XA_104:=IF(DATE 1981128,1,0);
DRAWTEXT_FIX(1=1,0.7,0,0,2),COLORWHITE;
XA_105:=EMA(CLOSE,XA_99)-EMA(CLOSE,XA_100);
XA_106:=EMA(XA_105,XA_101);
XA_107:=(XA_105-XA_106)*2*XA_104;
XA_108:=IF(XA_14 0,0,XA_14*XA_14);
XA_109:=EMA(CLOSE,XA_102)-EMA(CLOSE,XA_103);
XA_110:=EMA(XA_109,200);
XA_111:=(XA_109-XA_110)*2*XA_104;
XA_112:=IF(XA_14 0,0,XA_111*XA_111);
XA_113:=MA(CLOSE,30);
XA_114:=XA_113+2*STD(CLOSE,30);
XA_115:=EMA(CLOSE,5);
XA_116:=FILTER(CLOSE/REF(CLOSE,1) 1.09,5);
DRAWICON(CLOSE XA_114ANDCLOSE/REF(CLOSE,1) 1.09ANDXA_116,LOW*0.8,13);
{DRAWTEXT(CLOSE XA_114ANDCLOSE/REF(CLOSE,1) 1.09ANDXA_116,LOW*0.8,5),COLORYELLOW;}
DRAWTEXT_FIX(1,0.6,1,0,GNBLOCK),COLORYELLOW;
通达信明日必涨幅图指标及选股公式截图