同花顺CSVOL彩色成交量源码副图
涨停板为黄柱,大阳为红柱,假阴为青中粉,假阳为红中绿。
总手:VOL;
MAVOL5:MA(VOL,5);
MAVOL10:MA(VOL,10);
MAVOL30:MA(VOL,30);
ZF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZF>9.5,O,VOL,8,0),coloryellow;
STICKLINE(C>O AND ZF>=4.5 AND ZF<=9.5,O,VOL,8,0),colorred;
STICKLINE(C>O AND ZF<4.5,O,VOL,8,0),colorlired;
STICKLINE(C<O,O,VOL,8,1),colorcyan;
STICKLINE(C<O AND C>REF(C,1) ,O,VOL,3,0),colorlired;
STICKLINE(C>O AND C<=REF(C,1),O,VOL,3,0),colorligreen;
STICKLINE(C<O AND ZF<=-4.5,O,VOL,3,0),colorgreen;
STICKLINE(C==O AND O>=C[1],O,VOL,8,0),colorlired;
STICKLINE(C==O AND O>=C[1] AND ZF>9.5,O,VOL,8,0),coloryellow;
STICKLINE(C==O AND O<=C[1],O,VOL,8,0),colorcyan;
VOLZF:(VOL-REF(VOL,1))/REF(VOL,1),VOLSTICK;