m1 2 500 5
m2 2 500 10 ------------------这2个参数要自己输入,紫色的柱子是地量柱,白色是平量柱,不会100天内出现多个低量柱,相邻平量柱都是白色的,非常清楚。
VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,M1);
MAVOL2:MA(VOLUME,M2);
STICKLINE(V>=REF(V,1)*1.85,V,O,1,0)COLORYELLOW;
STICKLINE(V>=REFX(V,1)*0.98 AND V<=REFX(V,1)*1.02,V,O,1,0)COLORWHITE;
STICKLINE(V>=REF(V,1)*0.98 AND V<=REF(V,1)*1.02,V,O,1,0)COLORWHITE;
BLZ:=VOL<REF(LLV(VOL,45),1);
GL:=FILTERX(BLZ,45);
STICKLINE(BLZ AND GL,0,V,2,0),COLORMAGENTA; |