通达信风险提示副图 只找翻倍股的指标 源码 附图

X_1:=MA(CLOSE,20);
X_2:=MA(CLOSE,60);
X_3:=MA(CLOSE,120);
X_4:=MA(CLOSE,240);
X_5:=(2*CLOSE+HIGH+LOW+OPEN)/5;
X_6:=HHV(X_5,20);
X_7:=LLV(X_5,20);
X_8:=X_6-X_7;
X_9:=EMA((X_5-X_7)/X_8,2)*100;
X_10:=HHV(X_5,60);
X_11:=LLV(X_5,60);
X_12:=X_10-X_11;
X_13:=EMA((X_5-X_11)/X_12,2)*100;
X_14:=HHV(X_5,120);
X_15:=LLV(X_5,120);
X_16:=X_14-X_15;
X_17:=EMA((X_5-X_15)/X_16,2)*100;
X_18:=HHV(X_5,240);
X_19:=LLV(X_5,240);
X_20:=X_18-X_19;
X_21:=EMA((X_5-X_19)/X_20,2)*100;
X_22:=20;
X_23:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
X_24:=SMA(X_23,10,1);
X_25:=SMA(X_24,5,1);
X_26:=INTPART(X_24);
X_27:=INTPART(X_25);
X_28:=X_26+X_27;
X_29:=(X_28-REF(X_28,1))*10;
X_30:=X_28+X_29;
X_31:=(LOW+HIGH+CLOSE*2)/4;
X_32:=EMA(X_31,X_22);
X_33:=(X_32-REF(X_32,1))/REF(X_32,1)*100;
X_34:=EMA((CLOSE-LLV(LOW,11))/(HHV(HIGH,25)-LLV(LOW,11))*4,8)+1;
X_35:=IF(1=1,POW(X_34,2)-10,DRAWNULL);
X_36:=EMA((INDEXC-LLV(INDEXL,11))/(HHV(INDEXH,25)-LLV(INDEXL,11))*4,8)+1;
X_37:=POW(X_36,2)-10;
X_38:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
X_39:=SMA(X_38,3,1);
X_40:=SMA(X_39,3,1);
X_41:=3*X_39-2*X_40;
X_42:=CROSS(X_41,0);
X_43:=CROSS(100,X_41);
X_44:=REF(CLOSE,1);
X_45:=SMA(MAX(CLOSE-X_44,0),6,1)/SMA(ABS(CLOSE-X_44),6,1)*100;
X_46:=CROSS(X_45,20);
X_47:=CROSS(80,X_45);
X_48:=IF(LLV(CCI,2)>LLV(CCI,7) AND LLV(LOW,2)<=LLV(LOW,7) AND HHV(HIGH,10)>MA(CLOSE,60),1,0);
X_49:=IF(DATE<=1090314,1,0);
X_50:=REF(CLOSE,1);
X_51:=SMA(MAX(CLOSE-X_50,0),7,1)/SMA(ABS(CLOSE-X_50),7,1)*100;
X_52:=CROSS(70,X_51);
X_53:=FILTER(X_52,4)*X_49;
X_54:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,6)*100;
X_55:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,12)*100;
X_56:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,24)*100;
X_57:=(X_54+2*X_55+3*X_56)/6;
X_58:=MA(X_57,6);
STICKLINE(CLOSE,100,100,5,0),COLORGREEN;
STICKLINE(CLOSE,90,90,5,0),COLORYELLOW;
STICKLINE(X_33>=0,52,48,4,0),COLOR000055;
STICKLINE(X_33<0,52,48,4,0),COLOR663300;
STICKLINE(CLOSE,20,20,4,0),COLORYELLOW;
STICKLINE(CLOSE,80,80,4,0),COLORLIMAGENTA;
STICKLINE(CLOSE,10,10,4,0),COLOR40FF00;
STICKLINE(CLOSE,0,0,4,0),COLORRED;
近期风险:X_28,NODRAW;
预测风险:X_30,NODRAW;
X_59:=X_29;
长线:X_21,COLORWHITE,LINETHICK2;
中长线:X_17,COLOR990000,LINETHICK2;
中线:X_13,COLORYELLOW,LINETHICK2;
中短线:X_9,COLORRED,LINETHICK2;
DRAWTEXT(ISLASTBAR,5,16),COLORWHITE;
DRAWTEXT(ISLASTBAR,15,16),COLORWHITE;
DRAWTEXT(ISLASTBAR,85,17),COLORWHITE;
DRAWTEXT(ISLASTBAR,95,18),COLORWHITE;
DRAWTEXT(X_9<=8 AND X_13<=8 AND X_17<=8 AND X_21<=8 AND ISLASTBAR,25,5),COLORGREEN;
DRAWTEXT(X_9<=20 AND X_13<=20 AND X_17<=20 AND X_21<=20 AND ISLASTBAR,35,6),COLORGREEN;
DRAWTEXT(X_9>=80 AND X_13>=80 AND X_17>=80 AND X_21>=80 AND ISLASTBAR,75,7),COLORGREEN;
DRAWTEXT(X_9>93 AND X_13>93 AND X_17>93 AND X_21>93 AND ISLASTBAR,65,8),COLORGREEN;
DRAWTEXT(近期风险/预测风险>=1 AND ISLASTBAR,50,22),COLORGREEN;
DRAWTEXT(近期风险/预测风险<1 AND ISLASTBAR,50,19),COLORGREEN;
X_60:=EMA(CLOSE,4)<EMA(CLOSE,10) AND MA(CLOSE,11)<MA(CLOSE,19);
X_61:=HIGH<EMA(HIGH,9);
X_62:=COUNT(X_61,6)>=2;
X_63:=REF(X_62,1) AND HIGH>MA(CLOSE,6);
X_64:=NOT(X_60);
X_65:=BARSLAST(X_64);
X_66:=EVERY(X_60,X_65);
X_67:=COUNT(X_63,X_65)>=2;
X_68:=X_67 AND CLOSE>MA(CLOSE,4);
X_69:=EMA(CLOSE,12)-EMA(CLOSE,28);
X_70:=EMA(X_69,8);
X_71:=(X_69-X_70)*2;
X_72:=X_71<=0;
X_73:=EMA(CLOSE,9)/CLOSE>=1.029;
X_74:=EMA(HIGH,60)/HIGH>=1.177;
X_75:=REF(HHV(LOW,20)/LLV(LOW,20)>=1.27,1);
X_76:=REF(HHV(VOL,30)/LLV(VOL,32)<11,1);
X_77:=VOL<MA(VOL,65)*1.45;
X_78:=VOL<REF(LLV(VOL,18),1)*4.5;
X_79:=REF(VOL,1)<REF(LLV(VOL,18),2)*5;
X_80:=REF(VOL,1)<=REF(MA(VOL,65),1)*1.19;
X_81:=OPEN/CLOSE>=1.054;
X_82:=COUNT(X_81,6)>=1;
X_83:=REF(OPEN,2)<=CLOSE;
X_84:=FILTER(X_68,2) AND X_72 AND X_73 AND X_74 AND X_75 AND X_76 AND X_77 AND X_78 AND X_79 AND X_80 AND X_82 AND X_83;
绝底:X_84;
0,COLORRED,LINETHICK2;
STICKLINE(绝底,0,21,2,0),COLORRED;
STICKLINE(绝底,20,40,2,0),COLORRED;
STICKLINE(绝底,40,60,2,0),COLORRED;
STICKLINE(绝底,60,80,2,0),COLORYELLOW;
STICKLINE(绝底,80,100,2,0),COLORRED;
DRAWICON(绝底,60,25);
X_85:=REF(LOW,1);
X_86:=SMA(ABS(LOW-X_85),13,1)/SMA(MAX(LOW-X_85,0),13,1)*100;
X_87:=EMA(IF(CLOSE*1.2,X_86*13,X_86/13),13);
X_88:=LLV(LOW,34);
X_89:=HHV(X_87,34);
X_90:=IF(LLV(LOW,56),1,0);
X_91:=EMA(IF(LOW<=X_88,(X_87+X_89*2)/2,0),3)/618*X_90;
DRAWTEXT_FIX(1,0.98,20,1,11),COLOR666666;
X_92:=X_91>REF(X_91,1);
X_93:=100;
X_94:=3;
X_95:=REF(LLV(LOW,100),3);
X_96:=REFDATE(X_95,DATE);
X_97:=LOW=X_96;
X_98:=X_92 AND X_97;
X_99:=X_98>REF(X_98,1);
X_100:=X_99>REF(X_99,1);
STICKLINE(FILTER(X_100>=1,5),45,0,4,0),COLORRED;
DRAWTEXT(FILTER(X_100=1,5),36,20),COLORRED;
STICKLINE(X_100,40,25,1,0),COLORYELLOW;
STICKLINE(X_100,25,10,2,0),COLORGREEN;
STICKLINE(X_100,10,0,2,0),COLORBLUE;
STICKLINE(X_100,25,15,0.5,0),COLORRED;
STICKLINE(X_100,15,6,1,0),COLORGREEN;
STICKLINE(X_100,6,0,2,0),COLORBLUE;
X_101:=VOL/700000000;
X_102:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1);
X_103:=2.5*MAX(X_101,X_102);
X_104:=DMA(CLOSE,X_103);
X_105:=SMA(20*(X_104/REF(X_104,1)-1),2,1);
X_106:=EMA(X_105,2);
X_107:=0.24;
X_108:=CLOSE>=REF(CLOSE,1);
X_109:=IF(X_105>X_107 AND X_106>=0.005 AND X_108,1,0);
X_110:=CROSS(X_109,0.5) AND COUNT(X_109>0.5,10)=1;
X_111:=KDJ.J-REF(KDJ.J,1)>30 AND CLOSE/REF(CLOSE,1)>1.043 AND MACD.MACD>0 AND MACD.DEA>0;
X_112:=CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
X_113:=FILTER(X_112,28)*100 AND LOW>REF(CLOSE,1)*0.93;
X_114:=X_111 OR X_113 AND X_110;
X_115:=9;
X_116:=10;
X_117:=CLOSE/REF(CLOSE,1)>1+0.01*X_115;
X_118:=EXIST(CLOSE/REF(CLOSE,1)>1+0.01*X_115,X_116);
X_119:=CLOSE/REF(CLOSE,1)>1+0.01*X_115;
X_120:=IF(X_117+X_118+X_119=3,1,0);
X_121:=(HIGH-CLOSE)/(CLOSE-OPEN)<0.33;
X_122:=CLOSE/REF(CLOSE,1)-1>=0.0502 AND CLOSE>REF(CLOSE,1) AND (OPEN-LOW)/(CLOSE-OPEN)>=1.48 AND LOW<REF(LOW,1) AND LOW<REF(LOW,2);
X_123:=CLOSE/REF(CLOSE,1)-1>=0.08;
X_124:=VOL>REF(VOL,1)*1.9 AND CLOSE>REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)-1>=0.049 AND X_121;
X_125:=CLOSE/REF(CLOSE,1)-1>=0.0502 AND CLOSE>REF(CLOSE,1) AND VOL>REF(VOL,1) AND VOL>REF(VOL,1)*2.5 AND X_121;
X_126:=EMA(2.055*EMA(EMA(HIGH,34),34)-EMA(EMA(LOW,34),34),5);
X_127:=IF(FILTER(X_124 OR X_125 OR X_122 OR X_123 AND X_126>CLOSE,34),1,0) AND X_120;
LYQD:IF(X_97 OR X_127,20,0),STICK,COLORMAGENTA,LINETHICK4;
DRAWTEXT(CROSS(LYQD,1),LYQD-LYQD*0.14,21),COLORMAGENTA;
X_128:=CROSS(KDJ.K#WEEK,KDJ.D#WEEK);
X_129:=KD.K#WEEK(9,3,3);
X_130:=KD.D#WEEK(9,3,3);
X_131:=FILTER(CROSS(X_129,X_130) AND REF(X_130,1)<30,13);
X_132:=FILTER(CROSS(X_129,X_130) AND REF(X_130,1)>30,13);
X_133:=X_131;
X_134:=MACD.DIF#WEEK(12,26,9);
X_135:=MACD.DEA#WEEK(12,26,9);
X_136:=10;
X_137:=5;
X_138:=FILTER(CROSS(X_134,X_135) AND REF(X_135,1)<0,13);
X_139:=X_138;
X_140:=(HHV(HIGH,X_136)-CLOSE)/(HHV(HIGH,X_136)-LLV(LOW,X_136))*200-125;
X_141:=SMA(X_140,X_137,1)+15;
X_142:=(CLOSE-LLV(LOW,X_136))/(HHV(HIGH,X_136)-LLV(LOW,X_136))*200-105;
X_143:=SMA(X_142,X_137,1)+15;
X_144:=CROSS(X_143,X_141);
X_145:=X_139 AND X_138 AND X_128;
STICKLINE(X_145,10,0,3,0),COLORRED;
STICKLINE(X_145,20,1,2,0),COLORGREEN;
STICKLINE(X_145,30,2,1,0),COLORMAGENTA;
DRAWTEXT(X_145,25,23),COLORYELLOW;
DRAWTEXT_FIX(CLOSE>OPEN,0.01,0.9,0,24),COLOR666666;



未来函数检测结果如下:
该公式包含未来函数:#WEEK
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图