关于抄股很想直观看到一个股今天放了多少量,但大智慧软件看到的是实时成交量,能不能编个程序看到虚拟成交量?请高手编个程!万分感谢!的问题
{大智慧虚拟vol指标}
VOL,VOLSTICK;
MA1:MA(VOL,6),LAYER1;
MA3:MA(VOL,18),LAYER1;
MA2:MA(VOL,36),LAYER1;
bb:=INTPART(CURRENTTIME/100);bb1:=INTPART(bb/100);
sj1:=(bb1-9)*60;BBC:=IF(DATE=CURRENTDATE,1,0);
sj2:=bb-bb1*100-30;
sj:=sj1+sj2;aa1:=BETWEEN(sj,0,120);aa2:=BETWEEN(sj,120,210);aa3:=BETWEEN(sj,210,330);dfgd:(sj*aa1+120*aa2+(sj-90)*aa3);
STICKLINE(CLOSE>0 AND BBC>0 AND DYNAINFO(10) AND BARSTATUS=2,0,DYNAINFO(8)*240/dfgd,7,0),DOTLINE,LAYER6,COLOR00ffff;
实际V:=VOL;
Var1:=DYNAINFO(17)*REF(MA(VOL,5),1);
Var2:=DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT;
预测V1:=IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,Var1,Var2);
预测V2:=IF(实际V>=预测V1,实际V,预测V1);
比1:=预测V2/实际V;
比比:=BETWEEN(比1,0。
8,1。
2);
比:=IF(比比,1,比1);
换手率:VOL/CAPITAL*100,LINETHICK0;
换手20:SUM(换手率,20),LINETHICK0;
WJ:=(H+L+C)/3;
V1:=IF(H=L,1,H-MAX(O,C));
V2:=IF(H=L,1,MAX(C,O)-WJ);
V3:=IF(H=L,1,MIN(O,C)-L);
V4:=IF(H=L,1,WJ-MIN(C,O));
V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5);
V7:=(V2*V5);
V8:=(V3*V5);
V9:=(V4*V5);
买盘1:=DYNAINFO(23)*比;
卖盘1:=DYNAINFO(22)*比;
买盘2:=(V9+V8)*比;
卖盘2:=(V6+V7)*比;
买盘:=IF(CATEGORY0 AND CATEGORY12 AND CATEGORY13 AND BARSTATUS=2 AND DATATYPE=6,买盘1,买盘2);
卖盘:=IF(CATEGORY0 AND CATEGORY12 AND CATEGORY13 AND BARSTATUS=2 AND DATATYPE=6,卖盘1,卖盘2);
STICKLINE(CLOSE>0,0,买盘,1,-120),LAYER2,colorred;
STICKLINE(CLOSE>0,0,卖盘,1,120),LAYER2,colorred;。