通达信威龙副图指标 源码 贴图
2023-06-28 10:24:00来源:本站整理浏览:551
通达信威龙副图指标 源码 贴图
X_1:=11;
X_2:=36;
X_3:=MA(CLOSE,X_1);
X_4:=MA(CLOSE,X_2);
X_5:=CROSS(CLOSE,MA(CLOSE,36)) AND MA(CLOSE,11)<MA(CLOSE,36) AND CLOSE>(REF(LOW,1)+REF(HIGH,1))/2 OR (LOW<X_4 AND CLOSE>X_4 AND CROSS(X_3,X_4) AND CLOSE>(REF(LOW,1)+REF(HIGH,1))/2);
X_6:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_7:=EMA(X_6,9);
X_8:=(X_6-X_7)*2;
X_9:=7;
X_10:=50;
X_11:=17;
X_12:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_13:=(20*X_12+19*REF(X_12,1)+18*REF(X_12,2)+17*REF(X_12,3)+16*REF(X_12,4)+15*REF(X_12,5)+14*REF(X_12,6)+13*REF(X_12,7)+12*REF(X_12,8)+11*REF(X_12,9)+10*REF(X_12,10)+9*REF(X_12,11)+8*REF(X_12,12)+7*REF(X_12,13)+6*REF(X_12,14)+5*REF(X_12,15)+4*REF(X_12,16)+3*REF(X_12,17)+2*REF(X_12,18)+REF(X_12,20))/210;
X_14:=EMA(X_13,13);
X_15:=LLV(HIGH,30);
X_16:=100*WINNER(CLOSE);
X_17:=(HHV(X_16,X_11)+LLV(X_16,X_11))/2;
X_18:=KDJ.K;
X_19:=KDJ.D;
X_20:=KDJ.J;
X_21:=EMA(VOL/CAPITAL,3);
X_22:=HHV(X_21,240);
X_23:=LLV(X_21,240);
X_24:=MA(CLOSE,33);
X_25:=EMA(CLOSE,20);
X_26:=EMA((X_21-X_23)/X_23*X_24,13);
X_27:=EMA((X_22-X_21)/X_21*X_24,13);
X_28:=X_26-X_27;
X_29:=WINNER(CLOSE/1.1)*100;
X_30:=STICKLINE(X_28>0,X_29,X_28,0.3,10);
X_31:=STICKLINE(CLOSE/1.1*100,X_29,0,4,0);
X_32:=STICKLINE(CLOSE/1.1*100,X_29,0,0.7,0);
X_33:=STICKLINE(CLOSE/1.1*100,X_29,0,0.2,0);
X_34:=100*WINNER(CLOSE*0.97);
X_35:=0*WINNER(CLOSE*0.9*0.9);
X_36:=WINNER(CLOSE/1.1)*100;
X_37:=(CLOSE*2+HIGH+LOW)/4*10;
X_38:=EMA(X_37,13)-EMA(X_37,34);
X_39:=EMA(X_38,5);
X_40:=2*(X_38-X_39)*5.5;
X_41:=0;
X_42:=IF(X_40<=0,X_40,0);
X_43:=IF(X_40>=0,X_40,0);
X_44:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
X_45:=EMA(3*X_44-2*SMA(X_44,18,1),5);
X_46:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
X_47:=(INDEXC*2+INDEXH+INDEXL)/4;
X_48:=EMA(X_47,13)-EMA(X_47,34);
X_49:=EMA(X_48,3);
X_50:=(X_48-X_49)/2;
X_51:=IF(X_50>=0,X_50,0);
X_52:=IF(X_50<=0,X_50,0);
X_53:=REF(LOW,1);
X_54:=SMA(ABS(LOW-X_53),13,1)/SMA(MAX(LOW-X_53,0),13,1)*4;
X_55:=EMA(X_54,13);
X_56:=LLV(LOW,34);
X_57:=EMA(IF(LOW<=X_56,X_55,0),3);
X_58:=IF(X_57<REF(X_57,1),X_57,0);
X_59:=X_18<25;
X_60:=EXIST(X_59,11);
X_61:=X_28>REF(X_28,1) AND X_27<REF(X_27,1) AND CROSS(X_34,X_26) AND X_8<0.16 AND X_58>=0 AND X_6<0.11 AND X_7<0.08 AND X_60 AND X_42=0 AND X_17<60;
X_62:=REF(X_61,1);
X_63:=CLOSE>REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)>=1.03;
X_64:=X_62 AND X_63;
X_65:=REF(X_61,1);
X_66:=CLOSE>REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)<1.03;
X_67:=X_65 AND X_66;
X_68:=BARSLAST(X_61);
X_69:=X_68<=50;
X_70:=REF(CLOSE,1)<=REF(CLOSE,X_68);
X_71:=CLOSE>REF(CLOSE,X_68);
X_72:=CLOSE>REF(CLOSE,4);
X_73:=CLOSE>REF(OPEN,4);
X_74:=X_72 OR X_73;
X_75:=X_69 AND X_70 AND X_71 AND X_74;
X_76:=(HIGH+LOW+OPEN+3*CLOSE)/6;
X_77:=(X_76-EMA(X_76,21))/EMA(X_76,21)*100;
X_78:=HHV(X_77,89);
X_79:=X_78>REF(X_78,5);
X_80:=X_64 OR X_75 AND X_67<1 AND X_79<1;
X_81:=COUNT(X_80,10)>=1;
X_82:=X_81 AND X_5;
X_83:=COUNT(X_5,3)>=1;
X_84:=X_83 AND X_80;
X_85:=COUNT(X_61,10)>=2;
X_86:=X_85 AND X_5;
X_87:=X_83 AND X_85;
X_88:=X_82 OR X_84 OR X_86 OR X_87;
X_89:=CLOSE/REF(CLOSE,1)>1.04;
X_90:=X_88 AND X_89;
X_91:=REF(X_88,1);
X_92:=CLOSE>REF(CLOSE,1) OR CLOSE>OPEN;
X_93:=X_91 AND X_92;
X_94:=REF(CLOSE<OPEN,1) AND REF(CLOSE,1)<REF(CLOSE,2);
X_95:=REF(CLOSE>OPEN,2) AND REF(CLOSE,2)>REF(CLOSE,3);
X_96:=CLOSE>REF(CLOSE,2) AND X_88;
X_97:=X_94 AND X_95 AND X_96;
X_98:=REF(X_88,2);{公式网WWW.GPXIAZAI.COM}
X_99:=REF(CLOSE<OPEN,1) AND REF(CLOSE,1)<REF(CLOSE,2);
X_100:=REF(CLOSE>OPEN OR CLOSE<OPEN,2) AND REF(CLOSE,2)>REF(CLOSE,3);
X_101:=CLOSE>REF(CLOSE,2) AND X_98;
X_102:=X_99 AND X_100 AND X_101;
X_103:=COUNT(X_89,3)>=2;
X_104:=X_90 OR X_93 OR X_97 OR X_102;
X_105:=X_104 AND X_103<1 AND CLOSE>X_3 AND CLOSE>REF(CLOSE,2);
威龙:IF(X_105,130,1),COLORRED;
STICKLINE(X_105,90,2,1.1,0),COLORRED;
STICKLINE(X_105,60,2,1.1,0),COLORYELLOW;
STICKLINE(X_105,30,2,1.1,0),COLORGREEN;
DRAWTEXT(X_105,45,'威龙'),COLORRED;
X_2:=36;
X_3:=MA(CLOSE,X_1);
X_4:=MA(CLOSE,X_2);
X_5:=CROSS(CLOSE,MA(CLOSE,36)) AND MA(CLOSE,11)<MA(CLOSE,36) AND CLOSE>(REF(LOW,1)+REF(HIGH,1))/2 OR (LOW<X_4 AND CLOSE>X_4 AND CROSS(X_3,X_4) AND CLOSE>(REF(LOW,1)+REF(HIGH,1))/2);
X_6:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_7:=EMA(X_6,9);
X_8:=(X_6-X_7)*2;
X_9:=7;
X_10:=50;
X_11:=17;
X_12:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_13:=(20*X_12+19*REF(X_12,1)+18*REF(X_12,2)+17*REF(X_12,3)+16*REF(X_12,4)+15*REF(X_12,5)+14*REF(X_12,6)+13*REF(X_12,7)+12*REF(X_12,8)+11*REF(X_12,9)+10*REF(X_12,10)+9*REF(X_12,11)+8*REF(X_12,12)+7*REF(X_12,13)+6*REF(X_12,14)+5*REF(X_12,15)+4*REF(X_12,16)+3*REF(X_12,17)+2*REF(X_12,18)+REF(X_12,20))/210;
X_14:=EMA(X_13,13);
X_15:=LLV(HIGH,30);
X_16:=100*WINNER(CLOSE);
X_17:=(HHV(X_16,X_11)+LLV(X_16,X_11))/2;
X_18:=KDJ.K;
X_19:=KDJ.D;
X_20:=KDJ.J;
X_21:=EMA(VOL/CAPITAL,3);
X_22:=HHV(X_21,240);
X_23:=LLV(X_21,240);
X_24:=MA(CLOSE,33);
X_25:=EMA(CLOSE,20);
X_26:=EMA((X_21-X_23)/X_23*X_24,13);
X_27:=EMA((X_22-X_21)/X_21*X_24,13);
X_28:=X_26-X_27;
X_29:=WINNER(CLOSE/1.1)*100;
X_30:=STICKLINE(X_28>0,X_29,X_28,0.3,10);
X_31:=STICKLINE(CLOSE/1.1*100,X_29,0,4,0);
X_32:=STICKLINE(CLOSE/1.1*100,X_29,0,0.7,0);
X_33:=STICKLINE(CLOSE/1.1*100,X_29,0,0.2,0);
X_34:=100*WINNER(CLOSE*0.97);
X_35:=0*WINNER(CLOSE*0.9*0.9);
X_36:=WINNER(CLOSE/1.1)*100;
X_37:=(CLOSE*2+HIGH+LOW)/4*10;
X_38:=EMA(X_37,13)-EMA(X_37,34);
X_39:=EMA(X_38,5);
X_40:=2*(X_38-X_39)*5.5;
X_41:=0;
X_42:=IF(X_40<=0,X_40,0);
X_43:=IF(X_40>=0,X_40,0);
X_44:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
X_45:=EMA(3*X_44-2*SMA(X_44,18,1),5);
X_46:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
X_47:=(INDEXC*2+INDEXH+INDEXL)/4;
X_48:=EMA(X_47,13)-EMA(X_47,34);
X_49:=EMA(X_48,3);
X_50:=(X_48-X_49)/2;
X_51:=IF(X_50>=0,X_50,0);
X_52:=IF(X_50<=0,X_50,0);
X_53:=REF(LOW,1);
X_54:=SMA(ABS(LOW-X_53),13,1)/SMA(MAX(LOW-X_53,0),13,1)*4;
X_55:=EMA(X_54,13);
X_56:=LLV(LOW,34);
X_57:=EMA(IF(LOW<=X_56,X_55,0),3);
X_58:=IF(X_57<REF(X_57,1),X_57,0);
X_59:=X_18<25;
X_60:=EXIST(X_59,11);
X_61:=X_28>REF(X_28,1) AND X_27<REF(X_27,1) AND CROSS(X_34,X_26) AND X_8<0.16 AND X_58>=0 AND X_6<0.11 AND X_7<0.08 AND X_60 AND X_42=0 AND X_17<60;
X_62:=REF(X_61,1);
X_63:=CLOSE>REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)>=1.03;
X_64:=X_62 AND X_63;
X_65:=REF(X_61,1);
X_66:=CLOSE>REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)<1.03;
X_67:=X_65 AND X_66;
X_68:=BARSLAST(X_61);
X_69:=X_68<=50;
X_70:=REF(CLOSE,1)<=REF(CLOSE,X_68);
X_71:=CLOSE>REF(CLOSE,X_68);
X_72:=CLOSE>REF(CLOSE,4);
X_73:=CLOSE>REF(OPEN,4);
X_74:=X_72 OR X_73;
X_75:=X_69 AND X_70 AND X_71 AND X_74;
X_76:=(HIGH+LOW+OPEN+3*CLOSE)/6;
X_77:=(X_76-EMA(X_76,21))/EMA(X_76,21)*100;
X_78:=HHV(X_77,89);
X_79:=X_78>REF(X_78,5);
X_80:=X_64 OR X_75 AND X_67<1 AND X_79<1;
X_81:=COUNT(X_80,10)>=1;
X_82:=X_81 AND X_5;
X_83:=COUNT(X_5,3)>=1;
X_84:=X_83 AND X_80;
X_85:=COUNT(X_61,10)>=2;
X_86:=X_85 AND X_5;
X_87:=X_83 AND X_85;
X_88:=X_82 OR X_84 OR X_86 OR X_87;
X_89:=CLOSE/REF(CLOSE,1)>1.04;
X_90:=X_88 AND X_89;
X_91:=REF(X_88,1);
X_92:=CLOSE>REF(CLOSE,1) OR CLOSE>OPEN;
X_93:=X_91 AND X_92;
X_94:=REF(CLOSE<OPEN,1) AND REF(CLOSE,1)<REF(CLOSE,2);
X_95:=REF(CLOSE>OPEN,2) AND REF(CLOSE,2)>REF(CLOSE,3);
X_96:=CLOSE>REF(CLOSE,2) AND X_88;
X_97:=X_94 AND X_95 AND X_96;
X_98:=REF(X_88,2);{公式网WWW.GPXIAZAI.COM}
X_99:=REF(CLOSE<OPEN,1) AND REF(CLOSE,1)<REF(CLOSE,2);
X_100:=REF(CLOSE>OPEN OR CLOSE<OPEN,2) AND REF(CLOSE,2)>REF(CLOSE,3);
X_101:=CLOSE>REF(CLOSE,2) AND X_98;
X_102:=X_99 AND X_100 AND X_101;
X_103:=COUNT(X_89,3)>=2;
X_104:=X_90 OR X_93 OR X_97 OR X_102;
X_105:=X_104 AND X_103<1 AND CLOSE>X_3 AND CLOSE>REF(CLOSE,2);
威龙:IF(X_105,130,1),COLORRED;
STICKLINE(X_105,90,2,1.1,0),COLORRED;
STICKLINE(X_105,60,2,1.1,0),COLORYELLOW;
STICKLINE(X_105,30,2,1.1,0),COLORGREEN;
DRAWTEXT(X_105,45,'威龙'),COLORRED;
- 上一篇公式:通达信底部五黑马副图指标 源码 贴图
- 下一篇公式:通达信资金热度副图指标 源码 贴图 指标介绍