通达信量能叠加副图指标
总额亿:=AMOUNT/100000000,NODRAW;
买:=IF(O=C AND (C-REF(C,1))/REF(C,1)*100>9.8,AMOUNT,AMOUNT/((H-L)*2-ABS(O-C))*(C-L));
流入:=买/100000000,colorred,NODRAW;
流出:=AMOUNT/100000000-流入,colorgreen,NODRAW;
STICKLINE(C,0,AMOUNT/100000000,9.5,0),colorff3333;
STICKLINE(买,0,流出,9.5,0),COLOR00CC00;
STICKLINE(买,0,流出,7,0),COLOR33DD33;
STICKLINE(买,0,流出,5,0),COLOR55EE55;
STICKLINE(买,0,流出,3,0),COLOR99FF99;
STICKLINE(买,流出,流出+流入,9.5,0),COLOR6666CC;
STICKLINE(买,流出,流出+流入,7,0),COLOR7777DD;
STICKLINE(买,流出,流出+流入,5,0),COLOR8888EE;
STICKLINE(买,流出,流出+流入,3,0),COLOR9999FF;
STICKLINE(1,总额亿/2,总额亿/2,9.5,0),colorred;
CN1:=HHV(V,5);
CN2:=O>C;
CN02:=C>O;
CN03:=C=O;
CN04:=((SUM(V,5)/CN1));
CN05:=IF(CN04>0.3,1,0);
CN06:=IF(CN2 AND CN05,V,0);
CN07:=IF(CN02 AND CN05,V,0);
CN08:=IF(CN03 AND CN05,V,0);
累积资金流入:=SUM(CN07,9);
累积资金流出:=SUM(CN06,9);
主力:(累积资金流入-累积资金流出)/100000000,COLORFF00FF;
主力MA5:MA(主力,5),DOTLINE,colorgray;
净流入比:流入/总额亿,NODRAW;
换手:VOL/CAPITAL*100,colorred,NODRAW;