最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 指标资讯

    正文概述    2024-05-04 03:55:15  

    衡量主力活跃度主力何时拉升股价      相关简介:      通达信主力活跃度指标公式                                    源码概况:通达信主力活跃度指标公式 指标类别:通达信主力活跃度指标公式 授权方式:免费版 指标评级:★★★★★ 指标分类:策略 画线方法:副图/主图通达信主力活跃度指标公式未来函数检测结果:          暂未发现存在未来函数通达信主力活跃度指标公式源码: N:=8; M:=13; P:=60; S:=3; V1:=(C*2+H+L)/4*10; V2:=EMA(V1,13)-EMA(V1,34); V3:=EMA(V2,5); V4:2*(V2-V3)*5.5; 超大主力吃:IF(V4 =0,V4,0),COLOR7F00FF,LINETHICK2; 超大主力吐:IF(V4 =0,V4,0),COLOR66FF00,LINETHICK1; V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8; V6:=EMA(3*V5-2*SMA(V5,18,1),5); V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10; V8:=(INDEXC*2+INDEXH+INDEXL)/4; V9:=EMA(V8,13)-EMA(V8,34); VA:=EMA(V9,3); VB:=(V9-VA)/2; 主力吃货线:8,COLORFF80FF,LINETHICK2,CROSSDOT; DH:=REF(HHV(H,10),2); DC:=REF(HHV(MAX(C,O),10),2); XGDH:CROSS(C,DH)ANDCROSS(超大主力吃,8); XGDC:CROSS(C,DC)ANDCROSS(超大主力吃,8); STICKLINE(XGDHORXGDC,0,8,2,0),COLOR3131FF; 倍量吃货:(XGDHORXGDC)ANDV/REF(V,1) 1.95,COLORYELLOW; STICKLINE(倍量吃货,0,-8,5,0),COLORYELLOW; {庄家出现} RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; J1:=REVERSE(J); AA:=REF(MA(C,1),10) REF(MA(C,60),10); 买点:CROSS(J,J1)ANDAA; STICKLINE(买点,0,30,6,0),COLORBLUE; STICKLINE(买点,30,60,4,0),COLORWHITE; STICKLINE(买点,60,80,2,0),COLORYELLOW; DRAWTEXT(买点,70, 庄家出现 ),COLORRED; {主力进出场} VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1); VAR3:=EMA(VAR2,10); VAR4:=LLV(LOW,33); VAR5:=EMA(IF(LOW =VAR4,VAR3,0),3); 主力进场:IF(VAR5 REF(VAR5,1),VAR5,0),COLORRED,NODRAW; STICKLINE(VAR5 REF(VAR5,1),0,VAR5,3,0),COLORRED; STICKLINE(VAR5 REF(VAR5,1),0,VAR5,3,0),COLOR000055; STICKLINE(VAR5 REF(VAR5,1),0,VAR5,2.6,0),COLOR000077; STICKLINE(VAR5 REF(VAR5,1),0,VAR5,2.1,0),COLOR000099; STICKLINE(VAR5 REF(VAR5,1),0,VAR5,1.5,0),COLOR0000BB; STICKLINE(VAR5 REF(VAR5,1),0,VAR5,0.9,0),COLOR0000DD; STICKLINE(VAR5 REF(VAR5,1),0,VAR5,0.3,0),COLOR0000FF; 洗盘:IF(VAR5 REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW; STICKLINE(VAR5 REF(VAR5,1),0,VAR5,3,0),COLORGREEN; STICKLINE(VAR5 REF(VAR5,1),0,VAR5,3,0),COLOR005500; STICKLINE(VAR5 REF(VAR5,1),0,VAR5,2.6,0),COLOR007700; STICKLINE(VAR5 REF(VAR5,1),0,VAR5,2.1,0),COLOR009900; STICKLINE(VAR5 REF(VAR5,1),0,VAR5,1.5,0),COLOR00BB00; STICKLINE(VAR5 REF(VAR5,1),0,VAR5,0.9,0),COLOR00DD00; STICKLINE(VAR5 REF(VAR5,1),0,VAR5,0.3,0),COLOR00FF00; VAR12:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1); VAR13:=EMA(VAR12,10); VAR14:=HHV(H,33); VAR15:=EMA(IF(H =VAR14,VAR13,0),3); 冲顶:IF(VAR15 REF(VAR15,1),VAR15,0),COLORFF00FF,NODRAW; STICKLINE(VAR15 REF(VAR15,1),0,VAR15,3,0),COLORFF00FF; STICKLINE(VAR15 REF(VAR15,1),0,VAR15,3,0),COLOR550055; STICKLINE(VAR15 REF(VAR15,1),0,VAR15,2.6,0),COLOR770077; STICKLINE(VAR15 REF(VAR15,1),0,VAR15,2.1,0),COLOR990099; STICKLINE(VAR15 REF(VAR15,1),0,VAR15,1.5,0),COLORBB00BB; STICKLINE(VAR15 REF(VAR15,1),0,VAR15,0.9,0),COLORDD00DD; STICKLINE(VAR15 REF(VAR15,1),0,VAR15,0.3,0),COLORFF00FF; 主力出场:IF(VAR15 REF(VAR15,1),VAR15,0),COLORYELLOW,NODRAW; STICKLINE(VAR15 REF(VAR15,1),0,VAR15,3,0),COLORYELLOW; STICKLINE(VAR15 REF(VAR15,1),0,VAR15,3,0),COLOR005555; STICKLINE(VAR15 REF(VAR15,1),0,VAR15,2.6,0),COLOR007777; STICKLINE(VAR15 REF(VAR5,1),0,VAR15,2.1,0),COLOR009999; STICKLINE(VAR15 REF(VAR15,1),0,VAR15,1.5,0),COLOR00BBBB; STICKLINE(VAR15 REF(VAR15,1),0,VAR15,0.9,0),COLOR00DDDD; STICKLINE(VAR15 REF(VAR15,1),0,VAR15,0.3,0),COLOR00FFFF; A1:=REF(CLOSE,2); A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100; 波段介入点:IF(A2 19,19,0)COLORWHITE; {主力潜伏} N1:=8; MTM:=C-REF(C,1); ZLGJ:100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),COLORYELLOW;{N1=9} DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA); 主力潜伏:COUNT(MACD 0,10)=10,COLORCYAN; STICKLINE(主力潜伏,0,MACD*(-0.1),2.8,0),LINETHICK6,,COLORCYAN; DRAWICON(主力潜伏,MACD*(-0.18),28); DRAWICON(主力潜伏,MACD*(-0.1),26); TODAY:= 分时DDX.DDX累积 0;{判断是否有正版数据} TODAY1:= LXDDX.DDX#day =0;{判断是否有雨杨数据} DRAWTEXTABS(680,-12,IFS(TODAY, 正版数据 ,IFS(TODAY1, 引入数据 , 雨杨数据 ))),LINETHICK1,colorwhite; DRAWTEXTABS(752,-12,IFS(N=1, 逐单 , 逐笔 )),LINETHICK1,colorwhite; ZT1:= wd.o12 {ORDERVOL(1,2)}; YT1累积:= DDEDATA@BIGORDERSCALE (1,2)*SUM(VOL,0); YT1:=YT1累积-REF(YT1累积,1); RT1累积:= wd.主单买#day *SUM(VOL,0); RT1:=RT1累积-REF(RT1累积,1); T1:=IF(TODAY,ZT1,IF(TODAY1,RT1,YT1)); T2:= wd.t12 {TRANSACTVOL(1,2)}; ZT3:= wd.o22 {ORDERVOL(2,2)}; YT3累积:= DDEDATA@BIGORDERSCALE (2,2)*SUM(VOL,0); YT3:=YT3累积-REF(YT3累积,1); RT3累积:= wd.主单卖#day *SUM(VOL,0); RT3:=RT3累积-REF(RT3累积,1); T3:=IF(TODAY,ZT3,IF(TODAY1,RT3,YT3)); T4:= wd.t22 {TRANSACTVOL(2,2)}; ZS1:= wd.d12 {ORDERNUM(1,2)}; YS1:= DDEDATA@BIGORDERSCALE (1,2); RS1:= wd.主单买#day S1:=IF(TODAY,ZS1,IF(TODAY1,RS1,YS1)); S2:= wd.l12 {TRANSACTNUM(1,2)}; ZS3:= wd.d22 {ORDERNUM(2,2)}; YS3:= DDEDATA@BIGORDERSCALE (2,2); RS3:= wd.主单卖#day S3:=IF(TODAY,ZS3,IF(TODAY1,RS3,YS3)); S4:= wd.l22 {TRANSACTNUM(2,2)}; M1:=TIME =100000; M2:=TIME =103000ANDTIME 100000; M3:=TIME =110000ANDTIME 103000; M4:=TIME =113000ANDTIME 110000; M5:=TIME =133000ANDTIME 130000; M6:=TIME =140000ANDTIME 133000; M7:=TIME =143000ANDTIME 140000; M8:=TIME =150000ANDTIME 143000; {数据1大买} A1:=IF(M1,S1,0); A2:=IF(M1,S2,0); AA:=SUM(IF(N=1,A1,A2),0); B1:=IF(M2,S1,0); B2:=IF(M2,S2,0); BB:=SUM(IF(N=1,B1,B2),0); C1:=IF(M3,S1,0); C2:=IF(M3,S2,0); CC:=SUM(IF(N=1,C1,C2),0); D1:=IF(M4,S1,0); D2:=IF(M4,S2,0); DD:=SUM(IF(N=1,D1,D2),0); E1:=IF(M5,S1,0); E2:=IF(M5,S2,0); EE:=SUM(IF(N=1,E1,E2),0); F1:=IF(M6,S1,0); F2:=IF(M6,S2,0); FF:=SUM(IF(N=1,F1,F2),0); G1:=IF(M7,S1,0); G2:=IF(M7,S2,0); GG:=SUM(IF(N=1,G1,G2),0); H1:=IF(M8,S1,0); H2:=IF(M8,S2,0); HH:=SUM(IF(N=1,H1,H2),0); I1:=IF(M1,T1,0); I2:=IF(M1,T2,0); II:=SUM(IF(N=1,I1,I2),0); J1:=IF(M2,T1,0); J2:=IF(M2,T2,0); JJ:=SUM(IF(N=1,J1,J2),0); K1:=IF(M3,T1,0); K2:=IF(M3,T2,0); KK:=SUM(IF(N=1,K1,K2),0); L1:=IF(M4,T1,0); L2:=IF(M4,T2,0); LL:=SUM(IF(N=1,L1,L2),0); N1:=IF(M5,T1,0); N2:=IF(M5,T2,0); NN:=SUM(IF(N=1,N1,N2),0); O1:=IF(M6,T1,0); O2:=IF(M6,T2,0); OO:=SUM(IF(N=1,O1,O2),0); P1:=IF(M7,T1,0); P2:=IF(M7,T2,0); PP:=SUM(IF(N=1,P1,P2),0); Q1:=IF(M8,T1,0); Q2:=IF(M8,T2,0); QQ:=SUM(IF(N=1,Q1,Q2),0); {数据2大卖} A3:=IF(M1,S3,0); A4:=IF(M1,S4,0); AA1:=SUM(IF(N=1,A3,A4),0); B3:=IF(M2,S3,0); B4:=IF(M2,S4,0); BB1:=SUM(IF(N=1,B3,B4),0); C3:=IF(M3,S3,0); C4:=IF(M3,S4,0); CC1:=SUM(IF(N=1,C3,C4),0); D3:=IF(M4,S3,0); D4:=IF(M4,S4,0); DD1:=SUM(IF(N=1,D3,D4),0); E3:=IF(M5,S3,0); E4:=IF(M5,S4,0); EE1:=SUM(IF(N=1,E3,E4),0); F3:=IF(M6,S3,0); F4:=IF(M6,S4,0); FF1:=SUM(IF(N=1,F3,F4),0); G3:=IF(M7,S3,0); G4:=IF(M7,S4,0); GG1:=SUM(IF(N=1,G3,G4),0); H3:=IF(M8,S3,0); H4:=IF(M8,S4,0); HH1:=SUM(IF(N=1,H3,H4),0); I3:=IF(M1,T3,0); I4:=IF(M1,T4,0); II1:=SUM(IF(N=1,I3,I4),0); J3:=IF(M2,T3,0); J4:=IF(M2,T4,0); JJ1:=SUM(IF(N=1,J3,J4),0); K3:=IF(M3,T3,0); K4:=IF(M3,T4,0); KK1:=SUM(IF(N=1,K3,K4),0); L3:=IF(M4,T3,0); L4:=IF(M4,T4,0); LL1:=SUM(IF(N=1,L3,L4),0); N3:=IF(M5,T3,0); N4:=IF(M5,T4,0); NN1:=SUM(IF(N=1,N3,N4),0); O3:=IF(M6,T3,0); O4:=IF(M6,T4,0); OO1:=SUM(IF(N=1,O3,O4),0); P3:=IF(M7,T3,0); P4:=IF(M7,T4,0); PP1:=SUM(IF(N=1,P3,P4),0); Q3:=IF(M8,T3,0); Q4:=IF(M8,T4,0); QQ1:=SUM(IF(N=1,Q3,Q4),0); {数据3总买总卖差} MR:=IF(N=1,SUM(T1,0),SUM(T2,0)); MC:=IF(N=1,SUM(T3,0),SUM(T4,0)); MRE:=MR*DYNAINFO(11)*100/10000; MCE:=MC*DYNAINFO(11)*100/10000; 流入资金:MRE,COLOR0000FF,linethick0,PRECIS2; 流出资金:MCE,COLORFFFF00,linethick0,PRECIS2; MRB:=IF(N=1,SUM(S1,0),SUM(S2,0)); MCB:=IF(N=1,SUM(S3,0),SUM(S4,0)); RBG:=MR*100/MRB; CBG:=MC*100/MCB; JS:=MR-MC; JE:=MRE-MCE; 净资金:JE,COLOR00FFFF,linethick0,PRECIS2; JB:=MRB-MCB; JC:=RBG-CBG; RZB:=MR/DYNAINFO(8)*100; CZB:=MC/DYNAINFO(8)*100; MR1:=IF(N=1,T1,T2); MC1:=IF(N=1,T3,T4); ZMX:=(MR1-MC1)/DYNAINFO(8)*100; CS:=IFS(N=1, 单 , 笔 {表格} DRAWRECTABS(0,0,838,48,RGB(1,1,1)),COLOR0000C0; DRAWRECTABS(0,0,696,13,RGB(210,150,0)),COLOR0096D2; DRAWRECTABS(696,0,838,13,RGB(210,100,0)),COLOR0064D2; DRAWRECTABS(0,0,87,48,0),COLOR0000C0; DRAWRECTABS(0,0,174,48,0),COLOR0000C0; DRAWRECTABS(0,0,261,48,0),COLOR0000C0; DRAWRECTABS(0,0,348,48,0),COLOR0000C0; DRAWRECTABS(0,0,435,48,0),COLOR0000C0; DRAWRECTABS(0,0,522,48,0),COLOR0000C0; DRAWRECTABS(0,0,609,48,0),COLOR0000C0; DRAWRECTABS(0,0,696,48,0),COLOR0000C0; DRAWRECTABS(0,0,838,48,0),COLOR0000C0; {显示文字数字} DRAWTEXTABS(15,1, 9:30-10:0010:00-10:3010:30-11:0011:00-11:3013:00-13:3013:30-14:0014:00-14:3014:30-15:00 ),COLORFFFFFF; DRAWTEXTABS(36,13,NUMTOSTRN(AA,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(36,24,NUMTOSTRN(AA1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(36,35,NUMTOSTRN(AA-AA1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(86,13,NUMTOSTRN(II,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(86,24,NUMTOSTRN(II1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(86,35,NUMTOSTRN(II-II1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(123,13,NUMTOSTRN(BB,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(123,24,NUMTOSTRN(BB1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(123,35,NUMTOSTRN(BB-BB1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(173,13,NUMTOSTRN(JJ,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(173,24,NUMTOSTRN(JJ1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(173,35,NUMTOSTRN(JJ-JJ1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(210,13,NUMTOSTRN(CC,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(210,24,NUMTOSTRN(CC1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(210,35,NUMTOSTRN(CC-CC1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(260,13,NUMTOSTRN(KK,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(260,24,NUMTOSTRN(KK1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(260,35,NUMTOSTRN(KK-KK1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(297,13,NUMTOSTRN(DD,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(297,24,NUMTOSTRN(DD1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(297,35,NUMTOSTRN(DD-DD1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(347,13,NUMTOSTRN(LL,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(347,24,NUMTOSTRN(LL1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(347,35,NUMTOSTRN(LL-LL1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(384,13,NUMTOSTRN(EE,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(384,24,NUMTOSTRN(EE1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(384,35,NUMTOSTRN(EE-EE1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(434,13,NUMTOSTRN(NN,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(434,24,NUMTOSTRN(NN1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(434,35,NUMTOSTRN(NN-NN1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(471,13,NUMTOSTRN(FF,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(471,24,NUMTOSTRN(FF1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(471,35,NUMTOSTRN(FF-FF1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(521,13,NUMTOSTRN(OO,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(521,24,NUMTOSTRN(OO1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(521,35,NUMTOSTRN(OO-OO1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(558,13,NUMTOSTRN(GG,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(558,24,NUMTOSTRN(GG1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(558,35,NUMTOSTRN(GG-GG1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(608,13,NUMTOSTRN(PP,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(608,24,NUMTOSTRN(PP1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(608,35,NUMTOSTRN(PP-PP1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(645,13,NUMTOSTRN(HH,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(645,24,NUMTOSTRN(HH1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(645,35,NUMTOSTRN(HH-HH1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(695,13,NUMTOSTRN(QQ,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(695,24,NUMTOSTRN(QQ1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(695,35,NUMTOSTRN(QQ-QQ1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWRECTABS(767,2,767+RZB,12,RGB(255,30,30)),COLORFFFFFF; DRAWRECTABS(767,2,767-CZB,12,RGB(30,30,255)),COLORFFFFFF; DRAWTEXTABS(733,1,NUMTOSTRN(CZB,2)+ % ),ALIGN2,COLOR00FFFF; DRAWTEXTABS(837,1,NUMTOSTRN(RZB,2)+ % ),ALIGN2,COLOR00FFFF; DRAWTEXTABS(740,13,NUMTOSTRN(MR,0)+ 手 ),COLOR4848FF,ALIGN2; DRAWTEXTABS(740,24,NUMTOSTRN(MC,0)+ 手 ),COLOR48FF48,ALIGN2; DRAWTEXTABS(740,35,NUMTOSTRN(JS,0)+ 手 ),COLOREEEEEE,ALIGN2; DRAWTEXTABS(773,13,NUMTOSTRN(MRB,0)+ 笔 ),COLOR4848FF,ALIGN2; DRAWTEXTABS(773,24,NUMTOSTRN(MCB,0)+ 笔 ),COLOR48FF48,ALIGN2; DRAWTEXTABS(773,35,NUMTOSTRN(JB,0)+ 笔 ),COLOREEEEEE,ALIGN2; DRAWTEXTABS(837,13,NUMTOSTRN(RBG,0)+ 股/笔 ),COLOR4848FF,ALIGN2; DRAWTEXTABS(837,24,NUMTOSTRN(CBG,0)+ 股/笔 ),COLOR48FF48,ALIGN2; DRAWTEXTABS(837,35,NUMTOSTRN(JC,0)+ 股/笔 ),COLOREEEEEE,ALIGN2; {超户30分} input:N(1,1,2); TODAY:= 分时DDX.DDX累积 0;{判断是否有正版数据} TODAY1:= LXDDX.DDX#day =0;{判断是否有雨杨数据} DRAWTEXTABS(680,-12,IFS(TODAY, 正版数据 ,IFS(TODAY1, 引入数据 , 雨杨数据 ))),LINETHICK1,colorwhite; DRAWTEXTABS(752,-12,IFS(N=1, 逐单 , 逐笔 )),LINETHICK1,colorwhite; ZT1:= wd.o13 {ORDERVOL(1,3)}; YT1累积:= DDEDATA@BIGORDERSCALE (1,3)*SUM(VOL,0); YT1:=YT1累积-REF(YT1累积,1); RT1累积:= wd.特单买#day *SUM(VOL,0); RT1:=RT1累积-REF(RT1累积,1); T1:=IF(TODAY,ZT1,IF(TODAY1,RT1,YT1)); T2:= wd.t13 {TRANSACTVOL(1,3)}; ZT3:= wd.o23 {ORDERVOL(2,3)}; YT3累积:= DDEDATA@BIGORDERSCALE (2,3)*SUM(VOL,0); YT3:=YT3累积-REF(YT3累积,1); RT3累积:= wd.特单卖#day *SUM(VOL,0); RT3:=RT3累积-REF(RT3累积,1); T3:=IF(TODAY,ZT3,IF(TODAY1,RT3,YT3)); T4:= wd.t23 {TRANSACTVOL(2,3)}; ZS1:= wd.d13 {ORDERNUM(1,3)}; YS1:= DDEDATA@BIGORDERSCALE (1,3); RS1:= wd.特单买#day S1:=IF(TODAY,ZS1,IF(TODAY1,RS1,YS1)); S2:= wd.l13 {TRANSACTNUM(1,3)}; ZS3:= wd.d23 {ORDERNUM(2,3)}; YS3:= DDEDATA@BIGORDERSCALE (2,3); RS3:= wd.特单卖#day S3:=IF(TODAY,ZS3,IF(TODAY1,RS3,YS3)); S4:= wd.l23 {TRANSACTNUM(2,3)}; M1:=TIME =100000; M2:=TIME =103000ANDTIME 100000; M3:=TIME =110000ANDTIME 103000; M4:=TIME =113000ANDTIME 110000; M5:=TIME =133000ANDTIME 130000; M6:=TIME =140000ANDTIME 133000; M7:=TIME =143000ANDTIME 140000; M8:=TIME =150000ANDTIME 143000; {数据1大买} A1:=IF(M1,S1,0); A2:=IF(M1,S2,0); AA:=SUM(IF(N=1,A1,A2),0); B1:=IF(M2,S1,0); B2:=IF(M2,S2,0); BB:=SUM(IF(N=1,B1,B2),0); C1:=IF(M3,S1,0); C2:=IF(M3,S2,0); CC:=SUM(IF(N=1,C1,C2),0); D1:=IF(M4,S1,0); D2:=IF(M4,S2,0); DD:=SUM(IF(N=1,D1,D2),0); E1:=IF(M5,S1,0); E2:=IF(M5,S2,0); EE:=SUM(IF(N=1,E1,E2),0); F1:=IF(M6,S1,0); F2:=IF(M6,S2,0); FF:=SUM(IF(N=1,F1,F2),0); G1:=IF(M7,S1,0); G2:=IF(M7,S2,0); GG:=SUM(IF(N=1,G1,G2),0); H1:=IF(M8,S1,0); H2:=IF(M8,S2,0); HH:=SUM(IF(N=1,H1,H2),0); I1:=IF(M1,T1,0); I2:=IF(M1,T2,0); II:=SUM(IF(N=1,I1,I2),0); J1:=IF(M2,T1,0); J2:=IF(M2,T2,0); JJ:=SUM(IF(N=1,J1,J2),0); K1:=IF(M3,T1,0); K2:=IF(M3,T2,0); KK:=SUM(IF(N=1,K1,K2),0); L1:=IF(M4,T1,0); L2:=IF(M4,T2,0); LL:=SUM(IF(N=1,L1,L2),0); N1:=IF(M5,T1,0); N2:=IF(M5,T2,0); NN:=SUM(IF(N=1,N1,N2),0); O1:=IF(M6,T1,0); O2:=IF(M6,T2,0); OO:=SUM(IF(N=1,O1,O2),0); P1:=IF(M7,T1,0); P2:=IF(M7,T2,0); PP:=SUM(IF(N=1,P1,P2),0); Q1:=IF(M8,T1,0); Q2:=IF(M8,T2,0); QQ:=SUM(IF(N=1,Q1,Q2),0); {数据2大卖} A3:=IF(M1,S3,0); A4:=IF(M1,S4,0); AA1:=SUM(IF(N=1,A3,A4),0); B3:=IF(M2,S3,0); B4:=IF(M2,S4,0); BB1:=SUM(IF(N=1,B3,B4),0); C3:=IF(M3,S3,0); C4:=IF(M3,S4,0); CC1:=SUM(IF(N=1,C3,C4),0); D3:=IF(M4,S3,0); D4:=IF(M4,S4,0); DD1:=SUM(IF(N=1,D3,D4),0); E3:=IF(M5,S3,0); E4:=IF(M5,S4,0); EE1:=SUM(IF(N=1,E3,E4),0); F3:=IF(M6,S3,0); F4:=IF(M6,S4,0); FF1:=SUM(IF(N=1,F3,F4),0); G3:=IF(M7,S3,0); G4:=IF(M7,S4,0); GG1:=SUM(IF(N=1,G3,G4),0); H3:=IF(M8,S3,0); H4:=IF(M8,S4,0); HH1:=SUM(IF(N=1,H3,H4),0); I3:=IF(M1,T3,0); I4:=IF(M1,T4,0); II1:=SUM(IF(N=1,I3,I4),0); J3:=IF(M2,T3,0); J4:=IF(M2,T4,0); JJ1:=SUM(IF(N=1,J3,J4),0); K3:=IF(M3,T3,0); K4:=IF(M3,T4,0); KK1:=SUM(IF(N=1,K3,K4),0); L3:=IF(M4,T3,0); L4:=IF(M4,T4,0); LL1:=SUM(IF(N=1,L3,L4),0); N3:=IF(M5,T3,0); N4:=IF(M5,T4,0); NN1:=SUM(IF(N=1,N3,N4),0); O3:=IF(M6,T3,0); O4:=IF(M6,T4,0); OO1:=SUM(IF(N=1,O3,O4),0); P3:=IF(M7,T3,0); P4:=IF(M7,T4,0); PP1:=SUM(IF(N=1,P3,P4),0); Q3:=IF(M8,T3,0); Q4:=IF(M8,T4,0); QQ1:=SUM(IF(N=1,Q3,Q4),0); {数据3总买总卖差} MR:=IF(N=1,SUM(T1,0),SUM(T2,0)); MC:=IF(N=1,SUM(T3,0),SUM(T4,0)); MRE:=MR*DYNAINFO(11)*100/10000; MCE:=MC*DYNAINFO(11)*100/10000; 流入资金:MRE,COLOR0000FF,linethick0,PRECIS2; 流出资金:MCE,COLORFFFF00,linethick0,PRECIS2; MRB:=IF(N=1,SUM(S1,0),SUM(S2,0)); MCB:=IF(N=1,SUM(S3,0),SUM(S4,0)); RBG:=MR*100/MRB; CBG:=MC*100/MCB; JS:=MR-MC; JE:=MRE-MCE; 净资金:JE,COLOR00FFFF,linethick0,PRECIS2; JB:=MRB-MCB; JC:=RBG-CBG; RZB:=MR/DYNAINFO(8)*100; CZB:=MC/DYNAINFO(8)*100; MR1:=IF(N=1,T1,T2); MC1:=IF(N=1,T3,T4); ZMX:=(MR1-MC1)/DYNAINFO(8)*100; CS:=IFS(N=1, 单 , 笔 {表格} DRAWRECTABS(0,0,838,48,RGB(1,1,1)),COLOR0000C0; DRAWRECTABS(0,0,696,13,RGB(210,150,0)),COLOR0096D2; DRAWRECTABS(696,0,838,13,RGB(210,100,0)),COLOR0064D2; DRAWRECTABS(0,0,87,48,0),COLOR0000C0; DRAWRECTABS(0,0,174,48,0),COLOR0000C0; DRAWRECTABS(0,0,261,48,0),COLOR0000C0; DRAWRECTABS(0,0,348,48,0),COLOR0000C0; DRAWRECTABS(0,0,435,48,0),COLOR0000C0; DRAWRECTABS(0,0,522,48,0),COLOR0000C0; DRAWRECTABS(0,0,609,48,0),COLOR0000C0; DRAWRECTABS(0,0,696,48,0),COLOR0000C0; DRAWRECTABS(0,0,838,48,0),COLOR0000C0; {显示文字数字} DRAWTEXTABS(15,1, 9:30-10:0010:00-10:3010:30-11:0011:00-11:3013:00-13:3013:30-14:0014:00-14:3014:30-15:00 ),COLORFFFFFF; DRAWTEXTABS(36,13,NUMTOSTRN(AA,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(36,24,NUMTOSTRN(AA1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(36,35,NUMTOSTRN(AA-AA1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(86,13,NUMTOSTRN(II,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(86,24,NUMTOSTRN(II1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(86,35,NUMTOSTRN(II-II1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(123,13,NUMTOSTRN(BB,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(123,24,NUMTOSTRN(BB1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(123,35,NUMTOSTRN(BB-BB1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(173,13,NUMTOSTRN(JJ,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(173,24,NUMTOSTRN(JJ1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(173,35,NUMTOSTRN(JJ-JJ1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(210,13,NUMTOSTRN(CC,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(210,24,NUMTOSTRN(CC1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(210,35,NUMTOSTRN(CC-CC1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(260,13,NUMTOSTRN(KK,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(260,24,NUMTOSTRN(KK1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(260,35,NUMTOSTRN(KK-KK1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(297,13,NUMTOSTRN(DD,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(297,24,NUMTOSTRN(DD1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(297,35,NUMTOSTRN(DD-DD1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(347,13,NUMTOSTRN(LL,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(347,24,NUMTOSTRN(LL1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(347,35,NUMTOSTRN(LL-LL1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(384,13,NUMTOSTRN(EE,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(384,24,NUMTOSTRN(EE1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(384,35,NUMTOSTRN(EE-EE1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(434,13,NUMTOSTRN(NN,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(434,24,NUMTOSTRN(NN1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(434,35,NUMTOSTRN(NN-NN1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(471,13,NUMTOSTRN(FF,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(471,24,NUMTOSTRN(FF1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(471,35,NUMTOSTRN(FF-FF1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(521,13,NUMTOSTRN(OO,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(521,24,NUMTOSTRN(OO1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(521,35,NUMTOSTRN(OO-OO1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(558,13,NUMTOSTRN(GG,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(558,24,NUMTOSTRN(GG1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(558,35,NUMTOSTRN(GG-GG1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(608,13,NUMTOSTRN(PP,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(608,24,NUMTOSTRN(PP1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(608,35,NUMTOSTRN(PP-PP1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(645,13,NUMTOSTRN(HH,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(645,24,NUMTOSTRN(HH1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(645,35,NUMTOSTRN(HH-HH1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(695,13,NUMTOSTRN(QQ,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(695,24,NUMTOSTRN(QQ1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(695,35,NUMTOSTRN(QQ-QQ1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWRECTABS(767,2,767+RZB,12,RGB(255,30,30)),COLORFFFFFF; DRAWRECTABS(767,2,767-CZB,12,RGB(30,30,255)),COLORFFFFFF; DRAWTEXTABS(733,1,NUMTOSTRN(CZB,2)+ % ),ALIGN2,COLOR00FFFF; DRAWTEXTABS(837,1,NUMTOSTRN(RZB,2)+ % ),ALIGN2,COLOR00FFFF; DRAWTEXTABS(740,13,NUMTOSTRN(MR,0)+ 手 ),COLOR4848FF,ALIGN2; DRAWTEXTABS(740,24,NUMTOSTRN(MC,0)+ 手 ),COLOR48FF48,ALIGN2; DRAWTEXTABS(740,35,NUMTOSTRN(JS,0)+ 手 ),COLOREEEEEE,ALIGN2; DRAWTEXTABS(773,13,NUMTOSTRN(MRB,0)+ 笔 ),COLOR4848FF,ALIGN2; DRAWTEXTABS(773,24,NUMTOSTRN(MCB,0)+ 笔 ),COLOR48FF48,ALIGN2; DRAWTEXTABS(773,35,NUMTOSTRN(JB,0)+ 笔 ),COLOREEEEEE,ALIGN2; DRAWTEXTABS(837,13,NUMTOSTRN(RBG,0)+ 股/笔 ),COLOR4848FF,ALIGN2; DRAWTEXTABS(837,24,NUMTOSTRN(CBG,0)+ 股/笔 ),COLOR48FF48,ALIGN2; DRAWTEXTABS(837,35,NUMTOSTRN(JC,0)+ 股/笔 ),COLOREEEEEE,ALIGN2; {大户30分} input:N(1,1,2); TODAY:= 分时DDX.DDX累积 0;{判断是否有正版数据} TODAY1:= LXDDX.DDX#day =0;{判断是否有雨杨数据} DRAWTEXTABS(680,-12,IFS(TODAY, 正版数据 ,IFS(TODAY1, 引入数据 , 雨杨数据 ))),LINETHICK1,colorwhite; DRAWTEXTABS(752,-12,IFS(N=1, 逐单 , 逐笔 )),LINETHICK1,colorwhite; ZT1:= wd.o12 - wd.o13 {ORDERVOL(1,2)-ORDERVOL(1,3)}; YT1累积:=( DDEDATA@BIGORDERSCALE (1,2)- DDEDATA@BIGORDERSCALE (1,3))*SUM(VOL,0); YT1:=YT1累积-REF(YT1累积,1); RT1累积:= wd.大单买#day *SUM(VOL,0); RT1:=RT1累积-REF(RT1累积,1); T1:=IF(TODAY,ZT1,IF(TODAY1,RT1,YT1)); T2:= wd.t12 - wd.t13 {TRANSACTVOL(1,2)-TRANSACTVOL(1,3)}; ZT3:= wd.o22 - wd.o23 {ORDERVOL(2,2)-ORDERVOL(2,3)}; YT3累积:=( DDEDATA@BIGORDERSCALE (2,2)- DDEDATA@BIGORDERSCALE (2,3))*SUM(VOL,0); YT3:=YT3累积-REF(YT3累积,1); RT3累积:= wd.大单卖#day *SUM(VOL,0); RT3:=RT3累积-REF(RT3累积,1); T3:=IF(TODAY,ZT3,IF(TODAY1,RT3,YT3)); T4:= wd.t22 - wd.t23 {TRANSACTVOL(2,2)-TRANSACTVOL(2,3)}; ZS1:= wd.d12 - wd.d13 {ORDERNUM(1,2)-ORDERNUM(1,3)}; YS1:= DDEDATA@BIGORDERSCALE (1,2)- DDEDATA@BIGORDERSCALE (1,3); RS1:= wd.大单买#day S1:=IF(TODAY,ZS1,IF(TODAY1,RS1,YS1)); S2:= wd.l12 - wd.l13 {TRANSACTNUM(1,2)-TRANSACTNUM(1,3)}; ZS3:= wd.d22 - wd.d23 {ORDERNUM(2,2)-ORDERNUM(2,3)}; YS3:= DDEDATA@BIGORDERSCALE (2,2)- DDEDATA@BIGORDERSCALE (2,3); RS3:= wd.大单卖#day S3:=IF(TODAY,ZS3,IF(TODAY1,RS3,YS3)); S4:= wd.l22 - wd.l23 {TRANSACTNUM(2,2)-TRANSACTNUM(2,3)}; M1:=TIME =100000; M2:=TIME =103000ANDTIME 100000; M3:=TIME =110000ANDTIME 103000; M4:=TIME =113000ANDTIME 110000; M5:=TIME =133000ANDTIME 130000; M6:=TIME =140000ANDTIME 133000; M7:=TIME =143000ANDTIME 140000; M8:=TIME =150000ANDTIME 143000; {数据1大买} A1:=IF(M1,S1,0); A2:=IF(M1,S2,0); AA:=SUM(IF(N=1,A1,A2),0); B1:=IF(M2,S1,0); B2:=IF(M2,S2,0); BB:=SUM(IF(N=1,B1,B2),0); C1:=IF(M3,S1,0); C2:=IF(M3,S2,0); CC:=SUM(IF(N=1,C1,C2),0); D1:=IF(M4,S1,0); D2:=IF(M4,S2,0); DD:=SUM(IF(N=1,D1,D2),0); E1:=IF(M5,S1,0); E2:=IF(M5,S2,0); EE:=SUM(IF(N=1,E1,E2),0); F1:=IF(M6,S1,0); F2:=IF(M6,S2,0); FF:=SUM(IF(N=1,F1,F2),0); G1:=IF(M7,S1,0); G2:=IF(M7,S2,0); GG:=SUM(IF(N=1,G1,G2),0); H1:=IF(M8,S1,0); H2:=IF(M8,S2,0); HH:=SUM(IF(N=1,H1,H2),0); I1:=IF(M1,T1,0); I2:=IF(M1,T2,0); II:=SUM(IF(N=1,I1,I2),0); J1:=IF(M2,T1,0); J2:=IF(M2,T2,0); JJ:=SUM(IF(N=1,J1,J2),0); K1:=IF(M3,T1,0); K2:=IF(M3,T2,0); KK:=SUM(IF(N=1,K1,K2),0); L1:=IF(M4,T1,0); L2:=IF(M4,T2,0); LL:=SUM(IF(N=1,L1,L2),0); N1:=IF(M5,T1,0); N2:=IF(M5,T2,0); NN:=SUM(IF(N=1,N1,N2),0); O1:=IF(M6,T1,0); O2:=IF(M6,T2,0); OO:=SUM(IF(N=1,O1,O2),0); P1:=IF(M7,T1,0); P2:=IF(M7,T2,0); PP:=SUM(IF(N=1,P1,P2),0); Q1:=IF(M8,T1,0); Q2:=IF(M8,T2,0); QQ:=SUM(IF(N=1,Q1,Q2),0); {数据2大卖} A3:=IF(M1,S3,0); A4:=IF(M1,S4,0); AA1:=SUM(IF(N=1,A3,A4),0); B3:=IF(M2,S3,0); B4:=IF(M2,S4,0); BB1:=SUM(IF(N=1,B3,B4),0); C3:=IF(M3,S3,0); C4:=IF(M3,S4,0); CC1:=SUM(IF(N=1,C3,C4),0); D3:=IF(M4,S3,0); D4:=IF(M4,S4,0); DD1:=SUM(IF(N=1,D3,D4),0); E3:=IF(M5,S3,0); E4:=IF(M5,S4,0); EE1:=SUM(IF(N=1,E3,E4),0); F3:=IF(M6,S3,0); F4:=IF(M6,S4,0); FF1:=SUM(IF(N=1,F3,F4),0); G3:=IF(M7,S3,0); G4:=IF(M7,S4,0); GG1:=SUM(IF(N=1,G3,G4),0); H3:=IF(M8,S3,0); H4:=IF(M8,S4,0); HH1:=SUM(IF(N=1,H3,H4),0); I3:=IF(M1,T3,0); I4:=IF(M1,T4,0); II1:=SUM(IF(N=1,I3,I4),0); J3:=IF(M2,T3,0); J4:=IF(M2,T4,0); JJ1:=SUM(IF(N=1,J3,J4),0); K3:=IF(M3,T3,0); K4:=IF(M3,T4,0); KK1:=SUM(IF(N=1,K3,K4),0); L3:=IF(M4,T3,0); L4:=IF(M4,T4,0); LL1:=SUM(IF(N=1,L3,L4),0); N3:=IF(M5,T3,0); N4:=IF(M5,T4,0); NN1:=SUM(IF(N=1,N3,N4),0); O3:=IF(M6,T3,0); O4:=IF(M6,T4,0); OO1:=SUM(IF(N=1,O3,O4),0); P3:=IF(M7,T3,0); P4:=IF(M7,T4,0); PP1:=SUM(IF(N=1,P3,P4),0); Q3:=IF(M8,T3,0); Q4:=IF(M8,T4,0); QQ1:=SUM(IF(N=1,Q3,Q4),0); {数据3总买总卖差} MR:=IF(N=1,SUM(T1,0),SUM(T2,0)); MC:=IF(N=1,SUM(T3,0),SUM(T4,0)); MRE:=MR*DYNAINFO(11)*100/10000; MCE:=MC*DYNAINFO(11)*100/10000; 流入资金:MRE,COLOR0000FF,linethick0,PRECIS2; 流出资金:MCE,COLORFFFF00,linethick0,PRECIS2; MRB:=IF(N=1,SUM(S1,0),SUM(S2,0)); MCB:=IF(N=1,SUM(S3,0),SUM(S4,0)); RBG:=MR*100/MRB; CBG:=MC*100/MCB; JS:=MR-MC; JE:=MRE-MCE; 净资金:JE,COLOR00FFFF,linethick0,PRECIS2; JB:=MRB-MCB; JC:=RBG-CBG; RZB:=MR/DYNAINFO(8)*100; CZB:=MC/DYNAINFO(8)*100; MR1:=IF(N=1,T1,T2); MC1:=IF(N=1,T3,T4); ZMX:=(MR1-MC1)/DYNAINFO(8)*100; CS:=IFS(N=1, 单 , 笔 {表格} DRAWRECTABS(0,0,838,48,RGB(1,1,1)),COLOR0000C0; DRAWRECTABS(0,0,696,13,RGB(210,150,0)),COLOR0096D2; DRAWRECTABS(696,0,838,13,RGB(210,100,0)),COLOR0064D2; DRAWRECTABS(0,0,87,48,0),COLOR0000C0; DRAWRECTABS(0,0,174,48,0),COLOR0000C0; DRAWRECTABS(0,0,261,48,0),COLOR0000C0; DRAWRECTABS(0,0,348,48,0),COLOR0000C0; DRAWRECTABS(0,0,435,48,0),COLOR0000C0; DRAWRECTABS(0,0,522,48,0),COLOR0000C0; DRAWRECTABS(0,0,609,48,0),COLOR0000C0; DRAWRECTABS(0,0,696,48,0),COLOR0000C0; DRAWRECTABS(0,0,838,48,0),COLOR0000C0; {显示文字数字} DRAWTEXTABS(15,1, 9:30-10:0010:00-10:3010:30-11:0011:00-11:3013:00-13:3013:30-14:0014:00-14:3014:30-15:00 ),COLORFFFFFF; DRAWTEXTABS(36,13,NUMTOSTRN(AA,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(36,24,NUMTOSTRN(AA1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(36,35,NUMTOSTRN(AA-AA1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(86,13,NUMTOSTRN(II,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(86,24,NUMTOSTRN(II1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(86,35,NUMTOSTRN(II-II1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(123,13,NUMTOSTRN(BB,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(123,24,NUMTOSTRN(BB1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(123,35,NUMTOSTRN(BB-BB1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(173,13,NUMTOSTRN(JJ,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(173,24,NUMTOSTRN(JJ1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(173,35,NUMTOSTRN(JJ-JJ1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(210,13,NUMTOSTRN(CC,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(210,24,NUMTOSTRN(CC1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(210,35,NUMTOSTRN(CC-CC1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(260,13,NUMTOSTRN(KK,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(260,24,NUMTOSTRN(KK1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(260,35,NUMTOSTRN(KK-KK1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(297,13,NUMTOSTRN(DD,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(297,24,NUMTOSTRN(DD1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(297,35,NUMTOSTRN(DD-DD1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(347,13,NUMTOSTRN(LL,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(347,24,NUMTOSTRN(LL1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(347,35,NUMTOSTRN(LL-LL1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(384,13,NUMTOSTRN(EE,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(384,24,NUMTOSTRN(EE1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(384,35,NUMTOSTRN(EE-EE1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(434,13,NUMTOSTRN(NN,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(434,24,NUMTOSTRN(NN1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(434,35,NUMTOSTRN(NN-NN1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(471,13,NUMTOSTRN(FF,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(471,24,NUMTOSTRN(FF1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(471,35,NUMTOSTRN(FF-FF1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(521,13,NUMTOSTRN(OO,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(521,24,NUMTOSTRN(OO1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(521,35,NUMTOSTRN(OO-OO1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(558,13,NUMTOSTRN(GG,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(558,24,NUMTOSTRN(GG1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(558,35,NUMTOSTRN(GG-GG1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(608,13,NUMTOSTRN(PP,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(608,24,NUMTOSTRN(PP1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(608,35,NUMTOSTRN(PP-PP1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(645,13,NUMTOSTRN(HH,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(645,24,NUMTOSTRN(HH1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(645,35,NUMTOSTRN(HH-HH1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(695,13,NUMTOSTRN(QQ,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(695,24,NUMTOSTRN(QQ1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(695,35,NUMTOSTRN(QQ-QQ1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWRECTABS(767,2,767+RZB,12,RGB(255,30,30)),COLORFFFFFF; DRAWRECTABS(767,2,767-CZB,12,RGB(30,30,255)),COLORFFFFFF; DRAWTEXTABS(733,1,NUMTOSTRN(CZB,2)+ % ),ALIGN2,COLOR00FFFF; DRAWTEXTABS(837,1,NUMTOSTRN(RZB,2)+ % ),ALIGN2,COLOR00FFFF; DRAWTEXTABS(740,13,NUMTOSTRN(MR,0)+ 手 ),COLOR4848FF,ALIGN2; DRAWTEXTABS(740,24,NUMTOSTRN(MC,0)+ 手 ),COLOR48FF48,ALIGN2; DRAWTEXTABS(740,35,NUMTOSTRN(JS,0)+ 手 ),COLOREEEEEE,ALIGN2; DRAWTEXTABS(773,13,NUMTOSTRN(MRB,0)+ 笔 ),COLOR4848FF,ALIGN2; DRAWTEXTABS(773,24,NUMTOSTRN(MCB,0)+ 笔 ),COLOR48FF48,ALIGN2; DRAWTEXTABS(773,35,NUMTOSTRN(JB,0)+ 笔 ),COLOREEEEEE,ALIGN2; DRAWTEXTABS(837,13,NUMTOSTRN(RBG,0)+ 股/笔 ),COLOR4848FF,ALIGN2; DRAWTEXTABS(837,24,NUMTOSTRN(CBG,0)+ 股/笔 ),COLOR48FF48,ALIGN2; DRAWTEXTABS(837,35,NUMTOSTRN(JC,0)+ 股/笔 ),COLOREEEEEE,ALIGN2; {中户30分} input:N(1,1,2); TODAY:= 分时DDX.DDX累积 0;{判断是否有正版数据} TODAY1:= LXDDX.DDX#day =0;{判断是否有雨杨数据} DRAWTEXTABS(680,-12,IFS(TODAY, 正版数据 ,IFS(TODAY1, 引入数据 , 雨杨数据 ))),LINETHICK1,colorwhite; DRAWTEXTABS(752,-12,IFS(N=1, 逐单 , 逐笔 )),LINETHICK1,colorwhite; ZT1:= wd.o11 - wd.o12 {ORDERVOL(1,1)-ORDERVOL(1,2)}; YT1累积:=( DDEDATA@BIGORDERSCALE (1,1)- DDEDATA@BIGORDERSCALE (1,2))*SUM(VOL,0); YT1:=YT1累积-REF(YT1累积,1); RT1累积:= wd.中单买#day *SUM(VOL,0); RT1:=RT1累积-REF(RT1累积,1); T1:=IF(TODAY,ZT1,IF(TODAY1,RT1,YT1)); T2:= wd.t11 - wd.t12 {TRANSACTVOL(1,1)-TRANSACTVOL(1,2)}; ZT3:= wd.o21 - wd.o22 {ORDERVOL(2,1)-ORDERVOL(2,2)}; YT3累积:=( DDEDATA@BIGORDERSCALE (2,1)- DDEDATA@BIGORDERSCALE (2,2))*SUM(VOL,0); YT3:=YT3累积-REF(YT3累积,1); RT3累积:= wd.中单卖#day *SUM(VOL,0); RT3:=RT3累积-REF(RT3累积,1); T3:=IF(TODAY,ZT3,IF(TODAY1,RT3,YT3)); T4:= wd.t21 - wd.t22 {TRANSACTVOL(2,1)-TRANSACTVOL(2,2)}; ZS1:= wd.d11 - wd.d12 {ORDERNUM(1,1)-ORDERNUM(1,2)}; YS1:= DDEDATA@BIGORDERSCALE (1,1)- DDEDATA@BIGORDERSCALE (1,2); RS1:= wd.中单买#day S1:=IF(TODAY,ZS1,IF(TODAY1,RS1,YS1)); S2:= wd.l11 - wd.l12 {TRANSACTNUM(1,1)-TRANSACTNUM(1,2)}; ZS3:= wd.d21 - wd.d22 {ORDERNUM(2,1)-ORDERNUM(2,2)}; YS3:= DDEDATA@BIGORDERSCALE (2,1)- DDEDATA@BIGORDERSCALE (2,2); RS3:= wd.中单卖#day S3:=IF(TODAY,ZS3,IF(TODAY1,RS3,YS3)); S4:= wd.l21 - wd.l22 {TRANSACTNUM(2,1)-TRANSACTNUM(2,2)}; M1:=TIME =100000; M2:=TIME =103000ANDTIME 100000; M3:=TIME =110000ANDTIME 103000; M4:=TIME =113000ANDTIME 110000; M5:=TIME =133000ANDTIME 130000; M6:=TIME =140000ANDTIME 133000; M7:=TIME =143000ANDTIME 140000; M8:=TIME =150000ANDTIME 143000; {数据1大买} A1:=IF(M1,S1,0); A2:=IF(M1,S2,0); AA:=SUM(IF(N=1,A1,A2),0); B1:=IF(M2,S1,0); B2:=IF(M2,S2,0); BB:=SUM(IF(N=1,B1,B2),0); C1:=IF(M3,S1,0); C2:=IF(M3,S2,0); CC:=SUM(IF(N=1,C1,C2),0); D1:=IF(M4,S1,0); D2:=IF(M4,S2,0); DD:=SUM(IF(N=1,D1,D2),0); E1:=IF(M5,S1,0); E2:=IF(M5,S2,0); EE:=SUM(IF(N=1,E1,E2),0); F1:=IF(M6,S1,0); F2:=IF(M6,S2,0); FF:=SUM(IF(N=1,F1,F2),0); G1:=IF(M7,S1,0); G2:=IF(M7,S2,0); GG:=SUM(IF(N=1,G1,G2),0); H1:=IF(M8,S1,0); H2:=IF(M8,S2,0); HH:=SUM(IF(N=1,H1,H2),0); I1:=IF(M1,T1,0); I2:=IF(M1,T2,0); II:=SUM(IF(N=1,I1,I2),0); J1:=IF(M2,T1,0); J2:=IF(M2,T2,0); JJ:=SUM(IF(N=1,J1,J2),0); K1:=IF(M3,T1,0); K2:=IF(M3,T2,0); KK:=SUM(IF(N=1,K1,K2),0); L1:=IF(M4,T1,0); L2:=IF(M4,T2,0); LL:=SUM(IF(N=1,L1,L2),0); N1:=IF(M5,T1,0); N2:=IF(M5,T2,0); NN:=SUM(IF(N=1,N1,N2),0); O1:=IF(M6,T1,0); O2:=IF(M6,T2,0); OO:=SUM(IF(N=1,O1,O2),0); P1:=IF(M7,T1,0); P2:=IF(M7,T2,0); PP:=SUM(IF(N=1,P1,P2),0); Q1:=IF(M8,T1,0); Q2:=IF(M8,T2,0); QQ:=SUM(IF(N=1,Q1,Q2),0); {数据2大卖} A3:=IF(M1,S3,0); A4:=IF(M1,S4,0); AA1:=SUM(IF(N=1,A3,A4),0); B3:=IF(M2,S3,0); B4:=IF(M2,S4,0); BB1:=SUM(IF(N=1,B3,B4),0); C3:=IF(M3,S3,0); C4:=IF(M3,S4,0); CC1:=SUM(IF(N=1,C3,C4),0); D3:=IF(M4,S3,0); D4:=IF(M4,S4,0); DD1:=SUM(IF(N=1,D3,D4),0); E3:=IF(M5,S3,0); E4:=IF(M5,S4,0); EE1:=SUM(IF(N=1,E3,E4),0); F3:=IF(M6,S3,0); F4:=IF(M6,S4,0); FF1:=SUM(IF(N=1,F3,F4),0); G3:=IF(M7,S3,0); G4:=IF(M7,S4,0); GG1:=SUM(IF(N=1,G3,G4),0); H3:=IF(M8,S3,0); H4:=IF(M8,S4,0); HH1:=SUM(IF(N=1,H3,H4),0); I3:=IF(M1,T3,0); I4:=IF(M1,T4,0); II1:=SUM(IF(N=1,I3,I4),0); J3:=IF(M2,T3,0); J4:=IF(M2,T4,0); JJ1:=SUM(IF(N=1,J3,J4),0); K3:=IF(M3,T3,0); K4:=IF(M3,T4,0); KK1:=SUM(IF(N=1,K3,K4),0); L3:=IF(M4,T3,0); L4:=IF(M4,T4,0); LL1:=SUM(IF(N=1,L3,L4),0); N3:=IF(M5,T3,0); N4:=IF(M5,T4,0); NN1:=SUM(IF(N=1,N3,N4),0); O3:=IF(M6,T3,0); O4:=IF(M6,T4,0); OO1:=SUM(IF(N=1,O3,O4),0); P3:=IF(M7,T3,0); P4:=IF(M7,T4,0); PP1:=SUM(IF(N=1,P3,P4),0); Q3:=IF(M8,T3,0); Q4:=IF(M8,T4,0); QQ1:=SUM(IF(N=1,Q3,Q4),0); {数据3总买总卖差} MR:=IF(N=1,SUM(T1,0),SUM(T2,0)); MC:=IF(N=1,SUM(T3,0),SUM(T4,0)); MRE:=MR*DYNAINFO(11)*100/10000; MCE:=MC*DYNAINFO(11)*100/10000; 流入资金:MRE,COLOR0000FF,linethick0,PRECIS2; 流出资金:MCE,COLORFFFF00,linethick0,PRECIS2; MRB:=IF(N=1,SUM(S1,0),SUM(S2,0)); MCB:=IF(N=1,SUM(S3,0),SUM(S4,0)); RBG:=MR*100/MRB; CBG:=MC*100/MCB; JS:=MR-MC; JE:=MRE-MCE; 净资金:JE,COLOR00FFFF,linethick0,PRECIS2; JB:=MRB-MCB; JC:=RBG-CBG; RZB:=MR/DYNAINFO(8)*100; CZB:=MC/DYNAINFO(8)*100; MR1:=IF(N=1,T1,T2); MC1:=IF(N=1,T3,T4); ZMX:=(MR1-MC1)/DYNAINFO(8)*100; CS:=IFS(N=1, 单 , 笔 {表格} DRAWRECTABS(0,0,838,48,RGB(1,1,1)),COLOR0000C0; DRAWRECTABS(0,0,696,13,RGB(210,150,0)),COLOR0096D2; DRAWRECTABS(696,0,838,13,RGB(210,100,0)),COLOR0064D2; DRAWRECTABS(0,0,87,48,0),COLOR0000C0; DRAWRECTABS(0,0,174,48,0),COLOR0000C0; DRAWRECTABS(0,0,261,48,0),COLOR0000C0; DRAWRECTABS(0,0,348,48,0),COLOR0000C0; DRAWRECTABS(0,0,435,48,0),COLOR0000C0; DRAWRECTABS(0,0,522,48,0),COLOR0000C0; DRAWRECTABS(0,0,609,48,0),COLOR0000C0; DRAWRECTABS(0,0,696,48,0),COLOR0000C0; DRAWRECTABS(0,0,838,48,0),COLOR0000C0; {显示文字数字} DRAWTEXTABS(15,1, 9:30-10:0010:00-10:3010:30-11:0011:00-11:3013:00-13:3013:30-14:0014:00-14:3014:30-15:00 ),COLORFFFFFF; DRAWTEXTABS(36,13,NUMTOSTRN(AA,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(36,24,NUMTOSTRN(AA1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(36,35,NUMTOSTRN(AA-AA1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(86,13,NUMTOSTRN(II,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(86,24,NUMTOSTRN(II1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(86,35,NUMTOSTRN(II-II1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(123,13,NUMTOSTRN(BB,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(123,24,NUMTOSTRN(BB1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(123,35,NUMTOSTRN(BB-BB1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(173,13,NUMTOSTRN(JJ,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(173,24,NUMTOSTRN(JJ1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(173,35,NUMTOSTRN(JJ-JJ1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(210,13,NUMTOSTRN(CC,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(210,24,NUMTOSTRN(CC1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(210,35,NUMTOSTRN(CC-CC1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(260,13,NUMTOSTRN(KK,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(260,24,NUMTOSTRN(KK1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(260,35,NUMTOSTRN(KK-KK1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(297,13,NUMTOSTRN(DD,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(297,24,NUMTOSTRN(DD1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(297,35,NUMTOSTRN(DD-DD1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(347,13,NUMTOSTRN(LL,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(347,24,NUMTOSTRN(LL1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(347,35,NUMTOSTRN(LL-LL1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(384,13,NUMTOSTRN(EE,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(384,24,NUMTOSTRN(EE1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(384,35,NUMTOSTRN(EE-EE1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(434,13,NUMTOSTRN(NN,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(434,24,NUMTOSTRN(NN1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(434,35,NUMTOSTRN(NN-NN1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(471,13,NUMTOSTRN(FF,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(471,24,NUMTOSTRN(FF1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(471,35,NUMTOSTRN(FF-FF1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(521,13,NUMTOSTRN(OO,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(521,24,NUMTOSTRN(OO1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(521,35,NUMTOSTRN(OO-OO1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(558,13,NUMTOSTRN(GG,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(558,24,NUMTOSTRN(GG1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(558,35,NUMTOSTRN(GG-GG1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(608,13,NUMTOSTRN(PP,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(608,24,NUMTOSTRN(PP1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(608,35,NUMTOSTRN(PP-PP1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(645,13,NUMTOSTRN(HH,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(645,24,NUMTOSTRN(HH1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(645,35,NUMTOSTRN(HH-HH1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(695,13,NUMTOSTRN(QQ,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(695,24,NUMTOSTRN(QQ1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(695,35,NUMTOSTRN(QQ-QQ1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWRECTABS(767,2,767+RZB,12,RGB(255,30,30)),COLORFFFFFF; DRAWRECTABS(767,2,767-CZB,12,RGB(30,30,255)),COLORFFFFFF; DRAWTEXTABS(733,1,NUMTOSTRN(CZB,2)+ % ),ALIGN2,COLOR00FFFF; DRAWTEXTABS(837,1,NUMTOSTRN(RZB,2)+ % ),ALIGN2,COLOR00FFFF; DRAWTEXTABS(740,13,NUMTOSTRN(MR,0)+ 手 ),COLOR4848FF,ALIGN2; DRAWTEXTABS(740,24,NUMTOSTRN(MC,0)+ 手 ),COLOR48FF48,ALIGN2; DRAWTEXTABS(740,35,NUMTOSTRN(JS,0)+ 手 ),COLOREEEEEE,ALIGN2; DRAWTEXTABS(773,13,NUMTOSTRN(MRB,0)+ 笔 ),COLOR4848FF,ALIGN2; DRAWTEXTABS(773,24,NUMTOSTRN(MCB,0)+ 笔 ),COLOR48FF48,ALIGN2; DRAWTEXTABS(773,35,NUMTOSTRN(JB,0)+ 笔 ),COLOREEEEEE,ALIGN2; DRAWTEXTABS(837,13,NUMTOSTRN(RBG,0)+ 股/笔 ),COLOR4848FF,ALIGN2; DRAWTEXTABS(837,24,NUMTOSTRN(CBG,0)+ 股/笔 ),COLOR48FF48,ALIGN2; DRAWTEXTABS(837,35,NUMTOSTRN(JC,0)+ 股/笔 ),COLOREEEEEE,ALIGN2; {散户30分} input:N(1,1,2); TODAY:= 分时DDX.DDX累积 0;{判断是否有正版数据} TODAY1:= LXDDX.DDX#day =0;{判断是否有雨杨数据} DRAWTEXTABS(680,-12,IFS(TODAY, 正版数据 ,IFS(TODAY1, 引入数据 , 雨杨数据 ))),LINETHICK1,colorwhite; DRAWTEXTABS(752,-12,IFS(N=1, 逐单 , 逐笔 )),LINETHICK1,colorwhite; ZT1:= wd.o10 - wd.o11 {ORDERVOL(1,0)-ORDERVOL(1,1)}; YT1累积:=( DDEDATA@BIGORDERSCALE (1,0)- DDEDATA@BIGORDERSCALE (1,1))*SUM(VOL,0); YT1:=YT1累积-REF(YT1累积,1); RT1累积:= wd.散单买#day *SUM(VOL,0); RT1:=RT1累积-REF(RT1累积,1); T1:=IF(TODAY,ZT1,IF(TODAY1,RT1,YT1)); T2:= wd.t10 - wd.t11 {TRANSACTVOL(1,0)-TRANSACTVOL(1,1)}; ZT3:= wd.o20 - wd.o21 {ORDERVOL(2,0)-ORDERVOL(2,1)}; YT3累积:=( DDEDATA@BIGORDERSCALE (2,0)- DDEDATA@BIGORDERSCALE (2,1))*SUM(VOL,0); YT3:=YT3累积-REF(YT3累积,1); RT3累积:= wd.散单卖#day *SUM(VOL,0); RT3:=RT3累积-REF(RT3累积,1); T3:=IF(TODAY,ZT3,IF(TODAY1,RT3,YT3)); T4:= wd.t20 - wd.t21 {TRANSACTVOL(2,0)-TRANSACTVOL(2,1)}; ZS1:= wd.d10 - wd.d11 {ORDERNUM(1,0)-ORDERNUM(1,1)}; YS1:= DDEDATA@BIGORDERSCALE (1,0)- DDEDATA@BIGORDERSCALE (1,1); RS1:= wd.散单买#day S1:=IF(TODAY,ZS1,IF(TODAY1,RS1,YS1)); S2:= wd.l10 - wd.l11 {TRANSACTNUM(1,0)-TRANSACTNUM(1,1)}; ZS3:= wd.d20 - wd.d21 {ORDERNUM(2,0)-ORDERNUM(2,1)}; YS3:= DDEDATA@BIGORDERSCALE (2,0)- DDEDATA@BIGORDERSCALE (2,1); RS3:= wd.散单卖#day S3:=IF(TODAY,ZS3,IF(TODAY1,RS3,YS3)); S4:= wd.l20 - wd.l21 {TRANSACTNUM(2,0)-TRANSACTNUM(2,1)}; M1:=TIME =100000; M2:=TIME =103000ANDTIME 100000; M3:=TIME =110000ANDTIME 103000; M4:=TIME =113000ANDTIME 110000; M5:=TIME =133000ANDTIME 130000; M6:=TIME =140000ANDTIME 133000; M7:=TIME =143000ANDTIME 140000; M8:=TIME =150000ANDTIME 143000; {数据1大买} A1:=IF(M1,S1,0); A2:=IF(M1,S2,0); AA:=SUM(IF(N=1,A1,A2),0); B1:=IF(M2,S1,0); B2:=IF(M2,S2,0); BB:=SUM(IF(N=1,B1,B2),0); C1:=IF(M3,S1,0); C2:=IF(M3,S2,0); CC:=SUM(IF(N=1,C1,C2),0); D1:=IF(M4,S1,0); D2:=IF(M4,S2,0); DD:=SUM(IF(N=1,D1,D2),0); E1:=IF(M5,S1,0); E2:=IF(M5,S2,0); EE:=SUM(IF(N=1,E1,E2),0); F1:=IF(M6,S1,0); F2:=IF(M6,S2,0); FF:=SUM(IF(N=1,F1,F2),0); G1:=IF(M7,S1,0); G2:=IF(M7,S2,0); GG:=SUM(IF(N=1,G1,G2),0); H1:=IF(M8,S1,0); H2:=IF(M8,S2,0); HH:=SUM(IF(N=1,H1,H2),0); I1:=IF(M1,T1,0); I2:=IF(M1,T2,0); II:=SUM(IF(N=1,I1,I2),0); J1:=IF(M2,T1,0); J2:=IF(M2,T2,0); JJ:=SUM(IF(N=1,J1,J2),0); K1:=IF(M3,T1,0); K2:=IF(M3,T2,0); KK:=SUM(IF(N=1,K1,K2),0); L1:=IF(M4,T1,0); L2:=IF(M4,T2,0); LL:=SUM(IF(N=1,L1,L2),0); N1:=IF(M5,T1,0); N2:=IF(M5,T2,0); NN:=SUM(IF(N=1,N1,N2),0); O1:=IF(M6,T1,0); O2:=IF(M6,T2,0); OO:=SUM(IF(N=1,O1,O2),0); P1:=IF(M7,T1,0); P2:=IF(M7,T2,0); PP:=SUM(IF(N=1,P1,P2),0); Q1:=IF(M8,T1,0); Q2:=IF(M8,T2,0); QQ:=SUM(IF(N=1,Q1,Q2),0); {数据2大卖} A3:=IF(M1,S3,0); A4:=IF(M1,S4,0); AA1:=SUM(IF(N=1,A3,A4),0); B3:=IF(M2,S3,0); B4:=IF(M2,S4,0); BB1:=SUM(IF(N=1,B3,B4),0); C3:=IF(M3,S3,0); C4:=IF(M3,S4,0); CC1:=SUM(IF(N=1,C3,C4),0); D3:=IF(M4,S3,0); D4:=IF(M4,S4,0); DD1:=SUM(IF(N=1,D3,D4),0); E3:=IF(M5,S3,0); E4:=IF(M5,S4,0); EE1:=SUM(IF(N=1,E3,E4),0); F3:=IF(M6,S3,0); F4:=IF(M6,S4,0); FF1:=SUM(IF(N=1,F3,F4),0); G3:=IF(M7,S3,0); G4:=IF(M7,S4,0); GG1:=SUM(IF(N=1,G3,G4),0); H3:=IF(M8,S3,0); H4:=IF(M8,S4,0); HH1:=SUM(IF(N=1,H3,H4),0); I3:=IF(M1,T3,0); I4:=IF(M1,T4,0); II1:=SUM(IF(N=1,I3,I4),0); J3:=IF(M2,T3,0); J4:=IF(M2,T4,0); JJ1:=SUM(IF(N=1,J3,J4),0); K3:=IF(M3,T3,0); K4:=IF(M3,T4,0); KK1:=SUM(IF(N=1,K3,K4),0); L3:=IF(M4,T3,0); L4:=IF(M4,T4,0); LL1:=SUM(IF(N=1,L3,L4),0); N3:=IF(M5,T3,0); N4:=IF(M5,T4,0); NN1:=SUM(IF(N=1,N3,N4),0); O3:=IF(M6,T3,0); O4:=IF(M6,T4,0); OO1:=SUM(IF(N=1,O3,O4),0); P3:=IF(M7,T3,0); P4:=IF(M7,T4,0); PP1:=SUM(IF(N=1,P3,P4),0); Q3:=IF(M8,T3,0); Q4:=IF(M8,T4,0); QQ1:=SUM(IF(N=1,Q3,Q4),0); {数据3总买总卖差} MR:=IF(N=1,SUM(T1,0),SUM(T2,0)); MC:=IF(N=1,SUM(T3,0),SUM(T4,0)); MRE:=MR*DYNAINFO(11)*100/10000; MCE:=MC*DYNAINFO(11)*100/10000; 流入资金:MRE,COLOR0000FF,linethick0,PRECIS2; 流出资金:MCE,COLORFFFF00,linethick0,PRECIS2; MRB:=IF(N=1,SUM(S1,0),SUM(S2,0)); MCB:=IF(N=1,SUM(S3,0),SUM(S4,0)); RBG:=MR*100/MRB; CBG:=MC*100/MCB; JS:=MR-MC; JE:=MRE-MCE; 净资金:JE,COLOR00FFFF,linethick0,PRECIS2; JB:=MRB-MCB; JC:=RBG-CBG; RZB:=MR/DYNAINFO(8)*100; CZB:=MC/DYNAINFO(8)*100; MR1:=IF(N=1,T1,T2); MC1:=IF(N=1,T3,T4); ZMX:=(MR1-MC1)/DYNAINFO(8)*100; CS:=IFS(N=1, 单 , 笔 {表格} DRAWRECTABS(0,0,838,48,RGB(1,1,1)),COLOR0000C0; DRAWRECTABS(0,0,696,13,RGB(210,150,0)),COLOR0096D2; DRAWRECTABS(696,0,838,13,RGB(210,100,0)),COLOR0064D2; DRAWRECTABS(0,0,87,48,0),COLOR0000C0; DRAWRECTABS(0,0,174,48,0),COLOR0000C0; DRAWRECTABS(0,0,261,48,0),COLOR0000C0; DRAWRECTABS(0,0,348,48,0),COLOR0000C0; DRAWRECTABS(0,0,435,48,0),COLOR0000C0; DRAWRECTABS(0,0,522,48,0),COLOR0000C0; DRAWRECTABS(0,0,609,48,0),COLOR0000C0; DRAWRECTABS(0,0,696,48,0),COLOR0000C0; DRAWRECTABS(0,0,838,48,0),COLOR0000C0; {显示文字数字} DRAWTEXTABS(15,1, 9:30-10:0010:00-10:3010:30-11:0011:00-11:3013:00-13:3013:30-14:0014:00-14:3014:30-15:00 ),COLORFFFFFF; DRAWTEXTABS(36,13,NUMTOSTRN(AA,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(36,24,NUMTOSTRN(AA1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(36,35,NUMTOSTRN(AA-AA1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(86,13,NUMTOSTRN(II,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(86,24,NUMTOSTRN(II1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(86,35,NUMTOSTRN(II-II1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(123,13,NUMTOSTRN(BB,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(123,24,NUMTOSTRN(BB1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(123,35,NUMTOSTRN(BB-BB1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(173,13,NUMTOSTRN(JJ,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(173,24,NUMTOSTRN(JJ1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(173,35,NUMTOSTRN(JJ-JJ1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(210,13,NUMTOSTRN(CC,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(210,24,NUMTOSTRN(CC1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(210,35,NUMTOSTRN(CC-CC1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(260,13,NUMTOSTRN(KK,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(260,24,NUMTOSTRN(KK1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(260,35,NUMTOSTRN(KK-KK1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(297,13,NUMTOSTRN(DD,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(297,24,NUMTOSTRN(DD1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(297,35,NUMTOSTRN(DD-DD1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(347,13,NUMTOSTRN(LL,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(347,24,NUMTOSTRN(LL1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(347,35,NUMTOSTRN(LL-LL1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(384,13,NUMTOSTRN(EE,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(384,24,NUMTOSTRN(EE1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(384,35,NUMTOSTRN(EE-EE1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(434,13,NUMTOSTRN(NN,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(434,24,NUMTOSTRN(NN1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(434,35,NUMTOSTRN(NN-NN1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(471,13,NUMTOSTRN(FF,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(471,24,NUMTOSTRN(FF1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(471,35,NUMTOSTRN(FF-FF1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(521,13,NUMTOSTRN(OO,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(521,24,NUMTOSTRN(OO1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(521,35,NUMTOSTRN(OO-OO1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(558,13,NUMTOSTRN(GG,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(558,24,NUMTOSTRN(GG1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(558,35,NUMTOSTRN(GG-GG1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(608,13,NUMTOSTRN(PP,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(608,24,NUMTOSTRN(PP1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(608,35,NUMTOSTRN(PP-PP1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWTEXTABS(645,13,NUMTOSTRN(HH,0)+CS),COLOR0000FF,ALIGN2; DRAWTEXTABS(645,24,NUMTOSTRN(HH1,0)+CS),COLORFFFF00,ALIGN2; DRAWTEXTABS(645,35,NUMTOSTRN(HH-HH1,0)+CS),COLOR00FFFF,ALIGN2; DRAWTEXTABS(695,13,NUMTOSTRN(QQ,0)+ 手 ),COLOR0000FF,ALIGN2; DRAWTEXTABS(695,24,NUMTOSTRN(QQ1,0)+ 手 ),COLORFFFF00,ALIGN2; DRAWTEXTABS(695,35,NUMTOSTRN(QQ-QQ1,0)+ 手 ),COLOR00FFFF,ALIGN2; DRAWRECTABS(767,2,767+RZB,12,RGB(255,30,30)),COLORFFFFFF; DRAWRECTABS(767,2,767-CZB,12,RGB(30,30,255)),COLORFFFFFF; DRAWTEXTABS(733,1,NUMTOSTRN(CZB,2)+ % ),ALIGN2,COLOR00FFFF; DRAWTEXTABS(837,1,NUMTOSTRN(RZB,2)+ % ),ALIGN2,COLOR00FFFF; DRAWTEXTABS(740,13,NUMTOSTRN(MR,0)+ 手 ),COLOR4848FF,ALIGN2; DRAWTEXTABS(740,24,NUMTOSTRN(MC,0)+ 手 ),COLOR48FF48,ALIGN2; DRAWTEXTABS(740,35,NUMTOSTRN(JS,0)+ 手 ),COLOREEEEEE,ALIGN2; DRAWTEXTABS(773,13,NUMTOSTRN(MRB,0)+ 笔 ),COLOR4848FF,ALIGN2; DRAWTEXTABS(773,24,NUMTOSTRN(MCB,0)+ 笔 ),COLOR48FF48,ALIGN2; DRAWTEXTABS(773,35,NUMTOSTRN(JB,0)+ 笔 ),COLOREEEEEE,ALIGN2; DRAWTEXTABS(837,13,NUMTOSTRN(RBG,0)+ 股/笔 ),COLOR4848FF,ALIGN2; DRAWTEXTABS(837,24,NUMTOSTRN(CBG,0)+ 股/笔 ),COLOR48FF48,ALIGN2; DRAWTEXTABS(837,35,NUMTOSTRN(JC,0)+ 股/笔 ),COLOREEEEEE,ALIGN2;[源码注释]通达信主力活跃度指标公式公式解读 N赋值:8 M赋值:13 P赋值:60 S赋值:3 V1赋值:(收盘价*2+最高价+最低价)/4*10 V2赋值:V1的13日指数移动平均-V1的34日指数移动平均 V3赋值:V2的5日指数移动平均 输出V4:2*(V2-V3)*5.5 输出超大主力吃:如果V4 ,返回?,否则返回? =0,V4,0),COLOR7F00FF,线宽为2 输出超大主力吐:如果V4 ,返回?,否则返回? =0,V4,0),COLOR66FF00,线宽为1 V5赋值:(8日内大盘的最高价的最高值-大盘的收盘价)/(8日内大盘的最高价的最高值-8日内大盘的最低价的最低值)*8 V6赋值:3*V5-2*V5的18日[1日权重]移动平均的5日指数移动平均 V7赋值:(大盘的收盘价-8日内大盘的最低价的最低值)/(8日内大盘的最高价的最高值-8日内大盘的最低价的最低值)*10 V8赋值:(大盘的收盘价*2+大盘的最高价+大盘的最低价)/4 V9赋值:V8的13日指数移动平均-V8的34日指数移动平均 VA赋值:V9的3日指数移动平均 VB赋值:(V9-VA)/2 输出主力吃货线:8,COLORFF80FF,线宽为2,CROSSDOT DH赋值:2日前的10日内最高价的最高值 DC赋值:2日前的10日内收盘价和开盘价的较大值的最高值 输出XGDH:收盘价上穿DHANDCROSS(超大主力吃,8) 输出XGDC:收盘价上穿DCANDCROSS(超大主力吃,8) 当满足条件XGDHORXGDC时,在0和8位置之间画柱状线,宽度为2,0不为0则画空心柱.,COLOR3131FF 输出倍量吃货:(XGDHORXGDC)ANDV/1日前的成交量(手) 1.95,画黄色 当满足条件倍量吃货时,在0和-8位置之间画柱状线,宽度为5,0不为0则画空心柱.,画黄色 RSV赋值:(收盘价-9日内最低价的最低值)/(9日内最高价的最高值-9日内最低价的最低值)*100 K赋值:RSV的3日[1日权重]移动平均 D赋值:K的3日[1日权重]移动平均 J赋值:3*K-2*D J1赋值:J的相反数 AA赋值:10日前的收盘价的1日简单移动平均 10日前的收盘价的60日简单移动平均 输出买点:J上穿J1ANDAA 当满足条件买点时,在0和30位置之间画柱状线,宽度为6,0不为0则画空心柱.,画蓝色 当满足条件买点时,在30和60位置之间画柱状线,宽度为4,0不为0则画空心柱.,画白色 当满足条件买点时,在60和80位置之间画柱状线,宽度为2,0不为0则画空心柱.,画黄色 当满足条件买点时,在70位置书写文字,画红色 VAR1赋值:1日前的(最低价+开盘价+收盘价+最高价)/4 VAR2赋值:最低价-VAR1的绝对值的13日[1日权重]移动平均/最低价-VAR1和0的较大值的10日[1日权重]移动平均 VAR3赋值:VAR2的10日指数移动平均 VAR4赋值:33日内最低价的最低值 VAR5赋值:如果最低价 ,返回?,否则返回?的?日指数移动平均 =VAR4,VAR3,0),3) 输出主力进场:如果VAR5 ,返回?,否则返回? 1日前的VAR5,VAR5,0),画红色,NODRAW 当满足条件VAR5 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR5,0,VAR5,3,0),画红色 当满足条件VAR5 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR5,0,VAR5,3,0),COLOR000055 当满足条件VAR5 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR5,0,VAR5,2.6,0),COLOR000077 当满足条件VAR5 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR5,0,VAR5,2.1,0),COLOR000099 当满足条件VAR5 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR5,0,VAR5,1.5,0),COLOR0000BB 当满足条件VAR5 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR5,0,VAR5,0.9,0),COLOR0000DD 当满足条件VAR5 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR5,0,VAR5,0.3,0),COLOR0000FF 输出洗盘:如果VAR5 ,返回?,否则返回? 1日前的VAR5,VAR5,0),画绿色,NODRAW 当满足条件VAR5 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR5,0,VAR5,3,0),画绿色 当满足条件VAR5 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR5,0,VAR5,3,0),COLOR005500 当满足条件VAR5 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR5,0,VAR5,2.6,0),COLOR007700 当满足条件VAR5 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR5,0,VAR5,2.1,0),COLOR009900 当满足条件VAR5 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR5,0,VAR5,1.5,0),COLOR00BB00 当满足条件VAR5 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR5,0,VAR5,0.9,0),COLOR00DD00 当满足条件VAR5 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR5,0,VAR5,0.3,0),COLOR00FF00 VAR12赋值:VAR1-最高价的绝对值的13日[1日权重]移动平均/VAR1-最高价和0的较大值的10日[1日权重]移动平均 VAR13赋值:VAR12的10日指数移动平均 VAR14赋值:33日内最高价的最高值 VAR15赋值:如果最高价 ,返回?,否则返回?的?日指数移动平均 =VAR14,VAR13,0),3) 输出冲顶:如果VAR15 ,返回?,否则返回? 1日前的VAR15,VAR15,0),COLORFF00FF,NODRAW 当满足条件VAR15 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR15,0,VAR15,3,0),COLORFF00FF 当满足条件VAR15 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR15,0,VAR15,3,0),COLOR550055 当满足条件VAR15 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR15,0,VAR15,2.6,0),COLOR770077 当满足条件VAR15 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR15,0,VAR15,2.1,0),COLOR990099 当满足条件VAR15 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR15,0,VAR15,1.5,0),COLORBB00BB 当满足条件VAR15 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR15,0,VAR15,0.9,0),COLORDD00DD 当满足条件VAR15 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR15,0,VAR15,0.3,0),COLORFF00FF 输出主力出场:如果VAR15 ,返回?,否则返回? 1日前的VAR15,VAR15,0),画黄色,NODRAW 当满足条件VAR15 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR15,0,VAR15,3,0),画黄色 当满足条件VAR15 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR15,0,VAR15,3,0),COLOR005555 当满足条件VAR15 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR15,0,VAR15,2.6,0),COLOR007777 当满足条件VAR15 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR5,0,VAR15,2.1,0),COLOR009999 当满足条件VAR15 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR15,0,VAR15,1.5,0),COLOR00BBBB 当满足条件VAR15 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR15,0,VAR15,0.9,0),COLOR00DDDD 当满足条件VAR15 时,在?和?位置之间画柱状线,宽度为?,?不为0则画空心柱. 1日前的VAR15,0,VAR15,0.3,0),COLOR00FFFF A1赋值:2日前的收盘价 A2赋值:收盘价-A1和0的较大值的7日[1日权重]移动平均/收盘价-A1的绝对值的7日[1日权重]移动平均*100 输出波段介入点:如果A2 ,返回?,否则返回? 19,19,0)画白色 N1赋值:8 MTM赋值:收盘价-1日前的收盘价 输出ZLGJ:100*MTM的N1日指数移动平均的N1日指数移动平均/MTM的绝对值的N1日指数移动平均的N1日指数移动平均,画黄色 DIFF赋值:收盘价的12日指数移动平均-收盘价的26日指数移动平均 DEA赋值:DIFF的9日指数移动平均 MACD赋值:2*(DIFF-DEA) 输出主力潜伏:统计?日中满足MACD 的天数 0,10)=10,画青色 当满足条件主力潜伏时,在0和MACD*(-0.1)位置之间画柱状线,宽度为2.8,0不为0则画空心柱.,线宽为6,,画青色 当满足条件主力潜伏时,在MACD*(-0.18)位置画28号图标 当满足条件主力潜伏时,在MACD*(-0.1)位置画26号图标 TODAY赋值: 分时DDX.DDX累积 不等于0 TODAY1赋值: LXDDX.大单动向[取日线数据] =0 DRAWTEXTABS(680,-12,IFS(TODAY, 正版数据 ,IFS(TODAY1, 引入数据 , 雨杨数据 ))),线宽为1,画白色 DRAWTEXTABS(752,-12,IFS(N=1, 逐单 , 逐笔 )),线宽为1,画白色 ZT1赋值: WD.O12 YT1累积赋值: DDEDATA@BIGORDERSCALE (1,2)*成交量(手)的历史累和 YT1赋值:YT1累积-1日前的YT1累积 RT1累积赋值: WD.主单买[取日线数据] *成交量(手)的历史累和 RT1赋值:RT1累积-1日前的RT1累积 T1赋值:如果TODAY,返回ZT1,否则返回如果TODAY1,返回RT1,否则返回YT1 T2赋值: WD.T12 ZT3赋值: WD.O22 YT3累积赋值: DDEDATA@BIGORDERSCALE (2,2)*成交量(手)的历史累和 YT3赋值:YT3累积-1日前的YT3累积 RT3累积赋值: WD.主单卖[取日线数据] *成交量(手)的历史累和 RT3赋值:RT3累积-1日前的RT3累积 T3赋值:如果TODAY,返回ZT3,否则返回如果TODAY1,返回RT3,否则返回YT3 T4赋值: WD.T22 ZS1赋值: WD.D12 YS1赋值: DDEDATA@BIGORDERSCALE (1,2) RS1赋值: WD.主单买[取日线数据] S1赋值:如果TODAY,返回ZS1,否则返回如果TODAY1,返回RS1,否则返回YS1 S2赋值: WD.L12 ZS3赋值: WD.D22 YS3赋值: DDEDATA@BIGORDERSCALE (2,2) RS3赋值: WD.主单卖[取日线数据] S3赋值:如果TODAY,返回ZS3,否则返回如果TODAY1,返回RS3,否则返回YS3 S4赋值: WD.L22 M1赋值:时间(时分) =100000 M2赋值:时间(时分) =103000ANDTIME 100000 M3赋值:时间(时分) =110000ANDTIME 103000 M4赋值:时间(时分) =113000ANDTIME 110000 M5赋值:时间(时分) =133000ANDTIME 130000 M6赋值:时间(时分) =140000ANDTIME 133000 M7赋值:时间(时分) =143000ANDTIME 140000 M8赋值:时间(时分) =150000ANDTIME 143000 A1赋值:如果M1,返回S1,否则返回0 A2赋值:如果M1,返回S2,否则返回0 AA赋值:如果N=1,返回A1,否则返回A2的历史累和 B1赋值:如果M2,返回S1,否则返回0 B2赋值:如果M2,返回S2,否则返回0 BB赋值:如果N=1,返回B1,否则返回B2的历史累和 C1赋值:如果M3,返回S1,否则返回0 C2赋值:如果M3,返回S2,否则返回0 CC赋值:如果N=1,返回C1,否则返回C2的历史累和 D1赋值:如果M4,返回S1,否则返回0 D2赋值:如果M4,返回S2,否则返回0 DD赋值:如果N=1,返回D1,否则返回D2的历史累和 E1赋值:如果M5,返回S1,否则返回0 E2赋值:如果M5,返回S2,否则返回0 EE赋值:如果N=1,返回E1,否则返回E2的历史累和 F1赋值:如果M6,返回S1,否则返回0 F2赋值:如果M6,返回S2,否则返回0 FF赋值:如果N=1,返回F1,否则返回F2的历史累和 G1赋值:如果M7,返回S1,否则返回0 G2赋值:如果M7,返回S2,否则返回0 GG赋值:如果N=1,返回G1,否则返回G2的历史累和 H1赋值:如果M8,返回S1,否则返回0 H2赋值:如果M8,返回S2,否则返回0 HH赋值:如果N=1,返回H1,否则返回H2的历史累和 I1赋值:如果M1,返回T1,否则返回0 I2赋值:如果M1,返回T2,否则返回0 II赋值:如果N=1,返回I1,否则返回I2的历史累和 J1赋值:如果M2,返回T1,否则返回0 J2赋值:如果M2,返回T2,否则返回0 JJ赋值:如果N=1,返回J1,否则返回J2的历史累和 K1赋值:如果M3,返回T1,否则返回0 K2赋值:如果M3,返回T2,否则返回0 KK赋值:如果N=1,返回K1,否则返回K2的历史累和 L1赋值:如果M4,返回T1,否则返回0 L2赋值:如果M4,返回T2,否则返回0 LL赋值:如果N=1,返回L1,否则返回L2的历史累和 N1赋值:如果M5,返回T1,否则返回0 N2赋值:如果M5,返回T2,否则返回0 NN赋值:如果N=1,返回N1,否则返回N2的历史累和 O1赋值:如果M6,返回T1,否则返回0 O2赋值:如果M6,返回T2,否则返回0 OO赋值:如果N=1,返回O1,否则返回O2的历史累和 P1赋值:如果M7,返回T1,否则返回0 P2赋值:如果M7,返回T2,否则返回0 PP赋值:如果N=1,返回P1,否则返回P2的历史累和 Q1赋值:如果M8,返回T1,否则返回0 Q2赋值:如果M8,返回T2,否则返回0 QQ赋值:如果N=1,返回Q1,否则返回Q2的历史累和 A3赋值:如果M1,返回S3,否则返回0 A4赋值:如果M1,返回S4,否则返回0 AA1赋值:如果N=1,返回A3,否则返回A4的历史累和 B3赋值:如果M2,返回S3,否则返回0 B4赋值:如果M2,返回S4,否则返回0 BB1赋值:如果N=1,返回B3,否则返回B4的历史累和 C3赋值:如果M3,返回S3,否则返回0 C4赋值:如果M3,返回S4,否则返回0 CC1赋值:如果N=1,返回C3,否则返回C4的历史累和 D3赋值:如果M4,返回S3,否则返回0 D4赋值:如果M4,返回S4,否则返回0 DD1赋值:如果N=1,返回D3,否则返回D4的历史累和 E3赋值:如果M5,返回S3,否则返回0 E4赋值:如果M5,返回S4,否则返回0 EE1赋值:如果N=1,返回E3,否则返回E4的历史累和 F3赋值:如果M6,返回S3,否则返回0 F4赋值:如果M6,返回S4,否则返回0 FF1赋值:如果N=1,返回F3,否则返回F4的历史累和 G3赋值:如果M7,返回S3,否则返回0 G4赋值:如果M7,返回S4,否则返回0 GG1赋值:如果N=1,返回G3,否则返回G4的历史累和 H3赋值:如果M8,返回S3,否则返回0 H4赋值:如果M8,返回S4,否则返回0 HH1赋值:如果N=1,返回H3,否则返回H4的历史累和 I3赋值:如果M1,返回T3,否则返回0 I4赋值:如果M1,返回T4,否则返回0 II1赋值:如果N=1,返回I3,否则返回I4的历史累和 J3赋值:如果M2,返回T3,否则返回0 J4赋值:如果M2,返回T4,否则返回0 JJ1赋值:如果N=1,返回J3,否则返回J4的历史累和 K3赋值:如果M3,返回T3,否则返回0 K4赋值:如果M3,返回T4,否则返回0 KK1赋值:如果N=1,返回K3,否则返回K4的历史累和 L3赋值:如果M4,返回T3,否则返回0 L4赋值:如果M4,返回T4,否则返回0 LL1赋值:如果N=1,返回L3,否则返回L4的历史累和 N3赋值:如果M5,返回T3,否则返回0 N4赋值:如果M5,返回T4,否则返回0 NN1赋值:如果N=1,返回N3,否则返回N4的历史累和 O3赋值:如果M6,返回T3,否则返回0 O4赋值:如果M6,返回T4,否则返回0 OO1赋值:如果N=1,返回O3,否则返回O4的历史累和 P3赋值:如果M7,返回T3,否则返回0 P4赋值:如果M7,返回T4,否则返回0 PP1赋值:如果N=1,返回P3,否则返回P4的历史累和 Q3赋值:如果M8,返回T3,否则返回0 Q4赋值:如果M8,返回T4,否则返回0 QQ1赋值:如果N=1,返回Q3,否则返回Q4的历史累和 MR赋值:如果N=1,返回T1的历史累和,否则返回T2的历史累和 MC赋值:如果N=1,返回T3的历史累和,否则返回T4的历史累和 MRE赋值:MR*均价*100/10000 MCE赋值:MC*均价*100/10000 输出流入资金:MRE,COLOR0000FF,线宽为0,PRECIS2 输出流出资金:MCE,COLORFFFF00,线宽为0,PRECIS2 MRB赋值:如果N=1,返回S1的历史累和,否则返回S2的历史累和 MCB赋值:如果N=1,返回S3的历史累和,否则返回S4的历史累和 RBG赋值:MR*100/MRB CBG赋值:MC*100/MCB JS赋值:MR-MC JE赋值:MRE-MCE 输出净资金:JE,COLOR00FFFF,线宽为0,PRECIS2 JB赋值:MRB-MCB JC赋值:RBG-CBG RZB赋值:MR/总量*100 CZB赋值:MC/总量*100 MR1赋值:如果N=1,返回T1,否则返回T2 MC1赋值:如果N=1,返回T3,否则返回T4 ZMX赋值:(MR1-MC1)/总量*100 CS赋值:IFS(N=1, 单 , 笔 ) DRAWRECTABS(0,0,838,48,自定色),COLOR0000C0 DRAWRECTABS(0,0,696,13,自定色),COLOR0096D2 DRAWRECTABS(696,0,838,13,自定色),COLOR0064D2 DRAWRECTABS(0,0,87,48,0),COLOR0000C0 DRAWRECTABS(0,0,174,48,0),COLOR0000C0 DRAWRECTABS(0,0,261,48,0),COLOR0000C0 DRAWRECTABS(0,0,348,48,0),COLOR0000C0 DRAWRECTABS(0,0,435,48,0),COLOR0000C0 DRAWRECTABS(0,0,522,48,0),COLOR0000C0 DRAWRECTABS(0,0,609,48,0),COLOR0000C0 DRAWRECTABS(0,0,696,48,0),COLOR0000C0 DRAWRECTABS(0,0,838,48,0),COLOR0000C0 输出输出输出输出输出输出输出DRAWTEXTABS(15,1, 9[输出名错误]:30-10[输出名错误]:0010[输出名错误]:00-10[输出名错误]:3010[输出名错误]:30-11[输出名错误]:0011[输出名错误]:00-11[输出名错误]:3013[输出名错误]:00-13[输出名错误]:3013[输出名错误]:30-14[输出名错误]:0014[输出名错误]:00-14[输出名错误]:3014[输出名错误]:30-15[输出名错误]:00 ),COLORFFFFFF DRAWTEXTABS(36,13,NUMTOSTRN(AA,0)+CS),COLOR0000FF,ALIGN2 DRAWTEXTABS(36,24,NUMTOSTRN(AA1,0)+CS),COLORFFFF00,ALIGN2 DRAWTEXTABS(36,35,NUMTOSTRN(AA-AA1,0)+CS),COLOR00FFFF,ALIGN2 DRAWTEXTABS(86,13,NUMTOSTRN(II,0)+ 手 ),COLOR0000FF,ALIGN2 DRAWTEXTABS(86,24,NUMTOSTRN(II1,0)+ 手 ),COLORFFFF00,ALIGN2 DRAWTEXTABS(86,35,NUMTOSTRN(II-II1,0)+ 手 ),COLOR00FFFF,ALIGN2 DRAWTEXTABS(123,13,NUMTOSTRN(布林极限,0)+CS),COLOR0000FF,ALIGN2 DRAWTEXTABS(123,24,NUMTOSTRN(BB1,0)+CS),COLORFFFF00,ALIGN2 DRAWTEXTABS(123,35,NUMTOSTRN(布林极限-BB1,0)+CS),COLOR00FFFF,ALIGN2 DRAWTEXTABS(173,13,NUMTOSTRN(JJ,0)+ 手 ),COLOR0000FF,ALIGN2 DRAWTEXTABS(173,24,NUMTOSTRN(JJ1,0)+ 手 ),COLORFFFF00,ALIGN2 DRAWTEXTABS(173,35,NUMTOSTRN(JJ-JJ1,0)+ 手 ),COLOR00FFFF,ALIGN2 DRAWTEXTABS(210,13,NUMTOSTRN(CC,0)+CS),COLOR0000FF,ALIGN2 DRAWTEXTABS(210,24,NUMTOSTRN(CC1,0)+CS),COLORFFFF00,ALIGN2 DRAWTEXTABS(210,35,NUMTOSTRN(CC-CC1,0)+CS),COLOR00FFFF,ALIGN2 DRAWTEXTABS(260,13,NUMTOSTRN(KK,0)+ 手 ),COLOR0000FF,ALIGN2 DRAWTEXTABS(260,24,NUMTOSTRN(KK1,0)+ 手 ),COLORFFFF00,ALIGN2 DRAWTEXTABS(260,35,NUMTOSTRN(KK-KK1,0)+ 手 ),COLOR00FFFF,ALIGN2 DRAWTEXTABS(297,13,NUMTOSTRN(DD,0)+CS),COLOR0000FF,ALIGN2 DRAWTEXTABS(297,24,NUMTOSTRN(DD1,0)+CS),COLORFFFF00,ALIGN2 DRAWTEXTABS(297,35,NUMTOSTRN(DD-DD1,0)+CS),COLOR00FFFF,ALIGN2 DRAWTEXTABS(347,13,NUMTOSTRN(LL,0)+ 手 ),COLOR0000FF,ALIGN2 DRAWTEXTABS(347,24,NUMTOSTRN(LL1,0)+ 手 ),COLORFFFF00,ALIGN2 DRAWTEXTABS(347,35,NUMTOSTRN(LL-LL1,0)+ 手 ),COLOR00FFFF,ALIGN2 DRAWTEXTABS(384,13,NUMTOSTRN(EE,0)+CS),COLOR0000FF,ALIGN2 DRAWTEXTABS(384,24,NUMTOSTRN(EE1,0)+CS),COLORFFFF00,ALIGN2 DRAWTEXTABS(384,35,NUMTOSTRN(EE-EE1,0)+CS),COLOR00FFFF,ALIGN2 DRAWTEXTABS(434,13,NUMTOSTRN(NN,0)+ 手 ),COLOR0000FF,ALIGN2 DRAWTEXTABS(434,24,NUMTOSTRN(NN1,0)+ 手 ),COLORFFFF00,ALIGN2 DRAWTEXTABS(434,35,NUMTOSTRN(NN-NN1,0)+ 手 ),COLOR00FFFF,ALIGN2 DRAWTEXTABS(471,13,NUMTOSTRN(FF,0)+CS),COLOR0000FF,ALIGN2 DRAWTEXTABS(471,24,NUMTOSTRN(FF1,0)+CS),COLORFFFF00,ALIGN2 DRAWTEXTABS(471,35,NUMTOSTRN(FF-FF1,0)+CS),COLOR00FFFF,ALIGN2 DRAWTEXTABS(521,13,NUMTOSTRN(OO,0)+ 手 ),COLOR0000FF,ALIGN2 DRAWTEXTABS(521,24,NUMTOSTRN(OO1,0)+ 手 ),COLORFFFF00,ALIGN2 DRAWTEXTABS(521,35,NUMTOSTRN(OO-OO1,0)+ 手 ),COLOR00FFFF,ALIGN2 DRAWTEXTABS(558,13,NUMTOSTRN(GG,0)+CS),COLOR0000FF,ALIGN2 DRAWTEXTABS(558,24,NUMTOSTRN(GG1,0)+CS),COLORFFFF00,ALIGN2 DRAWTEXTABS(558,35,NUMTOSTRN(GG-GG1,0)+CS),COLOR00FFFF,ALIGN2 DRAWTEXTABS(608,13,NUMTOSTRN(PP,0)+ 手 ),COLOR0000FF,ALIGN2 DRAWTEXTABS(608,24,NUMTOSTRN(PP1,0)+ 手 ),COLORFFFF00,ALIGN2 DRAWTEXTABS(608,35,NUMTOSTRN(PP-PP1,0)+ 手 ),COLOR00FFFF,ALIGN2 DRAWTEXTABS(645,13,NUMTOSTRN(HH,0)+CS),COLOR0000FF,ALIGN2 DRAWTEXTABS(645,24,NUMTOSTRN(HH1,0)+CS),COLORFFFF00,ALIGN2 DRAWTEXTABS(645,35,NUMTOSTRN(HH-HH1,0)+CS),COLOR00FFFF,ALIGN2 DRAWTEXTABS(695,13,NUMTOSTRN(QQ,0)+ 手 ),COLOR0000FF,ALIGN2 DRAWTEXTABS(695,24,NUMTOSTRN(QQ1,0)+ 手 ),COLORFFFF00,ALIGN2 DRAWTEXTABS(695,35,NUMTOSTRN(QQ-QQ1,0)+ 手 ),COLOR00FFFF,ALIGN2 DRAWRECTABS(767,2,767+RZB,12,自定色),COLORFFFFFF DRAWRECTABS(767,2,767-CZB,12,自定色),COLORFFFFFF DRAWTEXTABS(733,1,NUMTOSTRN(CZB,2)+ % ),ALIGN2,COLOR00FFFF DRAWTEXTABS(837,1,NUMTOSTRN(RZB,2)+ % ),ALIGN2,COLOR00FFFF DRAWTEXTABS(740,13,NUMTOSTRN(MR,0)+ 手 ),COLOR4848FF,ALIGN2 DRAWTEXTABS(740,24,NUMTOSTRN(MC,0)+ 手 ),COLOR48FF48,ALIGN2 DRAWTEXTABS(740,35,NUMTOSTRN(JS,0)+ 手 ),COLOREEEEEE,ALIGN2 DRAWTEXTABS(773,13,NUMTOSTRN(MRB,0)+ 笔 ),COLOR4848FF,ALIGN2 DRAWTEXTABS(773,24,NUMTOSTRN(MCB,0)+ 笔 ),COLOR48FF48,ALIGN2 DRAWTEXTABS(773,35,NUMTOSTRN(JB,0)+ 笔 ),COLOREEEEEE,ALIGN2 DRAWTEXTABS(837,13,NUMTOSTRN(RBG,0)+ 股/笔 ),COLOR4848FF,ALIGN2 DRAWTEXTABS(837,24,NUMTOSTRN(CBG,0)+ 股/笔 ),COLOR48FF48,ALIGN2 DRAWTEXTABS(837,35,NUMTOSTRN(JC,0)+ 股/笔 ),COLOREEEEEE,ALIGN2 输出INPUT:N(1,1,2) TODAY赋值: 分时DDX.DDX累积 不等于0 TODAY1赋值: LXDDX.大单动向[取日线数据] =0 DRAWTEXTABS(680,-12,IFS(TODAY, 正版数据 ,IFS(TODAY1, 引入数据 , 雨杨数据 ))),线宽为1,画白色 DRAWTEXTABS(752,-12,IFS(N=1, 逐单 , 逐笔 )),线宽为1,画白色 ZT1赋值: WD.O13 YT1累积赋值: DDEDATA@BIGORDERSCALE (1,3)*成交量(手)的历史累和 YT1赋值:YT1累积-1日前的YT1累积 RT1累积赋值: WD.特单买[取日线数据] *成交量(手)的历史累和 RT1赋值:RT1累积-1日前的RT1累积 T1赋值:如果TODAY,返回ZT1,否则返回如果TODAY1,返回RT1,否则返回YT1 T2赋值: WD.T13 ZT3赋值: WD.O23 YT3累积赋值: DDEDATA@BIGORDERSCALE (2,3)*成交量(手)的历史累和 YT3赋值:YT3累积-1日前的YT3累积 RT3累积赋值: WD.特单卖[取日线数据] *成交量(手)的历史累和 RT3赋值:RT3累积-1日前的RT3累积 T3赋值:如果TODAY,返回ZT3,否则返回如果TODAY1,返回RT3,否则返回YT3 T4赋值: WD.T23 ZS1赋值: WD.D13 YS1赋值: DDEDATA@BIGORDERSCALE (1,3) RS1赋值: WD.特单买[取日线数据] S1赋值:如果TODAY,返回ZS1,否则返回如果TODAY1,返回RS1,否则返回YS1 S2赋值: WD.L13 ZS3赋值: WD.D23 YS3赋值: DDEDATA@BIGORDERSCALE (2,3) RS3赋值: WD.特单卖[取日线数据] S3赋值:如果TODAY,返回ZS3,否则返回如果TODAY1,返回RS3,否则返回YS3 S4赋值: WD.L23 M1赋值:时间(时分) =100000 M2赋值:时间(时分) =103000ANDTIME 100000 M3赋值:时间(时分) =110000ANDTIME 103000 M4赋值:时间(时分) =113000ANDTIME 110000 M5赋值:时间(时分) =133000ANDTIME 130000 M6赋值:时间(时分) =140000ANDTIME 133000 M7赋值:时间(时分) =143000ANDTIME 140000 M8赋值:时间(时分) =150000ANDTIME 143000 A1赋值:如果M1,返回S1,否则返回0 A2赋值:如果M1,返回S2,否则返回0 AA赋值:如果N=1,返回A1,否则返回A2的历史累和 B1赋值:如果M2,返回S1,否则返回0 B2赋值:如果M2,返回S2,否则返回0 BB赋值:如果N=1,返回B1,否则返回B2的历史累和 C1赋值:如果M3,返回S1,否则返回0 C2赋值:如果M3,返回S2,否则返回0 CC赋值:如果N=1,返回C1,否则返回C2的历史累和 D1赋值:如果M4,返回S1,否则返回0 D2赋值:如果M4,返回S2,否则返回0 DD赋值:如果N=1,返回D1,否则返回D2的历史累和 E1赋值:如果M5,返回S1,否则返回0 E2赋值:如果M5,返回S2,否则返回0 EE赋值:如果N=1,返回E1,否则返回E2的历史累和 F1赋值:如果M6,返回S1,否则返回0 F2赋值:如果M6,返回S2,否则返回0 FF赋值:如果N=1,返回F1,否则返回F2的历史累和 G1赋值:如果M7,返回S1,否则返回0 G2赋值:如果M7,返回S2,否则返回0 GG赋值:如果N=1,返回G1,否则返回G2的历史累和 H1赋值:如果M8,返回S1,否则返回0 H2赋值:如果M8,返回S2,否则返回0 HH赋值:如果N=1,返回H1,否则返回H2的历史累和 I1赋值:如果M1,返回T1,否则返回0 I2赋值:如果M1,返回T2,否则返回0 II赋值:如果N=1,返回I1,否则返回I2的历史累和 J1赋值:如果M2,返回T1,否则返回0 J2赋值:如果M2,返回T2,否则返回0 JJ赋值:如果N=1,返回J1,否则返回J2的历史累和 K1赋值:如果M3,返回T1,否则返回0 K2赋值:如果M3,返回T2,否则返回0 KK赋值:如果N=1,返回K1,否则返回K2的历史累和 L1赋值:如果M4,返回T1,否则返回0 L2赋值:如果M4,返回T2,否则返回0 LL赋值:如果N=1,返回L1,否则返回L2的历史累和 N1赋值:如果M5,返回T1,否则返回0 N2赋值:如果M5,返回T2,否则返回0 NN赋值:如果N=1,返回N1,否则返回N2的历史累和 O1赋值:如果M6,返回T1,否则返回0 O2赋值:如果M6,返回T2,否则返回0 OO赋值:如果N=1,返回O1,否则返回O2的历史累和 P1赋值:如果M7,返回T1,否则返回0 P2赋值:如果M7,返回T2,否则返回0 PP赋值:如果N=1,返回P1,否则返回P2的历史累和 Q1赋值:如果M8,返回T1,否则返回0 Q2赋值:如果M8,返回T2,否则返回0 QQ赋值:如果N=1,返回Q1,否则返回Q2的历史累和 A3赋值:如果M1,返回S3,否则返回0 A4赋值:如果M1,返回S4,否则返回0 AA1赋值:如果N=1,返回A3,否则返回A4的历史累和 B3赋值:如果M2,返回S3,否则返回0 B4赋值:如果M2,返回S4,否则返回0 BB1赋值:如果N=1,返回B3,否则返回B4的历史累和 C3赋值:如果M3,返回S3,否则返回0 C4赋值:如果M3,返回S4,否则返回0 CC1赋值:如果N=1,返回C3,否则返回C4的历史累和 D3赋值:如果M4,返回S3,否则返回0 D4赋值:如果M4,返回S4,否则返回0 DD1赋值:如果N=1,返回D3,否则返回D4的历史累和 E3赋值:如果M5,返回S3,否则返回0 E4赋值:如果M5,返回S4,否则返回0 EE1赋值:如果N=1,返回E3,否则返回E4的历史累和 F3赋值:如果M6,返回S3,否则返回0 F4赋值:如果M6,返回S4,否则返回0 FF1赋值:如果N=1,返回F3,否则返回F4的历史累和 G3赋值:如果M7,返回S3,否则返回0

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 指标资讯 加入收藏