通达信——量多空博弈指标 通达信 波段...

公式源码:
 
DRAWTEXT_FIX(C>O,0.01,0.9,0,''),COLOR556699;
B1:=(C-O)/(H-L)*V;
B2:=(H-C)/(H-L)*V;
B3:=(O-L)/(H-L)*V;
当日上攻量:=B1*0.7+B2*0.5+B3*0.4,VOLSTICK;
当日出货量:=B1*0.3+B2*0.5,NODRAW,COLORGREEN;
当日杀跌量:=B3*0.6,NODRAW,COLORBLUE;
五日上攻量:=SUM(当日上攻量,5),COLORRED;
五日出货量:=SUM(当日出货量,5),COLORGREEN;
五日杀跌量:=SUM(当日杀跌量,5),COLORBLUE;
多方:五日上攻量/SUM(V,5)*100,COLORRED,LINETHICK2;
空方:(五日出货量+五日杀跌量)/SUM(V,5)*100,COLORGREEN,LINETHICK2;
DRAWBAND(空方,RGB(50,205,50),MA(空方,3),RGB(143,188,143));
DRAWBAND(多方,255,MA(多方,3),20);
当日多占比:当日上攻量/V*100,NODRAW;
当日空占比:(当日出货量+当日杀跌量)/V*100,NODRAW;
STICKLINE(CURRBARSCOUNT=8,50,50.5,当日多占比,0),COLORRED;
STICKLINE(CURRBARSCOUNT=8,49.9,49.4,当日空占比,0),COLORGREEN;

(0)

相关推荐