資源描述:
《股票指標(biāo)公式-通達(dá)信主力動向副》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在應(yīng)用文檔-天天文庫。
1、【通達(dá)信】主力動向(副圖)-指標(biāo)公式源碼主力動向副圖(主買主賣副圖)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.
2、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(AMOUNT,20)/HHV(C,20));【量能飽和】:IF(SAT>1,1,SAT)*100,COLORYELLOW,NODRAW;主力凈買量:=(LARGEINTRDVOL-LARGEOUTTRDVOL),C
3、OLORYELLOW,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+CONST
4、(主賣*300/100),100,RGB(0,104,0));DRAWRECTREL(100,120,390,160,RGB(0,0,100));DRAWRECTREL(100,120,90+CONST(【量能飽和】*300/100),160,RGB(250,104,0));大單動向:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7),NODRAW;T1:=IF(大單動向>0ANDREF(大單動向,1)<0,1,0);T2:=IF(大單動向>0ANDREF(大單動向,1)>0ANDREF(大
5、單動向,2)<0,2,T1);T3:=IF(大單動向>0ANDREF(大單動向,1)>0ANDREF(大單動向,2)>0ANDREF(大單動向,3)<0,3,T2);T4:=IF(大單動向>0ANDREF(大單動向,1)>0ANDREF(大單動向,2)>0ANDREF(大單動向,3)>0ANDREF(大單動向,4)<0,4,T3);T5:=IF(大單動向>0ANDREF(大單動向,1)>0ANDREF(大單動向,2)>0ANDREF(大單動向,3)>0ANDREF(大單動向,4)>0ANDREF(大單動向,5)<0,5,T4);T6:=
6、IF(大單動向>0ANDREF(大單動向,1)>0ANDREF(大單動向,2)>0ANDREF(大單動向,3)>0ANDREF(大單動向,4)>0ANDREF(大單動向,5)>0ANDREF(大單動向,6)<0,6,T5);T7:=IF(大單動向>0ANDREF(大單動向,1)>0ANDREF(大單動向,2)>0ANDREF(大單動向,3)>0ANDREF(大單動向,4)>0ANDREF(大單動向,5)>0ANDREF(大單動向,6)>0ANDREF(大單動向,7)<0,7,T6);T8:=IF(大單動向>0ANDREF(大單動向,1)
7、>0ANDREF(大單動向,2)>0ANDREF(大單動向,3)>0ANDREF(大單動向,4)>0ANDREF(大單動向,5)>0ANDREF(大單動向,6)>0ANDREF(大單動向,7)>0ANDREF(大單動向,8)<0,8,T7);T9:=IF(大單動向>0ANDREF(大單動向,1)>0ANDREF(大單動向,2)>0ANDREF(大單動向,3)>0ANDREF(大單動向,4)>0ANDREF(大單動向,5)>0ANDREF(大單動向,6)>0ANDREF(大單動向,7)>0ANDREF(大單動向,8)>0ANDREF(大單
8、動向,9)<0,9,T8);T:=IF(大單動向>0ANDREF(大單動向,1)>0ANDREF(大單動向,2)>0ANDREF(大單動向,3)>0ANDREF(大單動向,4)>0ANDREF(大單動向,5