当前位置:首页 > 通达信 > 正文

【通达信免费源码】预测目标点指标源码

2022-05-12未知 编 辑:掌上指标


HJ_1:=AMOUNT/VOL;
HJ_2:=LOW<HJ_1*0.9;
HJ_3:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>1.2;
HJ_4:=LOW<MA(CLOSE,5)*0.921;
HJ_5:=VOL<MA(VOL,5)*1.5;
HJ_6:=HJ_2 AND HJ_3 AND HJ_4 AND HJ_5;
DRAWTEXT(HJ_6,LOW*0.96,139),COLOR40CCFF;
当前获利筹码:IF(WINNER(CLOSE),WINNER(CLOSE)*100,0),NODRAW;
HJ_7:=IF(CURRBARSCOUNT=1 AND PERIOD=5,REF(CLOSE,1)*1.1,DRAWNULL);
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,HJ_7,MAX(OPEN,CLOSE),(-1),(-1)),COLOR00C0C0;
HJ_8:=COST(99.900002);
HJ_9:=COST(0.1);
HJ_10:=(HJ_8-HJ_9)/50;
HJ_11:=HJ_8-HJ_10;
HJ_12:=HJ_8-2*HJ_10;
HJ_13:=HJ_8-3*HJ_10;
HJ_14:=HJ_8-4*HJ_10;
HJ_15:=HJ_8-5*HJ_10;
HJ_16:=HJ_8-6*HJ_10;
HJ_17:=HJ_8-7*HJ_10;
HJ_18:=HJ_8-8*HJ_10;
HJ_19:=HJ_8-9*HJ_10;
HJ_20:=HJ_8-10*HJ_10;
HJ_21:=HJ_8-11*HJ_10;
HJ_22:=HJ_8-12*HJ_10;
HJ_23:=HJ_8-13*HJ_10;
HJ_24:=HJ_8-14*HJ_10;
HJ_25:=HJ_8-15*HJ_10;
HJ_26:=HJ_8-16*HJ_10;
HJ_27:=HJ_8-17*HJ_10;
HJ_28:=HJ_8-18*HJ_10;
HJ_29:=HJ_8-19*HJ_10;
HJ_30:=HJ_8-20*HJ_10;
HJ_31:=HJ_8-21*HJ_10;
HJ_32:=HJ_8-22*HJ_10;
HJ_33:=HJ_8-23*HJ_10;
HJ_34:=HJ_8-24*HJ_10;
HJ_35:=HJ_8-25*HJ_10;
HJ_36:=HJ_8-26*HJ_10;
HJ_37:=HJ_8-27*HJ_10;
HJ_38:=HJ_8-28*HJ_10;
HJ_39:=HJ_8-29*HJ_10;
HJ_40:=HJ_8-30*HJ_10;
HJ_41:=HJ_8-31*HJ_10;
HJ_42:=HJ_8-32*HJ_10;
HJ_43:=HJ_8-33*HJ_10;
HJ_44:=HJ_8-34*HJ_10;
HJ_45:=HJ_8-35*HJ_10;
HJ_46:=HJ_8-36*HJ_10;
HJ_47:=HJ_8-37*HJ_10;
HJ_48:=HJ_8-38*HJ_10;
HJ_49:=HJ_8-39*HJ_10;
HJ_50:=HJ_8-40*HJ_10;
HJ_51:=HJ_8-41*HJ_10;
HJ_52:=HJ_8-42*HJ_10;
HJ_53:=HJ_8-43*HJ_10;
HJ_54:=HJ_8-44*HJ_10;
HJ_55:=HJ_8-45*HJ_10;
HJ_56:=HJ_8-46*HJ_10;
HJ_57:=HJ_8-47*HJ_10;
HJ_58:=HJ_8-48*HJ_10;
HJ_59:=HJ_8-49*HJ_10;
HJ_60:=WINNER(HJ_8)*100-WINNER(HJ_11)*100;
HJ_61:=WINNER(HJ_11)*100-WINNER(HJ_12)*100;
HJ_62:=WINNER(HJ_12)*100-WINNER(HJ_13)*100;
HJ_63:=WINNER(HJ_13)*100-WINNER(HJ_14)*100;
HJ_64:=WINNER(HJ_14)*100-WINNER(HJ_15)*100;
HJ_65:=WINNER(HJ_15)*100-WINNER(HJ_16)*100;
HJ_66:=WINNER(HJ_16)*100-WINNER(HJ_17)*100;
HJ_67:=WINNER(HJ_17)*100-WINNER(HJ_18)*100;
HJ_68:=WINNER(HJ_18)*100-WINNER(HJ_19)*100;
HJ_69:=WINNER(HJ_19)*100-WINNER(HJ_20)*100;
HJ_70:=WINNER(HJ_20)*100-WINNER(HJ_21)*100;
HJ_71:=WINNER(HJ_21)*100-WINNER(HJ_22)*100;
HJ_72:=WINNER(HJ_22)*100-WINNER(HJ_23)*100;
HJ_73:=WINNER(HJ_23)*100-WINNER(HJ_24)*100;
HJ_74:=WINNER(HJ_24)*100-WINNER(HJ_25)*100;
HJ_75:=WINNER(HJ_25)*100-WINNER(HJ_26)*100;
HJ_76:=WINNER(HJ_26)*100-WINNER(HJ_27)*100;
HJ_77:=WINNER(HJ_27)*100-WINNER(HJ_28)*100;
HJ_78:=WINNER(HJ_28)*100-WINNER(HJ_29)*100;
HJ_79:=WINNER(HJ_29)*100-WINNER(HJ_30)*100;
HJ_80:=WINNER(HJ_30)*100-WINNER(HJ_31)*100;
HJ_81:=WINNER(HJ_31)*100-WINNER(HJ_32)*100;
HJ_82:=WINNER(HJ_32)*100-WINNER(HJ_33)*100;
HJ_83:=WINNER(HJ_33)*100-WINNER(HJ_34)*100;
HJ_84:=WINNER(HJ_34)*100-WINNER(HJ_35)*100;
HJ_85:=WINNER(HJ_35)*100-WINNER(HJ_36)*100;
HJ_86:=WINNER(HJ_36)*100-WINNER(HJ_37)*100;
HJ_87:=WINNER(HJ_37)*100-WINNER(HJ_38)*100;
HJ_88:=WINNER(HJ_38)*100-WINNER(HJ_39)*100;
HJ_89:=WINNER(HJ_39)*100-WINNER(HJ_40)*100;
HJ_90:=WINNER(HJ_40)*100-WINNER(HJ_41)*100;
HJ_91:=WINNER(HJ_41)*100-WINNER(HJ_42)*100;
HJ_92:=WINNER(HJ_42)*100-WINNER(HJ_43)*100;
HJ_93:=WINNER(HJ_43)*100-WINNER(HJ_44)*100;
HJ_94:=WINNER(HJ_44)*100-WINNER(HJ_45)*100;
HJ_95:=WINNER(HJ_45)*100-WINNER(HJ_46)*100;
HJ_96:=WINNER(HJ_46)*100-WINNER(HJ_47)*100;
HJ_97:=WINNER(HJ_47)*100-WINNER(HJ_48)*100;
HJ_98:=WINNER(HJ_48)*100-WINNER(HJ_49)*100;
HJ_99:=WINNER(HJ_49)*100-WINNER(HJ_50)*100;
HJ_100:=WINNER(HJ_50)*100-WINNER(HJ_51)*100;
HJ_101:=WINNER(HJ_51)*100-WINNER(HJ_52)*100;
HJ_102:=WINNER(HJ_52)*100-WINNER(HJ_53)*100;
HJ_103:=WINNER(HJ_53)*100-WINNER(HJ_54)*100;
HJ_104:=WINNER(HJ_54)*100-WINNER(HJ_55)*100;
HJ_105:=WINNER(HJ_55)*100-WINNER(HJ_56)*100;
HJ_106:=WINNER(HJ_56)*100-WINNER(HJ_57)*100;
HJ_107:=WINNER(HJ_57)*100-WINNER(HJ_58)*100;
HJ_108:=WINNER(HJ_58)*100-WINNER(HJ_59)*100;
HJ_109:=WINNER(HJ_59)*100-WINNER(HJ_9)*100;
STICKLINE(ISLASTBAR,HJ_8,HJ_8,HJ_60*50,0),COLORRED;
STICKLINE(ISLASTBAR,HJ_11,HJ_11,HJ_60*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_12,HJ_12,HJ_61*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_13,HJ_13,HJ_62*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_14,HJ_14,HJ_63*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_15,HJ_15,HJ_64*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_16,HJ_16,HJ_65*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_17,HJ_17,HJ_66*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_18,HJ_18,HJ_67*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_19,HJ_19,HJ_68*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_20,HJ_20,HJ_69*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_21,HJ_21,HJ_70*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_22,HJ_22,HJ_71*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_23,HJ_23,HJ_72*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_24,HJ_24,HJ_73*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_25,HJ_25,HJ_74*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_26,HJ_26,HJ_75*50,0),COLORRED;
STICKLINE(ISLASTBAR,HJ_27,HJ_27,HJ_76*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_28,HJ_28,HJ_77*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_29,HJ_29,HJ_78*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_30,HJ_30,HJ_79*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_31,HJ_31,HJ_80*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_32,HJ_32,HJ_81*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_33,HJ_33,HJ_82*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_34,HJ_34,HJ_83*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_35,HJ_35,HJ_84*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_36,HJ_36,HJ_85*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_37,HJ_37,HJ_86*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_38,HJ_38,HJ_87*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_39,HJ_39,HJ_88*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_40,HJ_40,HJ_89*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_41,HJ_41,HJ_90*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_42,HJ_42,HJ_91*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_43,HJ_43,HJ_92*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_44,HJ_44,HJ_93*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_45,HJ_45,HJ_94*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_46,HJ_46,HJ_95*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_47,HJ_47,HJ_96*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_48,HJ_48,HJ_97*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_49,HJ_49,HJ_98*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_50,HJ_50,HJ_99*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_51,HJ_51,HJ_100*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_52,HJ_52,HJ_101*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_53,HJ_53,HJ_102*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_54,HJ_54,HJ_103*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_55,HJ_55,HJ_104*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_56,HJ_56,HJ_105*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_57,HJ_57,HJ_106*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_58,HJ_58,HJ_107*50,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_9,HJ_9,HJ_109*50,0),COLORRED;
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA21:MA(CLOSE,21),COLORRED;
DRAWTEXT(ISLASTBAR,MA21,894),COLORRED;
MA60:MA(CLOSE,60);
HJ_110:=100*(CLOSE-LLV(LOW,5))/(HHV(CLOSE,5)-LLV(LOW,5));
HJ_111:=100*(CLOSE-LLV(LOW,10))/(HHV(CLOSE,10)-LLV(LOW,10));
HJ_112:=100*(CLOSE-LLV(LOW,20))/(HHV(CLOSE,20)-LLV(LOW,20));
HJ_113:=100*(CLOSE-LLV(LOW,30))/(HHV(CLOSE,30)-LLV(LOW,30));
HJ_114:=BARSLAST(CROSS(30,HJ_110))<2 AND BARSLAST(CROSS(HJ_110,50))<2;
HJ_115:=BARSLAST(CROSS(HJ_113,HJ_110))<2 AND HJ_110>HJ_113;
HJ_116:=HJ_110>60 AND HJ_113>70;
DRAWTEXT(HJ_114 AND HJ_115 AND HJ_116,LOW-0.02,883);
HJ_117:=BARSLAST(CROSS(50,HJ_110))<3 AND BARSLAST(CROSS(HJ_110,50))<3;
HJ_118:=BARSLAST(CROSS(HJ_113,HJ_110))<2 AND HJ_110>HJ_113;
DRAWTEXT(HJ_117 AND HJ_118,LOW-0.03,884);
HJ_119:=BARSLAST(CROSS(HJ_113,HJ_110))<5 AND HJ_110>HJ_113;
DRAWTEXT(COUNT(HJ_119,3)=1 AND HJ_119 AND CLOSE>MA(CLOSE,20),LOW-0.02,895),COLORRED;
HJ_120:=BARSLAST(CROSS(HJ_113,HJ_110))>3 AND BARSLAST(CROSS(HJ_110,HJ_113))<3;
HJ_121:=BARSLAST(CROSS(HJ_113,HJ_111));
HJ_122:=HJ_112<HJ_113 AND HJ_111<HJ_113;
HJ_123:=BARSLAST(CROSS(HJ_113,HJ_112))>3 AND BARSLAST(CROSS(HJ_110,HJ_113))<3;
HJ_124:=HJ_111<HJ_112 AND HJ_111<HJ_113 AND HJ_111<HJ_110 AND HJ_110=100;
HJ_125:=HJ_120>0 AND REF(HJ_120,1)=0 AND REF(HJ_120,2)>0;
DRAWTEXT(HJ_120 AND HJ_121 AND HJ_122 AND HJ_123 AND HJ_124,LOW-0.05,896);
HJ_126:=BARSLAST(CROSS(97,HJ_110))<=1 AND BARSLAST(CROSS(HJ_110,85))<=1;
HJ_127:=BARSLAST(CROSS(97,HJ_111))<=1 AND BARSLAST(CROSS(HJ_111,85))<=1;
HJ_128:=HJ_126 AND HJ_127;
HJ_129:=BARSLAST(CROSS(97,HJ_110))<=2 AND BARSLAST(CROSS(HJ_110,85))<=1;
HJ_130:=BARSLAST(CROSS(97,HJ_111))<=2 AND BARSLAST(CROSS(HJ_111,85))<=1;
HJ_131:=HJ_126 AND HJ_127;
HJ_132:=BARSLAST(CROSS(97,HJ_110))<=3 AND BARSLAST(CROSS(HJ_110,85))<=1;
HJ_133:=BARSLAST(CROSS(97,HJ_111))<=3 AND BARSLAST(CROSS(HJ_111,85))<=1;
HJ_134:=HJ_132 AND HJ_133;
HJ_135:=REF(HJ_128,1);
HJ_136:=REF(HJ_131,1);
HJ_137:=REF(HJ_134,1);
HJ_138:=HJ_110=100 AND HJ_111=100 AND HJ_128;
HJ_139:=HJ_110=100 AND HJ_111=100 AND HJ_131;
HJ_140:=HJ_110=100 AND HJ_111=100 AND HJ_134;
DRAWTEXT(HJ_138 OR HJ_139 OR HJ_140,LOW-0.02,897);
HJ_141:=BARSLAST(CROSS(95,HJ_110))<=2;
HJ_142:=BARSLAST(CROSS(95,HJ_111))<=2;
HJ_143:=HJ_113<HJ_110 AND HJ_110<HJ_111 AND HJ_110<HJ_112;
HJ_144:=HJ_111>50 AND HJ_112>50;
HJ_145:=HJ_110=100 AND HJ_111=100;
HJ_146:=COUNT(HJ_145,2)=1;
DRAWTEXT(HJ_141 AND HJ_142 AND HJ_143 AND HJ_144 AND HJ_146,LOW-0.03,898);
HJ_147:=HJ_112=100;
HJ_148:=HJ_113<90;
DRAWTEXT(COUNT(HJ_147,2)=2 AND HJ_148,LOW-0.02,899);
HJ_149:=MA(REF(HHV((CLOSE+LOW+OPEN+HIGH)/4,30),1),3);
HJ_150:=MA((CLOSE+LOW+OPEN+HIGH)/4,13);
HJ_151:=EMA((CLOSE+LOW+OPEN+HIGH)/4,21);
STICKLINE(CLOSE<HJ_151 AND CLOSE>OPEN,HIGH,LOW,0,0),COLORRED;
STICKLINE(CLOSE<HJ_151 AND CLOSE>OPEN,CLOSE,OPEN,3,1),COLORRED;
STICKLINE(CLOSE<HJ_151 AND CLOSE<OPEN,HIGH,LOW,0,0),COLOR007700;
STICKLINE(CLOSE<HJ_151 AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLOR005500;
STICKLINE(CLOSE<HJ_151 AND CLOSE<OPEN,CLOSE,OPEN,2,0),COLOR006600;
STICKLINE(CLOSE<HJ_151 AND CLOSE<OPEN,CLOSE,OPEN,1,0),COLOR007700;
STICKLINE(CLOSE>HJ_151 AND CLOSE<OPEN,HIGH,LOW,0,1),COLORFFDD44;
STICKLINE(CLOSE>HJ_151 AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLORFF7700;
STICKLINE(CLOSE>HJ_151 AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLORFFAA22;
STICKLINE(CLOSE>HJ_151 AND CLOSE<OPEN,CLOSE,OPEN,3,1),COLORFFDD44;
STICKLINE(CLOSE>HJ_151 AND CLOSE>OPEN,HIGH,LOW,0,0),COLOR00EEFF;
STICKLINE(CLOSE>HJ_151 AND CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR00AAFF;
STICKLINE(CLOSE>HJ_151 AND CLOSE>OPEN,CLOSE,OPEN,2,0),COLOR00CCFF;
STICKLINE(CLOSE>HJ_151 AND CLOSE>OPEN,CLOSE,OPEN,1,0),COLOR00EEFF;
STICKLINE(CLOSE>HJ_150 AND CLOSE>OPEN,HIGH,LOW,0,0),COLORFF66AA;
STICKLINE(CLOSE>HJ_150 AND CLOSE>OPEN,CLOSE,OPEN,3,0),COLORFF11FF;
STICKLINE(CLOSE>HJ_150 AND CLOSE>OPEN,CLOSE,OPEN,2,0),COLORFF44FF;
STICKLINE(CLOSE>HJ_150 AND CLOSE>OPEN,CLOSE,OPEN,1,0),COLORFF66FF;
STICKLINE(CLOSE>HJ_150 AND CLOSE<OPEN,HIGH,LOW,0,0),COLOR009999;
STICKLINE(CLOSE>HJ_150 AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLOR599555;
STICKLINE(CLOSE>HJ_150 AND CLOSE<OPEN,CLOSE,OPEN,2,0),COLORCYAN;
STICKLINE(CLOSE>HJ_150 AND CLOSE<OPEN,CLOSE,OPEN,1,0),COLOR999000;
STICKLINE(CLOSE>HJ_149 AND CLOSE>OPEN,HIGH,LOW,0,0),COLOR0000DD;
STICKLINE(CLOSE>HJ_149 AND CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR000099;
STICKLINE(CLOSE>HJ_149 AND CLOSE>OPEN,CLOSE,OPEN,2,0),COLOR0000BB;
STICKLINE(CLOSE>HJ_149 AND CLOSE>OPEN,CLOSE,OPEN,1,0),COLOR0000DD;
DRAWICON(CLOSE<OPEN AND CLOSE>REF(CLOSE,1),HIGH,12);
大家都爱看
查看更多热点新闻
点击进入掌上指标资源网-下载各类指标