大智慧清晰成交量指标公式
JE:=vol;SJ:=if(CURRENTTIME>93000 and CURRENTTIME<150000,
if(CURRENTTIME<113000,(TIMETOT0(CURRENTTIME)-34200)/60,
if(CURRENTTIME>130000,(TIMETOT0(CURRENTTIME)-39600)/60,120)),240);
预测量:IF(BARstATUS=2,JE/SJ*240,JE),COLOR00FFFF,LINETHICK0;
STICKLINE(BARSTATUS=2,0,预测量,10,1),COLORgreen,DOTLINE,LAYER7;
jj:=(HIGH+LOW+CLOSE)/3;qj0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
主买:=(qj0*(jj-MIN(CLOSE,OPEN)));
主卖:=(qj0*(MIN(OPEN,CLOSE)-LOW));
散买:=(qj0*(HIGH-MAX(OPEN,CLOSE)));
散卖:=(qj0*(MAX(CLOSE,OPEN)-jj));
STICKLINE(H=l and C<ref(c,1),0,JE,8,0),COLOR008800;
STICKLINE(H=l and C<ref(c,1),0,JE,5,0),COLOR00aa00;
STICKLINE(H=l and C<ref(c,1),0,JE,3,0),COLOR00cc00;
STICKLINE(H=l and C<ref(c,1),0,JE,1,0),COLOR00ee00;
STICKLINE(H=l and C>ref(c,1),0,JE,8,0),COLOR000088;
STICKLINE(H=l and C>ref(c,1),0,JE,5,0),COLOR0000aa;
STICKLINE(H=l and C>ref(c,1),0,JE,3,0),COLOR0000cc;
STICKLINE(H=l and C>ref(c,1),0,JE,1,0),COLOR0000ff;
STICKLINE(散卖>0,0,主买+主卖+散买+散卖,8,0),COLOR880000;
STICKLINE(散卖>0,0,主买+主卖+散买+散卖,5,0),COLORaa0000;
STICKLINE(散卖>0,0,主买+主卖+散买+散卖,3,0),COLORcc0000;
散户卖:STICKLINE(散卖>0,0,主买+主卖+散买+散卖,1,0),COLORee0000;
STICKLINE(散买>0,0,主买+主卖+散买,8,0),COLOR880088;
STICKLINE(散买>0,0,主买+主卖+散买,5,0),COLORaa00aa;
STICKLINE(散买>0,0,主买+主卖+散买,3,0),COLORcc00cc;
散户买:STICKLINE(散买>0,0,主买+主卖+散买,1,0),COLORee00ee;
{指标网-股票公式网站 www.zhibiaow.com}
STICKLINE(主卖>0,0,主买+主卖,8,0),COLOR008800;
STICKLINE(主卖>0,0,主买+主卖,5,0),COLOR00aa00;
STICKLINE(主卖>0,0,主买+主卖,3,0),COLOR00cc00;
主力卖:STICKLINE(主卖>0,0,主买+主卖,1,0),COLOR00ee00;
STICKLINE(主买>0,0,主买,8,0),COLOR000088;
STICKLINE(主买>0,0,主买,5,0),COLOR0000aa;
STICKLINE(主买>0,0,主买,3,0),COLOR0000cc;
主力买:STICKLINE(主买>0,0,主买,1,0),COLOR0000ff;
AA:=if(c>(h+l)/2,je,0);BB:=if(c<(h+l)/2,je,0);
F1:=sum(aa,5);F2:=sum(bb,5);F3:=ema(F1-F2,3);
T1:=主买>主卖 and cross(f3,ref(f3,1)) and f3<0;
T2:=主卖>主买 and cross(ref(f3,1),f3) and f3>0;
DRAWTEXT(T1,je*1.2,'+B'),COLOR00ffff;
DRAWTEXT(T2,je*1.2,'-S'),COLORffffff;
DRAWTEXTREL(10,5,'证券代码:'+STKLABEL+' 证券名称:'+STKNAME+''),ColorFF00FF;