VM:=11;N:=11;
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
Vvol:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
V5:=MA(V,VM);
T:=ALIGNRIGHT(MOD(CURRBARSCOUNT,N));
HH:=HHV(V5,N);
STICKLINE(T=1,0,HH,0,0),COLORYELLOW;
STICKLINE(T=0,0,REFX(HH,BARSNEXT(T=1)),0,0),COLORYELLOW;
DRAWLINE(T=0,REFX(HH,BARSNEXT(T=1)),T=1,HH,0),COLORYELLOW;
DRAWLINE(T=1,HH,T=0,REFX(HH,BARSNEXT(T=1)),0),COLORBLacK;
VM1:=22;N1:=22;
VM5:=MA(V,VM1);
T1:=ALIGNRIGHT(MOD(CURRBARSCOUNT,N1));
HH1:=HHV(V5,N1);
STICKLINE(T1=1,0,HH1,0,0),COLORYELLOW;
STICKLINE(T1=0,0,REFX(HH1,BARSNEXT(T1=1)),0,0),COLORWHITE;
DRAWLINE(T1=0,REFX(HH1,BARSNEXT(T1=1)),T1=1,HH1,0),COLORWHITE;
DRAWLINE(T1=1,HH1,T1=0,REFX(HH1,BARSNEXT(T1=1)),0),COLORBLACK;
两倍量:=SUM(V>REF(V,1)*1.9,5)=2;
STICKLINE(两倍量,0,VOL,0.7,30),COLORMAGENTA;
倍量:=VOL/REF(VOL,1)>=1.9;
STICKLINE(倍量,0,VOL,1,0),COLORFF00FF;
STICKLINE(倍量,0,VOL*2/3,1.5,0),COLORFF0000;
STICKLINE(倍量,0,VOL/2,2,0),COLOR00FFFF;
STICKLINE(倍量,0,VOL/3,2.5,0),COLOR00FF00;
STICKLINE(倍量,0,VOL/4,3,0),COLORFFFFFF;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。