公式改成6日和12日的成交量
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

请老师帮这个公式改成通达信6日和12日的成交量谢谢 VVOL:=IF(CAPITAL=0,V,VOL/CAPITAL*100);预测量:IF(CURRBARSCOUNT=1 AND PERIOD=5,VVOL*240/FROMOPEN,VVOL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,预测量,0,-1,-1),COLOR00C0C0;VOLUME:VVOL,VOLSTICK;量增幅:(VVOL-REF(VVOL,1))*100/REF(VVOL,1),NODRAW;STICKLINE(VVOL>=MA(VVOL,5)*1.5 AND C>=REF(C,1),0,VVOL,1,0),COLORRED;STICKLINE(VVOL>=MA(VVOL,5)*1.5 AND C0 AND VVOL=REF(MV18,1),MV18,DRAWNULL),COLORMAGENTA,LINETHICK2;HSL:=VOL/CAPITAL*100;HSL5:SUM(HSL,5),NODRAW;HSL10:SUM(HSL,10),NODRAW;HSL20:SUM(HSL,20),NODRAW;

解答:

 VVOL:=IF(CAPITAL=0,V,VOL/CAPITAL*100);

预测量:IF(CURRBARSCOUNT=1 AND PERIOD=5,VVOL*240/FROMOPEN,VVOL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,预测量,0,-1,-1),COLOR00C0C0;
VOLUME:VVOL,VOLSTICK;
量增幅:(VVOL-REF(VVOL,1))*100/REF(VVOL,1),NODRAW;
STICKLINE(VVOL>=MA(VVOL,5)*1.5 AND C>=REF(C,1),0,VVOL,1,0),COLORRED;
STICKLINE(VVOL>=MA(VVOL,5)*1.5 AND C<O,0,VVOL,1,0),COLORGREEN;
STICKLINE(VVOL>0 AND VVOL<REF(LLV(VVOL,59),1),0,VVOL,1,0),COLORYELLOW;
MV6:MA(VVOL,6),COLORAA11BB;
MV12:MA(VVOL,12),COLORBLUE,LINETHICK2;
IF(MV12>=REF(MV12,1),MV12,DRAWNULL),COLORMAGENTA,LINETHICK2;
HSL:=VOL/CAPITAL*100;
HSL5:SUM(HSL,5),NODRAW;
HSL10:SUM(HSL,10),NODRAW;
HSL20:SUM(HSL,20),NODRAW;

选股票看什么指标最好 >股票指标网