度量天下第一成交量(通达信公式 副图 源码 测试图)

 2023-03-15 20:59:12    通达信指标网  

度量天下第一成交量

 
DRAWGBK(CLOSE>OPEN,RGB(8,0,0),RGB(0,0,8),1,2,1);
XA_1:=DATE=MAX(DATE,1160718999);
XA_2:=AMOUNT<=MA(AMOUNT,100)*0.618;
XA_3:=VOL<=MA(VOL,100)*0.618;
XA_4:=BETWEEN(AMOUNT,LLV(AMOUNT,100),LLV(AMOUNT,100)*1.809);
XA_5:=BETWEEN(VOL,LLV(VOL,100),LLV(VOL,100)*1.809);
XA_6:=XA_2 AND XA_3 AND XA_4 AND XA_5;
XA_7:=IF(XA_6,(-AMOUNT)/10000*1.382,0)*NOT(XA_1);
DRAWBAND(XA_7*NOT(XA_1),RGB(255,0,0),0,RGB(255,255,255));
虚拟量:IF(CURRBARSCOUNT=1 AND PERIOD=5,AMOUNT*240/FROMOPEN,DRAWNULL)/10000*NOT(XA_1),NODRAW,COLOR00C0C0;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,虚拟量*NOT(XA_1),0,(-1),(-1)),COLOR00C0C0;
总量:AMOUNT/10000*NOT(XA_1),VOLSTICK,COLORGREEN;
XA_8:=MA(AMOUNT,5);
XA_9:=MA(AMOUNT,40);
XA_10:=MA(AMOUNT,135);
XA_11:=MA(CLOSE,5);
XA_12:=MA(CLOSE,40);
XA_13:=FILTERX(LONGCROSS(XA_8,XA_9,5),BARSCOUNT(CLOSE));
XA_14:=FILTERX(LONGCROSS(XA_8,XA_10,5),BARSCOUNT(CLOSE));
XA_15:=IF(BARSCOUNT(CLOSE)<135,XA_13,XA_14);
XA_16:=BARSLAST(XA_15)>=0 AND COUNT(MAX(XA_8,XA_9)=XA_8,BARSLAST(XA_15))>=BARSLAST(XA_15)*0.618;
XA_17:=BARSLAST(XA_15)>=0 AND COUNT(MAX(XA_8,XA_10)=XA_8,BARSLAST(XA_15))>=BARSLAST(XA_15)*0.618;
XA_18:=IF(BARSCOUNT(CLOSE)<135,XA_16,XA_17);
XA_19:=MAX(XA_11,REF(XA_11,1))=XA_11;
XA_20:=MAX(XA_12,REF(XA_12,1))=XA_12;
XA_21:=MAX(XA_8,REF(XA_8,1))=XA_8;
XA_22:=MAX(XA_9,REF(XA_9,1))=XA_9;
XA_23:=XA_19 AND XA_20 AND XA_21 AND XA_22;
XA_24:=IF(BARSCOUNT(CLOSE)<135,XA_9,MIN(XA_9,XA_10));
XA_25:=BETWEEN(XA_8/XA_24,0.618,3.382) AND LOWRANGE(XA_8);
XA_26:=REF(XA_25,1) AND TOPRANGE(XA_8);
XA_27:=XA_18 AND XA_23 AND XA_26;
XA_28:=CROSS(XA_8,XA_9);
XA_29:=CROSS(XA_8,XA_10);
XA_30:=CROSS(XA_9,XA_10);
XA_31:=XA_28+XA_29+XA_30;
XA_32:=BARSLAST(XA_15)>=0 AND XA_26 AND XA_31>1;
XA_33:=BARSSINCE(XA_18)=0 AND XA_31>1;
XA_34:=LONGCROSS(XA_8,MAX(XA_9,XA_10),5) AND XA_18 AND XA_23;
XA_35:=XA_32 OR XA_33 OR XA_34;
XA_36:=XA_27 OR XA_35;
XA_37:=MA(AMOUNT,5);
XA_38:=MA(AMOUNT,10);
XA_39:=MA(AMOUNT,20);
XA_40:=MA(AMOUNT,40);
XA_41:=MA(AMOUNT,60);
XA_42:=CROSS(XA_37,XA_38);
XA_43:=CROSS(XA_37,XA_39);
XA_44:=CROSS(XA_37,XA_40);
XA_45:=CROSS(XA_37,XA_41);
XA_46:=CROSS(XA_38,XA_39);
XA_47:=CROSS(XA_38,XA_40);
XA_48:=CROSS(XA_38,XA_41);
XA_49:=CROSS(XA_39,XA_40);
XA_50:=CROSS(XA_39,XA_41);
XA_51:=CROSS(XA_40,XA_41);
XA_52:=CROSS(XA_41,XA_37);
XA_53:=CROSS(XA_41,XA_38);
XA_54:=CROSS(XA_41,XA_39);
XA_55:=CROSS(XA_41,XA_40);
XA_56:=CROSS(XA_40,XA_37);
XA_57:=CROSS(XA_40,XA_38);
XA_58:=CROSS(XA_40,XA_39);
XA_59:=CROSS(XA_39,XA_37);
XA_60:=CROSS(XA_39,XA_38);
XA_61:=CROSS(XA_38,XA_37);
XA_62:=XA_61 OR XA_59 OR XA_60;
XA_63:=COUNT(XA_62,ABS(MAX(BARSLAST(XA_42),BARSLAST(XA_43))-BARSLAST(XA_46)))=0;
XA_64:=MAX(XA_37,XA_39)=XA_37 AND MAX(XA_38,XA_39)=XA_38;
XA_65:=BARSLAST(XA_42)>=0 AND BARSLAST(XA_43)>=0 AND XA_46 AND XA_63 AND XA_64;
XA_66:=COUNT(XA_62,ABS(MAX(BARSLAST(XA_42),BARSLAST(XA_46))-BARSLAST(XA_43)))=0;
XA_67:=BARSLAST(XA_42)>=0 AND BARSLAST(XA_46)>=0 AND XA_43 AND XA_64 AND XA_66;
XA_68:=COUNT(XA_62,ABS(MAX(BARSLAST(XA_43),BARSLAST(XA_46))-BARSLAST(XA_42)))=0;
XA_69:=BARSLAST(XA_43)>=0 AND BARSLAST(XA_46)>=0 AND XA_42 AND XA_64 AND XA_68;
XA_70:=XA_65 OR XA_67 OR XA_69;
XA_71:=XA_42 OR XA_43 OR XA_46;
XA_72:=COUNT(XA_71,ABS(MAX(BARSLAST(XA_61),BARSLAST(XA_59))-BARSLAST(XA_60)))=0;
XA_73:=MIN(XA_37,XA_39)=XA_37 AND MIN(XA_38,XA_39)=XA_38;
XA_74:=BARSLAST(XA_61)>=0 AND BARSLAST(XA_59)>=0 AND XA_60 AND XA_72 AND XA_73;
XA_75:=COUNT(XA_71,ABS(MAX(BARSLAST(XA_61),BARSLAST(XA_60))-BARSLAST(XA_59)))=0;
XA_76:=BARSLAST(XA_61)>=0 AND BARSLAST(XA_60)>=0 AND XA_59 AND XA_73 AND XA_75;
XA_77:=COUNT(XA_71,ABS(MAX(BARSLAST(XA_59),BARSLAST(XA_60))-BARSLAST(XA_61)))=0;
XA_78:=BARSLAST(XA_59)>=0 AND BARSLAST(XA_60)>=0 AND XA_61 AND XA_73 AND XA_77;
XA_79:=XA_74 OR XA_76 OR XA_78;
XA_80:=XA_58 OR XA_54 OR XA_55;
XA_81:=COUNT(XA_80,ABS(MAX(BARSLAST(XA_49),BARSLAST(XA_50))-BARSLAST(XA_51)))=0;
XA_82:=MAX(XA_39,XA_40)=XA_39 AND MAX(XA_40,XA_41)=XA_40;
XA_83:=BARSLAST(XA_49)>=0 AND BARSLAST(XA_50)>=0 AND XA_51 AND XA_81 AND XA_82;
XA_84:=COUNT(XA_80,ABS(MAX(BARSLAST(XA_49),BARSLAST(XA_51))-BARSLAST(XA_50)))=0;
XA_85:=BARSLAST(XA_49)>=0 AND BARSLAST(XA_51)>=0 AND XA_50 AND XA_82 AND XA_84;
XA_86:=COUNT(XA_80,ABS(MAX(BARSLAST(XA_50),BARSLAST(XA_51))-BARSLAST(XA_49)))=0;
XA_87:=BARSLAST(XA_50)>=0 AND BARSLAST(XA_51)>=0 AND XA_49 AND XA_82 AND XA_86;
XA_88:=XA_83 OR XA_85 OR XA_87;
XA_89:=XA_49 OR XA_50 OR XA_51;
XA_90:=COUNT(XA_89,ABS(MAX(BARSLAST(XA_58),BARSLAST(XA_54))-BARSLAST(XA_55)))=0;
XA_91:=MIN(XA_39,XA_40)=XA_39 AND MIN(XA_40,XA_41)=XA_40;
XA_92:=BARSLAST(XA_58)>=0 AND BARSLAST(XA_54)>=0 AND XA_55 AND XA_90 AND XA_91;
XA_93:=COUNT(XA_89,ABS(MAX(BARSLAST(XA_58),BARSLAST(XA_55))-BARSLAST(XA_54)))=0;
XA_94:=BARSLAST(XA_58)>=0 AND BARSLAST(XA_55)>=0 AND XA_54 AND XA_91 AND XA_93;
XA_95:=COUNT(XA_89,ABS(MAX(BARSLAST(XA_54),BARSLAST(XA_55))-BARSLAST(XA_58)))=0;
XA_96:=BARSLAST(XA_54)>=0 AND BARSLAST(XA_55)>=0 AND XA_58 AND XA_91 AND XA_95;
XA_97:=XA_92 OR XA_94 OR XA_96;
XA_98:=XA_61 OR XA_52 OR XA_53;
XA_99:=COUNT(XA_98,ABS(MAX(BARSLAST(XA_42),BARSLAST(XA_45))-BARSLAST(XA_48)))=0;
XA_100:=MAX(XA_37,XA_41)=XA_37 AND MAX(XA_38,XA_41)=XA_38;
XA_101:=BARSLAST(XA_42)>=0 AND BARSLAST(XA_45)>=0 AND XA_48 AND XA_99 AND XA_100;
XA_102:=COUNT(XA_98,ABS(MAX(BARSLAST(XA_42),BARSLAST(XA_48))-BARSLAST(XA_45)))=0;
XA_103:=BARSLAST(XA_42)>=0 AND BARSLAST(XA_48)>=0 AND XA_45 AND XA_100 AND XA_102;
XA_104:=COUNT(XA_98,ABS(MAX(BARSLAST(XA_45),BARSLAST(XA_48))-BARSLAST(XA_42)))=0;
XA_105:=BARSLAST(XA_45)>=0 AND BARSLAST(XA_48)>=0 AND XA_42 AND XA_100 AND XA_104;
XA_106:=XA_101 OR XA_103 OR XA_105;
XA_107:=XA_42 OR XA_45 OR XA_48;
XA_108:=COUNT(XA_107,ABS(MAX(BARSLAST(XA_61),BARSLAST(XA_52))-BARSLAST(XA_53)))=0;
XA_109:=MIN(XA_37,XA_41)=XA_37 AND MIN(XA_38,XA_41)=XA_38;
XA_110:=BARSLAST(XA_61)>=0 AND BARSLAST(XA_52)>=0 AND XA_53 AND XA_108 AND XA_109;
XA_111:=COUNT(XA_107,ABS(MAX(BARSLAST(XA_61),BARSLAST(XA_53))-BARSLAST(XA_52)))=0;
XA_112:=BARSLAST(XA_61)>=0 AND BARSLAST(XA_53)>=0 AND XA_52 AND XA_109 AND XA_111;
XA_113:=COUNT(XA_107,ABS(MAX(BARSLAST(XA_52),BARSLAST(XA_53))-BARSLAST(XA_61)))=0;
XA_114:=BARSLAST(XA_52)>=0 AND BARSLAST(XA_53)>=0 AND XA_61 AND XA_109 AND XA_113;
XA_115:=XA_110 OR XA_112 OR XA_114;
XA_116:=XA_70 OR XA_88 OR XA_106;
XA_117:=XA_79 OR XA_97 OR XA_115;
XA_118:=LOWRANGE(AMOUNT)>5;
XA_119:=AMOUNT<=MIN(MIN(XA_37,XA_38),XA_39);
XA_120:=MIN(MIN(MIN(MIN(AMOUNT,REF(AMOUNT,1)),REF(AMOUNT,2)),REF(AMOUNT,3)),REF(AMOUNT,4))=AMOUNT;
XA_121:=REF(AMOUNT,1)/AMOUNT>=1.191;
XA_122:=XA_118 AND XA_119 AND XA_120 AND XA_121;
启动线:XA_8/10000*NOT(XA_1),COLORWHITE,LINETHICK2;
洗盘线:XA_9/10000*NOT(XA_1),COLORYELLOW,LINETHICK2;
异动线:XA_10/10000*NOT(XA_1),COLORBLUE,LINETHICK2;
地量:XA_122*NOT(XA_1),NODRAW,COLORYELLOW;
启动量:XA_36*NOT(XA_1),NODRAW,COLORRED;
STICKLINE(XA_36*NOT(XA_1),0,AMOUNT/10000,(-1),0),COLORRED;
STICKLINE(XA_122*NOT(XA_1),0,AMOUNT/10000,(-1),0),COLORYELLOW;
STICKLINE(XA_116*NOT(XA_1),0,AMOUNT/10000*0.382,3,0),COLORMAGENTA;

STICKLINE(XA_117*NOT(XA_1),0,AMOUNT/10000*0.382,3,0),COLORBLUE;


  •  标签:  

原文链接:https://www.tdxzb.com/?id=1120

本文版权:如无特别标注,本站文章均为原创。

相关文章

服务热线

18020657357

微信客服

微信客服