【资料名称】:模拟成交量源码(大智慧新一代)介绍【资料描述】:
模拟成交量源码(大智慧新一代)
虚拟量:IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),0);
STICKLINE(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VOL,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),7,-21),COLOR00C0C0;
虚拟换手:虚拟量/CAPITAL*100;
成交量:VOL,VOLSTICK;
昨日成交量:=ref(vol,1);
虚拟昨比:虚拟量/昨日成交量;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),
IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORFF00FF,linethick0;
主卖:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),
IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),COLORGREEN,linethick0;
买卖差:(IF(CLOSE>OPEN,VAR1*(HIGH-LOW),
IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)))-(IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),
IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)));
日换手:VOL/CAPITAL*100,COLORFFFFCC,linethick0;
周换手:SUM(日换手,5),COLORGRAY,linethick0;
流通:CAPITAL/100000000,linethick0;
C3:=REF(C,1);
涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(涨停,VOL,0,6,0),COLORRED;
STICKLINE(跌停,VOL,0,6,0),COLORYELLOW;
阳线:=IF((C-C3)*100/C3>=0.36*(10-0.01*100/C3)
AND (C-C3)*100/C3<(10-0.01*100/C3),1,0);
阴线:=IF((C3-C)*100/C3>=0.36*(10-0.01*100/C3)
AND (C3-C)*100/C3<(10-0.01*100/C3),1,0);
C31:=ABS((C-C3)*10/C3);
C32:=ABS((C3-C)*10/C3);
STICKLINE(阳线,VOL*C31,0,6,0);
STICKLINE(阴线,VOL*C32,0,6,0),COLORGREEN;
均1量:MA(成交量,5),COLORWHITE;
均2量:MA(成交量,10),COLORYELLOW;
gd10505
【下载地址隐藏】: 点:回复可见地址