以下是通達(dá)信大單凈比公式副圖源碼(無源碼的請下載附件導(dǎo)入) N:=6;{參數(shù)} 超B:=L2_AMO(0,2)/10000.0,NODRAW; 大B:=L2_AMO(1,2)/10000.0,NODRAW; 超S:=L2_AMO(0,3)/10000.0,NODRAW; 大S:=L2_AMO(1,3)/10000.0,NODRAW; 總成交額:=AMOUNT/10000.0,NODRAW; DDLR:=(超B+大B)-(超S+大S); 大宗流入:DRAWNULL,COLORWHITE; IF((超B+大B)-(超S+大S)>=0,(超B+大B)-(超S+大S),DRAWNULL),NODRAW,COLORRED; IF((超B+大B)-(超S+大S)<0,(超B+大B)-(超S+大S),DRAWNULL),NODRAW,COLORGREEN; 大單凈比:100*DDLR/總成交額,COLORYELLOW,LINETHICK2; 人氣:COUNT(C>REF(C,1),N)/N*100,NODRAW,COLORLIMAGENTA; STICKLINE(人氣<16,0,-50,2,0),COLORLIBLUE; STICKLINE(人氣>70,0,人氣,2,0),COLORRED; DRAWICON(REF(人氣,1)<16,0,7); ZQ:=BARSLAST(人氣<16);{分析家公式網(wǎng)} DRAWICON(H/REF(C,ZQ)>1.35 AND EVERY(人氣=100,3),人氣,8); JJ:=DYNAINFO(15)/DYNAINFO(4)/1000000; NO1:=(REF(VOL,FROMOPEN+1))#DAY/10000; 競價(jià)額:DYNAINFO(15)/10000,NODRAW,COLORFFFF00; 占昨比:JJ/REF(V,1)*1000000,NODRAW; 首占比:NO1/REF(V,1)*1000000,NODRAW,COLORWHITE; 換手Z:V*10000/FINANCE(46),NODRAW; 流通盤Z:FINANCE(46)/100000000,NODRAW; 漲速:DYNAINFO(24),NODRAW; 量比:DYNAINFO(17),NODRAW,COLORFF00FF; 獲利籌碼:WINNER(C)*100,NODRAW; 開盤換手:DYNAINFO(15)/DYNAINFO(4)/FINANCE(46)*100,NODRAW; 開盤量比:DYNAINFO(15)/DYNAINFO(4)/100/DYNAINFO(16),NODRAW; |
|