九毛八公式指标
公式模块:
请老师帮忙:想求收阳线和收阴线的成交量的公式。谢谢!感谢老师岛之主、大庆老杨、赵鑫鑫505
vol,VOLSTICK;
a1:=if(c>o,v,0);
a2:=if(c<o,v,0);
五是阳量:ma(a1,5);
五日阴量:ma(a2,5); VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,5);
MAVOL2:MA(VOLUME,10);VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交量:VOL,POINTDOT,COLORYELLOW;
买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;
卖盘:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),COLOR00FF00,POINTDOT;
STICKLINE(VOL>0,VOL,0,5,0),COLORYELLOW;
STICKLINE(买盘>0,0,买盘,2,-250),COLORRED;
STICKLINE(卖盘>0,0,卖盘,2,250),COLOR00FF00;
成交量比:买盘/VOL*100,COLORWHITE,LINETHICK0;