最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信TDX大盘副图源码

    正文概述    2024-04-13 12:02:17  

    TDX大盘源码:

    IF(DATE+19000000 20151128,1000000000,DRAWNULL);
    X_1:=MIN(MA(CLOSE,5),MA(CLOSE,60));
    X_2:=MIN(MA(CLOSE,10),MA(CLOSE,60));
    SS:DRAWBAND(X_1,RGB(250,0,250),X_2,0);
    X_3:=MAX(MA(CLOSE,5),MA(CLOSE,60));
    X_4:=MAX(MA(CLOSE,10),MA(CLOSE,60));
    DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
    X_5:=MIN(MA(CLOSE,5),MA(CLOSE,20));
    X_6:=MIN(MA(CLOSE,10),MA(CLOSE,20));
    DRAWBAND(X_5,RGB(0,255,190),X_6,0);
    X_7:=HIGH =MA(CLOSE,5)*(100+8)/100;
    X_8:=LOW*(100+20)/100 =MA(CLOSE,25);
    STICKLINE(CROSS(MA(CLOSE,5),MA(CLOSE,25)),OPEN,CLOSE,1,0),COLORYELLOW;
    DRAWICON((MA(CLOSE,4)*4+MA(CLOSE,25))/5 =MA(CLOSE,25) AND MA(CLOSE,5) MA(CLOSE,25),LOW*0.97,1);
    X_9:=5;
    DRAWICON(ZIG(3,X_9) REF(ZIG(3,X_9),1) AND REF(ZIG(3,X_9),1) =REF(ZIG(3,X_9),2) AND REF(ZIG(3,X_9),2) =REF(ZIG(3,X_9),3),LOW*0.98,1);
    DRAWICON(ZIG(3,X_9) REF(ZIG(3,X_9),1) AND REF(ZIG(3,X_9),1) =REF(ZIG(3,X_9),2) AND REF(ZIG(3,X_9),2) =REF(ZIG(3,X_9),3),HIGH*1.02,2);
    X_10:=CURRBARSCOUNT;
    X_11:=CLOSE=HHV(CLOSE,150-X_10+1) AND X_10 =150 AND CLOSE =OPEN AND CLOSE REF(CLOSE,1);
    T:BARSLAST(X_11),NODRAW,COLORA8A8A8;
    STICKLINE(T =0,REF(HIGH,T),REF(HIGH,T),(-1),0),COLORA8A8A8;
    X_12:=CLOSE=LLV(CLOSE,4) AND (REF(CLOSE,1) REF(CLOSE,2) OR REF(CLOSE,1) REF(CLOSE,3)) OR REF(CLOSE,1)=LLV(CLOSE,4) AND CLOSE REF(CLOSE,2) OR REF(CLOSE,2)=LLV(CLOSE,4) AND REF(CLOSE,1)=HHV(CLOSE,4) AND CLOSE REF(CLOSE,1) OR REF(CLOSE,3)=LLV(CLOSE,4) AND CLOSE REF(CLOSE,1) AND CLOSE REF(CLOSE,2);
    X_13:=REF(CLOSE,1)=LLV(CLOSE,4) AND CLOSE =REF(CLOSE,2) OR REF(CLOSE,2)=LLV(CLOSE,4) AND REF(CLOSE,1) =REF(CLOSE,3) AND REF(CLOSE,2) REF(CLOSE,4) AND CLOSE =REF(CLOSE,1);
    STICKLINE(CLOSE REF(CLOSE,1)*1.0985 AND CLOSE=HIGH,CLOSE,OPEN,4,(-1)),COLORYELLOW;
    STICKLINE(CLOSE REF(CLOSE,1)*0.9015 AND CLOSE=LOW,CLOSE,OPEN,4,(-1)),COLORGREEN;
    STICKLINE(OPEN =CLOSE,CLOSE,OPEN,3.3,0),COLORFF7700;
    STICKLINE(OPEN =CLOSE,CLOSE,OPEN,2.4,0),COLORFF9900;
    STICKLINE(OPEN =CLOSE,CLOSE,OPEN,1.3,0),COLORFFBB00;
    STICKLINE(OPEN =CLOSE,CLOSE,OPEN,0.8,0),COLORCYAN;
    STICKLINE(CLOSE OPEN,CLOSE,OPEN,3.3,0),COLOR000099;
    STICKLINE(CLOSE OPEN,CLOSE,OPEN,2.4,0),COLOR0000CC;
    STICKLINE(CLOSE OPEN,CLOSE,OPEN,1.3,0),COLORRED;
    STICKLINE(CLOSE OPEN,CLOSE,OPEN,0.8,0),COLORCC66FF;
    STICKLINE(X_12,OPEN,(OPEN+CLOSE)/2,3.3,0),COLOR009900;
    STICKLINE(X_12,OPEN,(OPEN+CLOSE)/2,2.4,0),COLOR00BB00;
    STICKLINE(X_12,OPEN,(OPEN+CLOSE)/2,1.3,0),COLOR00DD00;
    STICKLINE(X_12,OPEN,(OPEN+CLOSE)/2,0.8,0),COLORGREEN;
    STICKLINE(X_13,OPEN,(OPEN+CLOSE)/2,3.3,0),COLOR999999;
    STICKLINE(X_13,OPEN,(OPEN+CLOSE)/2,2.2,0),COLORBBBBBB;
    STICKLINE(X_13,OPEN,(OPEN+CLOSE)/2,1.3,0),COLORDDDDDD;
    STICKLINE(X_13,OPEN,(OPEN+CLOSE)/2,0.8,0),COLORWHITE;
    DRAWTEXT(REF(CLOSE,BARSLAST(REF(CROSS(MACD.DEA,MACD.DIF),1))+1) CLOSE AND REF(MACD.DIF,BARSLAST(REF(CROSS(MACD.DEA,MACD.DIF),1))+1) MACD.DIF AND CROSS(MACD.DEA,MACD.DIF) 0,HIGH*1.02,2),COLORRED;
    DRAWTEXT(REF(CLOSE,BARSLAST(REF(CROSS(KDJ.D,KDJ.K),1))+1) CLOSE AND REF(KDJ.K,BARSLAST(REF(CROSS(KDJ.D,KDJ.K),1))+1) KDJ.K AND CROSS(KDJ.D,KDJ.K) 0,HIGH*1.02,3),COLORRED;
    X_14:=REF(CLOSE,1);
    X_15:=IF((CLOSE-X_14)*100/X_14 =10-0.01*100/X_14,1,0);
    STICKLINE(X_15,OPEN,CLOSE,0.8,0),COLORMAGENTA;
    STICKLINE(X_15,HIGH,LOW,0,0),COLORMAGENTA;
    X_16:=IF((X_14-CLOSE)*100/X_14 =10-0.01*100/X_14,1,0);
    STICKLINE(X_16,OPEN,CLOSE,1.5,0),COLORGREEN;
    STICKLINE(X_16,HIGH,LOW,0,1),COLORGREEN;
    X_17:=10;
    X_18:=REF(CLOSE,1);
    X_19:=1.3;
    X_20:=1;
    X_21:=0;
    X_22:=MA(CLOSE,5);
    X_23:=MA(CLOSE,10);
    X_24:=MA(CLOSE,20);
    X_25:=X_22 REF(X_22,1) AND X_23 REF(X_23,1) AND X_24 REF(X_24,1);
    X_26:=REF(VOL,1);
    X_27:=REF(VOL,2);
    X_28:=REF(VOL,3);
    X_29:=REF(CLOSE,2);
    X_30:=REF(CLOSE,3);
    X_31:=REF(CLOSE,4);
    X_32:=REF(OPEN,1);
    X_33:=REF(OPEN,2);
    X_34:=REF(OPEN,3);
    X_35:=REF(OPEN,4);
    X_36:=CLOSE =X_30 AND X_18 =X_30 AND X_29 =X_30;
    X_37:=LOW X_34 AND REF(LOW,1) X_34 AND REF(LOW,2) X_34;
    X_38:=AMOUNT/VOL/100;
    X_39:=REF(X_38,1);
    X_40:=REF(X_38,2);
    X_41:=CLOSE =OPEN OR (CLOSE OPEN AND X_38 X_18);
    X_42:=COUNT(X_41,3)
    X_43:=X_30 X_34;
    X_44:=X_38 =X_39 OR CLOSE X_18 AND (X_39 =X_40 OR X_18 =X_29);
    X_45:=(CLOSE+X_18+X_29)/3 X_30;
    X_46:=VOL X_26 AND X_26 X_27;
    X_47:=VOL =X_26 AND X_26 =X_27;
    X_48:=(VOL+X_26+X_27)/3 =X_28 AND NOT(X_46);
    X_49:=CLOSE/VOL;
    X_50:=X_49 =REF(X_49,1) AND REF(X_49,1) =REF(X_49,2);
    X_51:=(CLOSE+X_18+X_29)/3/X_30;
    X_52:=(VOL+X_26+X_27)/3/X_28;
    X_53:=X_19*X_51/X_52
    X_54:=X_34 X_31 AND X_31 X_35;
    X_55:=X_43 AND X_44 AND X_47 AND X_36 AND X_37 AND X_54;
    X_56:=BACKSET(X_55,5);
    X_57:=FILTER(X_56,4);
    X_58:=X_43 AND X_44 AND X_47 AND X_36 AND X_37;
    X_59:=BACKSET(X_58,4);
    X_60:=FILTER(X_59,3);
    X_61:=X_58 AND REF(X_58,1);
    X_62:=BACKSET(X_61,4);
    X_63:=FILTER(X_62,3);
    X_64:=X_58 AND REF(X_58,2);
    X_65:=BACKSET(X_64,4);
    X_66:=FILTER(X_65,3);
    X_67:=X_58 AND REF(X_58,3);
    X_68:=BACKSET(X_67,4);
    X_69:=FILTER(X_68,3);
    X_70:=X_43 AND X_44 AND X_48 AND NOT(X_46) AND X_36 AND X_37 AND X_54 AND NOT(X_58) AND NOT(X_55);
    X_71:=BACKSET(X_70,5);
    X_72:=FILTER(X_71,4);
    X_73:=X_43 AND X_44 AND X_48 AND NOT(X_46) AND X_36 AND X_37 AND NOT(X_58) AND NOT(X_55);
    X_74:=BACKSET(X_73,4);
    X_75:=FILTER(X_74,3);
    X_76:=X_73 AND REF(X_73,1);
    X_77:=BACKSET(X_76,4);
    X_78:=FILTER(X_77,3);
    X_79:=X_73 AND REF(X_73,2);
    X_80:=BACKSET(X_79,4);
    X_81:=FILTER(X_80,3);
    X_82:=X_73 AND REF(X_73,3);
    X_83:=BACKSET(X_82,4);
    X_84:=FILTER(X_83,3);
    X_85:=X_43 AND X_45 AND X_47 AND X_36 AND X_37 AND X_54 AND NOT(X_58) AND NOT(X_73) AND NOT(X_55) AND NOT(X_70);
    X_86:=BACKSET(X_85,5);
    X_87:=FILTER(X_86,4);
    X_88:=X_43 AND X_45 AND X_47 AND X_36 AND X_37 AND NOT(X_58) AND NOT(X_73) AND NOT(X_55) AND NOT(X_70);
    X_89:=BACKSET(X_88,4);
    X_90:=FILTER(X_89,3);
    X_91:=X_88 AND REF(X_88,1);
    X_92:=BACKSET(X_91,4);
    X_93:=FILTER(X_92,3);
    X_94:=X_88 AND REF(X_88,2);
    X_95:=BACKSET(X_94,4);
    X_96:=FILTER(X_95,3);
    X_97:=X_88 AND REF(X_88,3);
    X_98:=BACKSET(X_97,4);
    X_99:=FILTER(X_98,3);
    X_100:=X_43 AND X_45 AND X_48 AND X_36 AND X_37 AND X_54 AND NOT(X_58) AND NOT(X_55) AND NOT(X_73) AND NOT(X_70) AND NOT(X_88) AND NOT(X_85);
    X_101:=BACKSET(X_100,5);
    X_102:=FILTER(X_101,4);
    X_103:=X_43 AND X_45 AND X_48 AND X_36 AND X_37 AND NOT(X_58) AND NOT(X_73) AND NOT(X_88) AND NOT(X_55) AND NOT(X_70) AND NOT(X_85);
    X_104:=BACKSET(X_103,4);
    X_105:=FILTER(X_104,3);
    X_106:=X_103 AND REF(X_103,1);
    X_107:=BACKSET(X_106,4);
    X_108:=FILTER(X_107,3);
    X_109:=X_103 AND REF(X_103,2);
    X_110:=BACKSET(X_109,4);
    X_111:=FILTER(X_110,3);
    X_112:=X_103 AND REF(X_103,3);
    X_113:=BACKSET(X_112,4);
    X_114:=FILTER(X_113,3);
    X_115:=X_43 AND X_45 AND X_53 AND X_36 AND X_37 AND X_54 AND NOT(X_58) AND NOT(X_73) AND NOT(X_88) AND NOT(X_103) AND NOT(X_55) AND NOT(X_70) AND NOT(X_85) AND NOT(X_100);
    X_116:=BACKSET(X_115,5);
    X_117:=FILTER(X_116,4);
    X_118:=X_43 AND X_45 AND X_53 AND X_36 AND X_37 AND NOT(X_58) AND NOT(X_73) AND NOT(X_88) AND NOT(X_103) AND NOT(X_55) AND NOT(X_70) AND NOT(X_85) AND NOT(X_100);
    X_119:=BACKSET(X_118,4);
    X_120:=FILTER(X_119,3);
    X_121:=X_118 AND REF(X_118,1);
    X_122:=BACKSET(X_121,4);
    X_123:=FILTER(X_122,3);
    X_124:=X_118 AND REF(X_118,2);
    X_125:=BACKSET(X_124,4);
    X_126:=FILTER(X_125,3);
    X_127:=X_118 AND REF(X_118,3);
    X_128:=BACKSET(X_127,4);
    X_129:=FILTER(X_128,3);
    X_130:=X_43 AND X_45 AND X_50 AND X_36 AND X_37 AND X_54 AND NOT(X_58) AND NOT(X_73) AND NOT(X_88) AND NOT(X_103) AND NOT(X_118) AND NOT(X_55) AND NOT(X_70) AND NOT(X_85) AND NOT(X_100) AND NOT(X_115);
    X_131:=BACKSET(X_130,5);
    X_132:=FILTER(X_131,4);
    X_133:=X_43 AND X_45 AND X_50 AND X_36 AND X_37 AND NOT(X_58) AND NOT(X_73) AND NOT(X_88) AND NOT(X_103) AND NOT(X_118) AND NOT(X_55) AND NOT(X_70) AND NOT(X_85) AND NOT(X_100) AND NOT(X_115);
    X_134:=BACKSET(X_133,4);
    X_135:=FILTER(X_134,3);
    X_136:=X_133 AND REF(X_133,1);
    X_137:=BACKSET(X_136,4);
    X_138:=FILTER(X_137,3);
    X_139:=X_133 AND REF(X_133,2);
    X_140:=BACKSET(X_139,4);
    X_141:=FILTER(X_140,3);
    X_142:=X_133 AND REF(X_133,3);
    X_143:=BACKSET(X_142,4);
    X_144:=FILTER(X_143,3);
    X_145:=X_60 AND NOT(REF(X_60,4)) OR (X_63 AND NOT(REF(X_63,4))) OR (X_66 AND NOT(REF(X_66,4))) OR (X_69 AND NOT(REF(X_69,4)));
    X_146:=X_75 AND NOT(REF(X_75,4)) OR (X_78 AND NOT(REF(X_78,4))) OR (X_81 AND NOT(REF(X_81,4))) OR (X_84 AND NOT(REF(X_84,4)));
    X_147:=X_90 AND NOT(REF(X_90,4)) OR (X_93 AND NOT(REF(X_93,4))) OR (X_96 AND NOT(REF(X_96,4))) OR (X_99 AND NOT(REF(X_99,4)));
    X_148:=X_105 AND NOT(REF(X_105,4)) OR (X_108 AND NOT(REF(X_108,4))) OR (X_111 AND NOT(REF(X_111,4))) OR (X_114 AND NOT(REF(X_114,4)));
    X_149:=X_120 AND NOT(REF(X_120,4)) OR (X_123 AND NOT(REF(X_123,4))) OR (X_126 AND NOT(REF(X_126,4))) OR (X_129 AND NOT(REF(X_129,4)));
    X_150:=X_135 AND NOT(REF(X_135,4)) OR (X_138 AND NOT(REF(X_138,4))) OR (X_141 AND NOT(REF(X_141,4))) OR (X_144 AND NOT(REF(X_144,4)));
    X_151:=X_145 OR X_146 OR X_147 OR X_148 OR X_149 OR X_150;
    STICKLINE(X_151 AND NOT(REF(X_151,4)),OPEN,CLOSE,0,0),COLORYELLOW;
    STICKLINE(X_151 AND NOT(REF(X_151,4)),OPEN,CLOSE,(-1),0),COLOR0099DD;
    STICKLINE(X_151 AND NOT(REF(X_151,4)),OPEN,CLOSE,3,0),COLOR00ABEE;
    STICKLINE(X_151 AND NOT(REF(X_151,4)),OPEN,CLOSE,2,0),COLOR00DDFF;
    STICKLINE(X_151 AND NOT(REF(X_151,4)),OPEN,CLOSE,0.1,0),COLORYELLOW;
    X_152:=SUMBARS(X_151,1);
    X_153:=X_57 AND NOT(REF(X_57,5));
    X_154:=X_72 AND NOT(REF(X_72,5));
    X_155:=X_87 AND NOT(REF(X_87,5));
    X_156:=X_102 AND NOT(REF(X_102,5));
    X_157:=X_117 AND NOT(REF(X_117,5));
    X_158:=X_132 AND NOT(REF(X_132,5));
    X_159:=X_153 OR X_154 OR X_155 OR X_156 OR X_157 OR X_158;
    STICKLINE(X_159 AND NOT(REF(X_159,5)),OPEN,CLOSE,2.7,0),COLOR0011FF;
    STICKLINE(X_159 AND NOT(REF(X_159,5)),OPEN,CLOSE,1.8,0),COLOR0044FF;
    STICKLINE(X_159 AND NOT(REF(X_159,5)),OPEN,CLOSE,0.9,0),COLOR0077FF;
    STICKLINE(X_159 AND NOT(REF(X_159,5)),OPEN,CLOSE,0.1,0),COLOR0099FF;
    STICKLINE(X_159 AND NOT(REF(X_159,5)),OPEN,CLOSE,0,0),COLOR0099FF;
    DRAWTEXT(X_159 AND NOT(REF(X_159,5)),LOW*0.99,7),COLORRED;
    X_160:=SUMBARS(X_159,1);
    X_161:=X_58 OR X_73 OR X_88 OR X_103 OR X_118 OR X_133 AND X_25 AND X_21;
    X_162:=BACKSET(X_161,4);
    X_163:=FILTER(X_162,3);
    STICKLINE(X_163 AND NOT(REF(X_163,4)),OPEN,CLOSE,3,0),COLOR0099FF;
    DRAWTEXT(X_163 AND NOT(REF(X_163,4)),LOW*0.958,8),COLOR0099FF;
    X_164:=X_55 OR X_70 OR X_85 OR X_100 OR X_115 OR X_130 AND X_25 AND X_21;
    X_165:=BACKSET(X_164,5);
    X_166:=FILTER(X_165,5);
    STICKLINE(X_166 AND NOT(REF(X_166,4)),OPEN,CLOSE,3,0),COLOR0099FF;
    DRAWTEXT(X_166 AND NOT(REF(X_166,4)),LOW*0.958,8),COLOR0099FF;
    X_167:=CROSS(KDJ.J,KDJ.D);
    X_168:=CROSS(KDJ.D,KDJ.J);
    STICKLINE(X_167,OPEN,CLOSE,1,0),COLORYELLOW;
    STICKLINE(X_168,OPEN,CLOSE,1,0),COLOR000099;
    AT1:MA(CLOSE,5),COLORWHITE;
    AT2:MA(CLOSE,10),COLORYELLOW;
    AT3:MA(CLOSE,20),COLORMAGENTA;
    AT4:MA(CLOSE,60),COLORGREEN;
    AT5:MA(CLOSE,130),DOTLINE,COLORA8A8A8;
    AT6:MA(CLOSE,250),DOTLINE,COLORYELLOW;
    X_169:=REF(VOL,1);
    X_170:=DVOL;
    X_171:=X_170/X_169;
    X_172:=X_171-REF(X_171,1);
    X_173:=REF(CLOSE,1);
    X_174:=DCLOSE;
    X_175:=(X_174-X_173)/X_173*100;
    X_176:=X_175-REF(X_175,1);
    X_177:=CROSS(X_172,500) AND CROSS(X_176,10);
    DRAWICON(X_177=1 AND DATE+19000000 20151128,HIGH*1.02,24);
    通达信TDX大盘副图源码

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信TDX大盘副图源码 加入收藏