通达信成交额副图公式
无需详细说明,一看就明白了,所以就不罗嗦了,上指标。资金流入流出金额非常清晰,可以辅助了解资金进出情况!
源码
总额亿: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));
买%:=买/AMOUNT*100,COLORRED,NODRAW;流入亿元:AMOUNT*买%/10000000000,COLORRED,NODRAW;
流出亿元:AMOUNT/100000000-流入亿元,COLORGREEN,NODRAW;
净流亿元:流入亿元-流出亿元,COLORCYAN,NODRAW;
STICKLINE(C,0,AMOUNT/100000000,2,0),COLORGREEN;STICKLINE(买,0,流出亿元,2,0),COLORGREEN;STICKLINE(买,流出亿元,流入亿元+流出亿元,2,0),COLORRED;
159400356.jpg
|