通达信股道漫步趋势选股指标 源码 贴图
2023-07-10 10:15:00来源:本站整理浏览:797
通达信股道漫步趋势选股指标 源码 贴图
X_1:=EMA(CLOSE,6)-EMA(CLOSE,38);
X_2:=EMA(EMA(EMA(EMA(CLOSE,3),3),3)+X_1,9);
X_3:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_4:=EMA(X_3,13);
X_5:=EMA(X_4,3);
X_6:=EMA(X_5,3);
X_7:=EMA(X_6,3);
X_8:=EMA(X_7,3);
X_9:=EMA(X_8,3);
X_10:=(20*X_3+19*REF(X_3,1)+18*REF(X_3,2)+17*REF(X_3,3)+16*REF(X_3,4)+15*REF(X_3,5)+14*REF(X_3,6)+13*REF(X_3,7)+12*REF(X_3,8)+11*REF(X_3,9)+10*REF(X_3,10)+9*REF(X_3,11)+8*REF(X_3,12)+7*REF(X_3,13)+6*REF(X_3,14)+5*REF(X_3,15)+4*REF(X_3,16)+3*REF(X_3,17)+2*REF(X_3,18)+REF(X_3,20))/210;
X_11:=EMA(SLOPE(CLOSE,22)*20+CLOSE,60);
X_12:=MA(X_10,20);
X_13:=CLOSE>=X_2 AND COUNT(X_2>=X_11 AND X_11>=X_12,5)=5;
X_14:=OPEN>=MA(OPEN,3);
X_15:=REF(OPEN,1)>=REF(CLOSE,1);
X_16:=X_13 AND X_14 AND X_15;
X_17:=MA(CLOSE,5);
X_18:=MA(CLOSE,6);
X_19:=MA(CLOSE,7);
X_20:=MA(CLOSE,8);
X_21:=MA(CLOSE,9);
X_22:=MA(CLOSE,10);
X_23:=MA(CLOSE,11);
X_24:=MA(CLOSE,12);
X_25:=MA(CLOSE,13);
X_26:=MA(CLOSE,14);
X_27:=MA(CLOSE,15);
X_28:=MA(CLOSE,16);
X_29:=MA(CLOSE,17);
X_30:=MA(CLOSE,18);
X_31:=MA(CLOSE,19);
X_32:=MA(CLOSE,20);
X_33:=MA(CLOSE,21);
X_34:=MA(CLOSE,22);
X_35:=MA(CLOSE,23);
X_36:=MA(CLOSE,24);
X_37:=MA(CLOSE,25);
X_38:=MA(CLOSE,26);
X_39:=MA(CLOSE,27);
X_40:=MA(CLOSE,28);
X_41:=MA(CLOSE,29);
X_42:=MA(CLOSE,30);
X_43:=MA(CLOSE,31);
X_44:=MAX(MAX(MAX(MAX(X_17,X_18),X_19),X_20),X_21);
X_45:=MAX(MAX(MAX(MAX(X_22,X_23),X_24),X_25),X_26);
X_46:=MAX(MAX(MAX(MAX(X_27,X_28),X_29),X_30),X_31);
X_47:=MAX(MAX(MAX(MAX(MAX(X_32,X_33),X_34),X_35),X_36),X_37);
X_48:=MAX(MAX(MAX(MAX(MAX(X_38,X_39),X_40),X_41),X_42),X_43);
X_49:=MAX(MAX(MAX(MAX(X_44,X_45),X_46),X_47),X_48);
X_50:=IF(X_49=X_17,5,IF(X_49=X_18,6,IF(X_49=X_19,7,IF(X_49=X_20,8,IF(X_49=X_21,9,IF(X_49=X_22,10,IF(X_49=X_23,11,IF(X_49=X_24,12,IF(X_49=X_25,13,IF(X_49=X_26,14,IF(X_49=X_27,15,IF(X_49=X_28,16,IF(X_49=X_29,17,IF(X_49=X_30,18,IF(X_49=X_31,19,IF(X_49=X_32,20,IF(X_49=X_33,21,IF(X_49=X_34,22,IF(X_49=X_35,23,IF(X_49=X_36,24,IF(X_49=X_37,25,DRAWNULL)))))))))))))))))))));
X_51:=IF(X_49=MA(CLOSE,X_50),X_50,IF(X_49=X_38,26,IF(X_49=X_39,27,IF(X_49=X_40,28,IF(X_49=X_41,29,IF(X_49=X_42,30,IF(X_49=X_43,31,32)))))));
X_52:=IF(BARSCOUNT(CLOSE)>=31,(X_49*3+MA(CLOSE,31))/4,MAX(MA(CLOSE,5),MA(CLOSE,BARSCOUNT(CLOSE))));
X_53:=X_52;{公式网WWW.GPXIAZAI.COM}
X_54:=EMA(CLOSE,8);
X_55:=(REF(OPEN,5)+REF(CLOSE,5))/2;
X_56:=(HIGH+LOW+CLOSE+OPEN)/4;
X_57:=MAX(X_55,MAX(X_56,HHV(HIGH,5)));
X_58:=MIN(X_55,MIN(X_56,LLV(LOW,5)));
X_59:=X_57=X_55;
X_60:=X_59;
X_61:=REF(X_57,BARSLAST(X_60));
X_62:=EMA(CLOSE,5)-EMA(CLOSE,55);
X_63:=EMA(X_62,10);
X_64:=X_62-X_63;
X_65:=CLOSE>X_61 AND X_64>0;
X_66:=EMA(CLOSE,8);
X_67:=EMA(CLOSE,14);
X_68:=EMA(CLOSE,30);
X_69:=EMA(CLOSE,60);
X_70:=REF(HHV((HIGH+CLOSE+LOW+HIGH)/4,7),BARSLAST(CROSS(X_22,X_17)));
X_71:=REF(LLV(MIN(OPEN,CLOSE),10),BARSLAST(CROSS(X_17,X_22)));
X_72:=REF(HHV(MAX(CLOSE,OPEN),7),BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5))));
X_73:=REF(LLV(MIN(CLOSE,OPEN),10),BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10))));
X_74:=IF(CLOSE>500,X_72,X_70);
X_75:=IF(CLOSE>500,X_73,X_71);
X_76:=IF(X_74=CONST(X_74),CONST(X_74),DRAWNULL);
X_77:=EMA(CLOSE,1);
X_78:=EMA(X_77,5);
X_79:=EMA(HHV(X_78,5),1);
X_80:=EMA(HHV(X_79,17),1);
X_81:=EMA(HHV(X_80,17),2);
X_82:=EMA(HHV(X_81,17),3);
X_83:=BARSSINCE(CLOSE>0)>30 AND IF(NAMELIKE(1),0,1) AND IF(NAMELIKE(2),0,1) AND DYNAINFO(17)>0 AND NOT(CODELIKE(3)) AND CLOSE<50;
X_84:=REF(CLOSE,1)*1.01>=X_53 AND REF(CLOSE,1)*1.01>=X_76;
X_85:=CLOSE>=REF(CLOSE,1)*1.01 AND CLOSE>OPEN AND (COUNT(CLOSE>=X_53,3)=3 OR COUNT(CLOSE>=X_76,3)=3);
X_86:=X_66>X_67 AND X_67>X_68 AND X_69>=REF(X_69,1);
X_87:=IF(X_85 AND X_86,0.5,0);
X_88:=SMA(MAX(CLOSE-REF(CLOSE,1),0),14,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),14,1)*100;
X_89:=SMA(MAX(CLOSE-REF(CLOSE,1),0),75,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),75,1)*100;
X_90:=EMA(CLOSE,3);
X_91:=EMA(SLOPE(CLOSE,22)*20+CLOSE,55);
X_92:=MA(X_91,1);
X_93:=X_92*0.985;
X_94:=IF(X_90>X_92,X_92,X_93);
X_95:=EMA((OPEN+HIGH+LOW)/3,4);
X_96:=ATAN((X_95/REF(X_95,1)-1)*100)*180/3.1416;
X_97:=ATAN((X_94/REF(X_94,1)-1)*100)*180/3.1416;
X_98:=100*(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21));
X_99:=100*(HHV(HIGH,42)-CLOSE)/(HHV(HIGH,42)-LLV(LOW,42));
X_100:=VOL>=HHV(VOL,3) AND VOL>MA(VOL,3) AND VOL>MA(VOL,40) AND VOL>MA(VOL,89) AND MA(VOL,3)>=REF(MA(VOL,3),1);
X_101:=CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.01 AND IF(X_54>=X_53,X_54>=X_53,X_53/X_54<1.005) AND CLOSE>=X_76 AND CLOSE>=HHV(CLOSE,10) AND CLOSE>=X_82;
X_102:=X_67>X_68 AND X_67>REF(X_67,1) AND X_68>REF(X_68,1);
X_103:=VOL<MA(VOL,3) AND VOL<MA(VOL,40) AND VOL<MA(VOL,89);
X_104:=COUNT(X_97>=45,5)>=1 OR COUNT(X_96>=45,5)>=1;
X_105:=IF(EXIST(X_100,21) AND X_101 AND X_65 AND X_102 AND EXIST(X_103,21),1.5,0);
股道漫步趋势:X_16 AND FILTER(X_105=1.5 AND EXIST(X_87=0.5,21) AND X_83 AND X_104,21);
X_2:=EMA(EMA(EMA(EMA(CLOSE,3),3),3)+X_1,9);
X_3:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_4:=EMA(X_3,13);
X_5:=EMA(X_4,3);
X_6:=EMA(X_5,3);
X_7:=EMA(X_6,3);
X_8:=EMA(X_7,3);
X_9:=EMA(X_8,3);
X_10:=(20*X_3+19*REF(X_3,1)+18*REF(X_3,2)+17*REF(X_3,3)+16*REF(X_3,4)+15*REF(X_3,5)+14*REF(X_3,6)+13*REF(X_3,7)+12*REF(X_3,8)+11*REF(X_3,9)+10*REF(X_3,10)+9*REF(X_3,11)+8*REF(X_3,12)+7*REF(X_3,13)+6*REF(X_3,14)+5*REF(X_3,15)+4*REF(X_3,16)+3*REF(X_3,17)+2*REF(X_3,18)+REF(X_3,20))/210;
X_11:=EMA(SLOPE(CLOSE,22)*20+CLOSE,60);
X_12:=MA(X_10,20);
X_13:=CLOSE>=X_2 AND COUNT(X_2>=X_11 AND X_11>=X_12,5)=5;
X_14:=OPEN>=MA(OPEN,3);
X_15:=REF(OPEN,1)>=REF(CLOSE,1);
X_16:=X_13 AND X_14 AND X_15;
X_17:=MA(CLOSE,5);
X_18:=MA(CLOSE,6);
X_19:=MA(CLOSE,7);
X_20:=MA(CLOSE,8);
X_21:=MA(CLOSE,9);
X_22:=MA(CLOSE,10);
X_23:=MA(CLOSE,11);
X_24:=MA(CLOSE,12);
X_25:=MA(CLOSE,13);
X_26:=MA(CLOSE,14);
X_27:=MA(CLOSE,15);
X_28:=MA(CLOSE,16);
X_29:=MA(CLOSE,17);
X_30:=MA(CLOSE,18);
X_31:=MA(CLOSE,19);
X_32:=MA(CLOSE,20);
X_33:=MA(CLOSE,21);
X_34:=MA(CLOSE,22);
X_35:=MA(CLOSE,23);
X_36:=MA(CLOSE,24);
X_37:=MA(CLOSE,25);
X_38:=MA(CLOSE,26);
X_39:=MA(CLOSE,27);
X_40:=MA(CLOSE,28);
X_41:=MA(CLOSE,29);
X_42:=MA(CLOSE,30);
X_43:=MA(CLOSE,31);
X_44:=MAX(MAX(MAX(MAX(X_17,X_18),X_19),X_20),X_21);
X_45:=MAX(MAX(MAX(MAX(X_22,X_23),X_24),X_25),X_26);
X_46:=MAX(MAX(MAX(MAX(X_27,X_28),X_29),X_30),X_31);
X_47:=MAX(MAX(MAX(MAX(MAX(X_32,X_33),X_34),X_35),X_36),X_37);
X_48:=MAX(MAX(MAX(MAX(MAX(X_38,X_39),X_40),X_41),X_42),X_43);
X_49:=MAX(MAX(MAX(MAX(X_44,X_45),X_46),X_47),X_48);
X_50:=IF(X_49=X_17,5,IF(X_49=X_18,6,IF(X_49=X_19,7,IF(X_49=X_20,8,IF(X_49=X_21,9,IF(X_49=X_22,10,IF(X_49=X_23,11,IF(X_49=X_24,12,IF(X_49=X_25,13,IF(X_49=X_26,14,IF(X_49=X_27,15,IF(X_49=X_28,16,IF(X_49=X_29,17,IF(X_49=X_30,18,IF(X_49=X_31,19,IF(X_49=X_32,20,IF(X_49=X_33,21,IF(X_49=X_34,22,IF(X_49=X_35,23,IF(X_49=X_36,24,IF(X_49=X_37,25,DRAWNULL)))))))))))))))))))));
X_51:=IF(X_49=MA(CLOSE,X_50),X_50,IF(X_49=X_38,26,IF(X_49=X_39,27,IF(X_49=X_40,28,IF(X_49=X_41,29,IF(X_49=X_42,30,IF(X_49=X_43,31,32)))))));
X_52:=IF(BARSCOUNT(CLOSE)>=31,(X_49*3+MA(CLOSE,31))/4,MAX(MA(CLOSE,5),MA(CLOSE,BARSCOUNT(CLOSE))));
X_53:=X_52;{公式网WWW.GPXIAZAI.COM}
X_54:=EMA(CLOSE,8);
X_55:=(REF(OPEN,5)+REF(CLOSE,5))/2;
X_56:=(HIGH+LOW+CLOSE+OPEN)/4;
X_57:=MAX(X_55,MAX(X_56,HHV(HIGH,5)));
X_58:=MIN(X_55,MIN(X_56,LLV(LOW,5)));
X_59:=X_57=X_55;
X_60:=X_59;
X_61:=REF(X_57,BARSLAST(X_60));
X_62:=EMA(CLOSE,5)-EMA(CLOSE,55);
X_63:=EMA(X_62,10);
X_64:=X_62-X_63;
X_65:=CLOSE>X_61 AND X_64>0;
X_66:=EMA(CLOSE,8);
X_67:=EMA(CLOSE,14);
X_68:=EMA(CLOSE,30);
X_69:=EMA(CLOSE,60);
X_70:=REF(HHV((HIGH+CLOSE+LOW+HIGH)/4,7),BARSLAST(CROSS(X_22,X_17)));
X_71:=REF(LLV(MIN(OPEN,CLOSE),10),BARSLAST(CROSS(X_17,X_22)));
X_72:=REF(HHV(MAX(CLOSE,OPEN),7),BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5))));
X_73:=REF(LLV(MIN(CLOSE,OPEN),10),BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10))));
X_74:=IF(CLOSE>500,X_72,X_70);
X_75:=IF(CLOSE>500,X_73,X_71);
X_76:=IF(X_74=CONST(X_74),CONST(X_74),DRAWNULL);
X_77:=EMA(CLOSE,1);
X_78:=EMA(X_77,5);
X_79:=EMA(HHV(X_78,5),1);
X_80:=EMA(HHV(X_79,17),1);
X_81:=EMA(HHV(X_80,17),2);
X_82:=EMA(HHV(X_81,17),3);
X_83:=BARSSINCE(CLOSE>0)>30 AND IF(NAMELIKE(1),0,1) AND IF(NAMELIKE(2),0,1) AND DYNAINFO(17)>0 AND NOT(CODELIKE(3)) AND CLOSE<50;
X_84:=REF(CLOSE,1)*1.01>=X_53 AND REF(CLOSE,1)*1.01>=X_76;
X_85:=CLOSE>=REF(CLOSE,1)*1.01 AND CLOSE>OPEN AND (COUNT(CLOSE>=X_53,3)=3 OR COUNT(CLOSE>=X_76,3)=3);
X_86:=X_66>X_67 AND X_67>X_68 AND X_69>=REF(X_69,1);
X_87:=IF(X_85 AND X_86,0.5,0);
X_88:=SMA(MAX(CLOSE-REF(CLOSE,1),0),14,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),14,1)*100;
X_89:=SMA(MAX(CLOSE-REF(CLOSE,1),0),75,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),75,1)*100;
X_90:=EMA(CLOSE,3);
X_91:=EMA(SLOPE(CLOSE,22)*20+CLOSE,55);
X_92:=MA(X_91,1);
X_93:=X_92*0.985;
X_94:=IF(X_90>X_92,X_92,X_93);
X_95:=EMA((OPEN+HIGH+LOW)/3,4);
X_96:=ATAN((X_95/REF(X_95,1)-1)*100)*180/3.1416;
X_97:=ATAN((X_94/REF(X_94,1)-1)*100)*180/3.1416;
X_98:=100*(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21));
X_99:=100*(HHV(HIGH,42)-CLOSE)/(HHV(HIGH,42)-LLV(LOW,42));
X_100:=VOL>=HHV(VOL,3) AND VOL>MA(VOL,3) AND VOL>MA(VOL,40) AND VOL>MA(VOL,89) AND MA(VOL,3)>=REF(MA(VOL,3),1);
X_101:=CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.01 AND IF(X_54>=X_53,X_54>=X_53,X_53/X_54<1.005) AND CLOSE>=X_76 AND CLOSE>=HHV(CLOSE,10) AND CLOSE>=X_82;
X_102:=X_67>X_68 AND X_67>REF(X_67,1) AND X_68>REF(X_68,1);
X_103:=VOL<MA(VOL,3) AND VOL<MA(VOL,40) AND VOL<MA(VOL,89);
X_104:=COUNT(X_97>=45,5)>=1 OR COUNT(X_96>=45,5)>=1;
X_105:=IF(EXIST(X_100,21) AND X_101 AND X_65 AND X_102 AND EXIST(X_103,21),1.5,0);
股道漫步趋势:X_16 AND FILTER(X_105=1.5 AND EXIST(X_87=0.5,21) AND X_83 AND X_104,21);
- 上一篇公式:通达信三生有型副图指标 源码 贴图
- 下一篇公式:通达信盘龙蓄势主图指标 源码 贴图