通达信买卖成交量指标公式
通达信买卖成交量指标公式:含有未来函数
量:VOL,VOLSTICK;
预量:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),COLORFFFF00;
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,POINTDOT ;
卖:-IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLORFF9088,POINTDOT;
买卖%:ABS(买/卖),LINETHICK0,COLORWHITE;
二十换:SUM(V/CAPITAL*100,20),COLORRED,POINTDOT;
预换:MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1))/
CAPITAL*100,COLORFFFF00,POINTDOT;
STICKLINE(VOL>0,VOL,0,2.5,0),COLORFF9088;
STICKLINE(买>0,0,买,2.5,0),COLORFF00FF;
五日均量:MA(V,5),COLORWHITE;
十日均量:MA(V,10),COLORYELLOW;
红箭:DRAWICON(CROSS(五日均量,十日均量),十日均量,1);
绿箭:DRAWICON(CROSS(十日均量,五日均量),十日均量,2);
通达信买卖成交量指标公式实例图解: