通达信公式主力资金进出指标

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

通达信公式主力资金进出指标

DRAWRECTREL(0,0,400,988,IF(120,RGB(10,0,0),0));超B:=L2_AMO(0,2)/10000.0;大B:=L2_AMO(1,2)/10000.0;中B:=L2_AMO(2,2)/10000.0;小B:=L2_AMO(3,2)/10000.0;超S:=L2_AMO(0,3)/10000.0;大S:=L2_AMO(1,3)/10000.0;中S:=L2_AMO(2,3)/10000.0;小S:=L2_AMO(3,3)/10000.0;主买A:=ACTINVOL,COLORRED,NODRAW;主卖

A:=ACTOUTVOL,COLORGREEN,NODRAW;主买:=主买

A*100/(主买A+主卖A),NODRAW,COLORRED;主卖:=主卖

A*100/(主买A+主卖

A),NODRAW,COLORGREEN;SAT:=(AMOUNT/C)/(HHV(AMO UNT,20)/HHV(C,20));【量能饱

和】:IF(SAT>1,1,SAT)*100,COLORYELLOW,NODRAW;主力净买

量:=(LARGEINTRDVOL-LARGEOUTTRDVOL),COLORYELLOW ,NODRAW;大宗净流入:=(超B+大B)-(超S+大

S),COLORRED,NODRAW;主动买卖

差:=(ACTINVOL-ACTOUTVOL),COLORMAGENTA,NODRAW;主力资金

差:=((L2_AMO(0,0)+L2_AMO(1,0)-L2_AMO(0,1)-L2_AMO(1,1 )))/10000,COLORCYAN,NODRAW;DRAWRECTREL(100,0,90+

CONST(主买

*300/100),40,RGB(230,65,0));DRAWRECTREL(100,60,90+CO NST(主卖

*300/100),100,RGB(0,104,0));DRAWRECTREL(100,120,390,16 0,RGB(0,0,100));DRAWRECTREL(100,120,90+CONST(【量能饱和】*300/100),160,RGB(250,104,0));大单动

向:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANC E(7),NODRAW;T1:=IF (大单动向>0 AND REF(大单动

向,1)T2:=IF (大单动向>0 AND REF(大单动向,1)>0 AND

REF(大单动向,2)T3:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)T4:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)T5:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND

REF(大单动向,5)T6:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND

REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)T7:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)>0 AND REF(大单动向,7)T8:=IF (大单动向>0 AND REF(大单动

向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)>0 AND REF(大单动向,7)>0 AND REF(大单动向,8)T9:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)>0 AND REF(大单动向,7)>0 AND REF(大单动向,8)>0 AND REF(大单动向,9)T:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)>0 AND REF(大单动向,7)>0 AND REF(大单动向,8)>0 AND REF(大单动向,9)>0,10,T9);D:=COUNT(大单动

向>0,10),NODRAW;DRAWTEXT_FIX(1,0.005,0.01,0,STRCAT(S TRCAT('【主买比】:',CON2STR(主买,1)),' %

')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.07,0,STRCAT(ST RCAT('【主卖比】:',CON2STR(主卖,1)),' %

')),COLORGREEN;DRAWTEXT_FIX(1,0.005,0.13,0,STRCAT(STR CAT('【量能饱和】:',CON2STR(【量能饱和】,1)),' %')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.19,0,STRCAT(ST RCAT('【主力资金差】: ',CON2STR(主力资金差,1)),' 万元')),COLORYELLOW;DRAWTEXT_FIX(1,0.2,0.19,0,STRCAT(STRC AT('【大宗净流入】: ',CON2STR(大宗净流入,1)),' 万元

相关文档
最新文档