通达信云起龙骧指标公式

时间:2024-03-23 12:19:23    阅读:1315

 DRAWGBK(C>0,RGB(0,150,150),RGB(0,00,100),0,' ',0);X_1:=AMOUNT/vol;X_2:=(OPEN+CLOSE)/2;X_3:=EMA(CLOSE,6);X_4:=MA(X_3,1);X_5:=EMA(CLOSE,18);X_6:=REF(X_4,1);X_7:=REF(X_5,1);X_8:=BARSCOUNT(CLOSE);X_9:=IF(X_8=1,0,(X_4-X_6)/X_6*100);X_10:=IF(X_8=1,0,(X_5-X_7)/X_7*100);X_11:=REF(CLOSE,1);X_12:=IF(X_8=1,0,(CLOSE-X_11)/X_11*100);X_13:=IF(X_8=1,(CLOSE+OPEN)/2,X_6);X_14:=REF(X_4,2);X_15:=(X_4+X_6+X_14)/3;X_16:=(Abs(X_4-X_15)+ABS(X_6-X_15)+ABS(X_14-X_15))/3;X_17:=REF(X_9,1);X_18:=REF(X_9,2);X_19:=IF(X_8<3,0,X_16/X_4*100);X_20:=0;X_21:=IF(X_8<3,0,IF(X_9<0 AND X_17<0 AND X_18<0,0-1,1));X_22:=REF(X_9,1);X_23:=IF(X_8>11 AND X_22<0 AND X_9>0,1,0);X_24:=EMA(CLOSE,12);X_25:=EMA(CLOSE,50);X_26:=X_24-X_25;X_27:=X_26>0;X_28:=BARSLAST(X_23=1);X_29:=REF(X_28,1);X_30:=IF(X_8>11 AND X_22<0 AND X_9>0,X_29+1,X_29);X_31:=IF(X_8>11 AND X_22>0 AND X_9<0,1,0);X_32:=X_13;X_33:=X_13;X_34:=EMA(CLOSE,3);X_35:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);X_36:=crOSS(X_34,X_35);X_37:=CROSS(X_35,X_34);X_38:=COUNT(X_37,BARSLAST(X_36))=0;X_39:=MA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);X_40:=(-100)*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));X_41:=20;X_42:=IF(AMOUNT/CLOSE/(HHV(AMOUNT,X_41)/HHV(CLOSE,X_41))*100>100,100,AMOUNT/CLOSE/(HHV(AMOUNT,X_41)/HHV(CLOSE,X_41))*100);X_43:=X_42=100;X_44:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);X_45:=X_39+100;X_46:=X_40+100;X_47:=X_44+100;X_48:=X_46;X_49:=X_47;X_50:=X_45;X_51:=X_49>X_50 AND X_48>X_50 OR (X_49>X_50 AND X_48<X_50 AND NOT(CROSS(X_35,X_34))) OR X_38;X_52:=100-100*(HHV(HIGH,5*8)-CLOSE)/(HHV(HIGH,5*8)-LLV(LOW,5*8));X_53:=X_52>=80;X_54:=(CLOSE*2+HIGH+LOW)/4;X_55:=EMA(X_54,13)-EMA(X_54,34);X_56:=EMA(X_55,5);X_57:=2*(X_55-X_56)*3.8;X_58:=X_57>=0;X_59:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));X_60:=EMA(CLOSE,12)-EMA(CLOSE,26);X_61:=EMA(X_60,9);X_62:=LLV(LOW,9);X_63:=HHV(HIGH,9);X_64:=EMA((CLOSE-X_62)/(X_63-X_62)*100,3);X_65:=EMA(X_64,3);X_66:=MA(X_65,3);X_67:=REF(CLOSE,1);X_68:=SMA(MAX(CLOSE-X_67,0),12,1)/SMA(ABS(CLOSE-X_67),12,1)*100;X_69:=MA((VOL-REF(VOL,1))/REF(VOL,1),5);X_70:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;X_71:=X_70*(1+X_69);X_72:=X_71;X_73:=CROSS(X_59,50)*6;X_74:=0;X_75:=CROSS(X_68,50)*5;X_76:=IF(X_8>11 AND X_32<OPEN,OPEN,X_13);X_77:=IF(X_8>11 AND X_33>OPEN,OPEN,X_13);X_78:=REF(X_13,1);X_79:=IF(X_9>0.5 AND (X_19>0.215 OR LOW>X_13) AND CLOSE>=OPEN AND (CLOSE>=200 OR (CLOSE<200 AND X_12<11)),1,0);X_80:=IF(PERIOD=4,60,0);X_81:=IF(X_9<0-0.3 AND (X_19>0.2 OR HIGH<X_13) AND (OPEN>=CLOSE OR X_12<0-1),1,0);X_82:=BARSSINCE(X_79);X_83:=BARSSINCE(X_81);X_84:=X_81 OR CONST(0);X_85:=COUNT(X_79,BARSLAST(X_84))=1 AND X_79;X_86:=IF(DATE>1230326,X_80,1);X_87:=COUNT(X_84,BARSLAST(X_79))=1 AND X_84;X_88:=EMA(CLOSE,3);X_89:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);X_90:=CROSS(X_88,X_89);X_91:=BARSLAST(X_87);X_92:=BARSLAST(X_85);X_93:=(SUM(X_87,X_92)=0)*X_92;X_94:=REF(X_76,X_93);X_95:=REF(X_94,1);X_96:=IF(X_85=1,(CLOSE-X_76)/X_76*100,(X_77-X_95)/X_95*100);X_97:=IF(DATE>1230326,X_80,1);X_98:=IF(X_93=0 AND X_85=0 AND X_87=0,0,X_96);X_99:=CROSS(X_60,X_61)*4;X_100:=CROSS(X_65,X_66)*3;X_101:=CROSS(X_72,0)*2;X_102:=X_73>0 AND X_75>0 AND X_100>0 AND X_86 AND X_101>0 AND X_86;X_103:=X_73>0 AND X_75>0 AND X_86 AND X_99>0 AND X_100>0 AND X_101>0;X_104:=IF(X_74=0,X_102,X_103);X_105:=X_85;X_106:=X_87;X_107:=X_93;X_108:=IF(X_105=1,X_94,IF(X_107!=0 OR X_106=1,X_95,0));X_109:=IF(X_106=1,X_77,0);X_110:=IF(X_105=1,1,IF(X_107>0,2,IF(X_106=1,9,0)));X_111:=EMA(CLOSE,6);X_112:=IF(X_74=0,X_104 AND X_97 AND (X_53 AND X_58),X_104 AND (X_51 AND X_53 AND X_58));X_113:=IF(X_74=0,X_104 AND X_86 AND (X_51 AND X_58),X_104 AND (X_51 AND X_53 AND X_58));X_114:=IF(X_74=0,X_104 AND X_86 AND (X_51 AND X_53),X_104 AND (X_51 AND X_53 AND X_58));X_115:=IF(X_74=0 AND X_74=0 AND X_74=0,X_104,X_104 AND (X_51 AND X_53 AND X_58));X_116:=IF(X_74=0 AND X_74=0,X_104 AND X_97 AND X_51,X_104 AND (X_51 AND X_53 AND X_58));X_117:=IF(X_97=1,X_43 AND (X_90 AND X_27),X_80);X_118:=IF(X_74=0 AND X_74=0,X_104 AND X_86 AND X_74,X_104 AND (X_51 AND X_53 AND X_58));X_119:=IF(X_74=0 AND X_74=0,X_104 AND X_86 AND X_74,X_104 AND (X_51 AND X_53 AND X_58));X_120:=(X_112*X_20 AND X_90 OR X_20*X_113 AND X_43 OR X_20*X_114 OR X_115*X_20 AND X_27 OR X_20*X_116*X_20 OR X_118*X_20 OR X_20*X_119)*X_86 OR X_117*X_86;云起龙骧:X_120,COLORMAGENTA;STICKLINE(云起龙骧,0,30,2.6,0),COLORYELLOW;STICKLINE(云起龙骧,30,60,2.6,0),COLORRED;STICKLINE(云起龙骧,60,90,2.6,0),COLORMAGENTA;DRAWICON(云起龙骧,33,24),COLORYELLOW;DRAWICON(云起龙骧,66,25),COLORRED;DRAWICON(云起龙骧,99,26),COLORMAGENTA;

关键词: