技术指标 缩量显示
V21:=V*0.5;V31:=2*V/3;
V32:=V/3;
{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 AND DYNAINFO(8)>1),VOL*TOTAL/CTIME,DRAWNULL),NODRAW;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VVOL,0,10,-1),COLOR00C0C0;}
VVOL:IF(CURRBARSCOUNT=0 AND PERIOD=5 ,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=0 AND PERIOD=5,VVOL,0,10,-1),COLORGREEN;
{VOLUME:VOL,VOLSTICK;}
VOLUME:VOL,COLORSTICK;
STICKLINE(C>O,0,VOL,10.0,1),COLORRED;{实体为0-VOL,宽度10.0,空心实线,红色}
STICKLINE(O>C,0,VOL,10.0,0),COLORCYAN;{实体为0-VOL,宽度10.0,实心实线,,青色。原文链接:HTTP://WWW.55188.COM/THREAD-2610834-1-1.HTML}
STICKLINE(O=C AND C>REF(C,1) ,0,VOL,0.8,0),COLORRED;
STICKLINE(O=C AND C<REF(C,1) ,0,VOL,0.8,-2),COLORCYAN;
STICKLINE(O=C AND C=REF(C,1),0,VOL,0.8,-0),COLORGRAY;{平盘十字星}
{STICKLINE(C>O AND C<REF(C,1),0,VOL,5.0,0),COLOR00FF00;{假阳,实心绿}
{STICKLINE(C>O AND C=REF(C,1),0,VOL,2.5,-2),COLORGRAY;{平盘假阳,空心绿}
cond:=(VOL>REF(VOL,1)*倍量N1) and (((c>=o)) OR (c<=o AND c>ref(c,1)));
STICKLINE(cond,0,VOL,6,0),COLORYELLOW;{倍量显示}
均价:=AMOUNT/vol/100;
假阳:=c>o AND 均价<ref(均价,1);
假阴:=c<o AND 均价>REF(均价,1);
STICKLINE(假阳,0,VOL,4,0),COLORgreen;
STICKLINE(假阴,0,VOL,4,0),COLORred;
N日地量:=v=LLV(vol,N日地量X);
缩三一:=(v<REF(v31,1)) AND(v>ref(v21,1));
缩二一:=(v<REF(v21,1)) AND (not(N日地量)) ;
DRAWtext(N日地量,Vol*1.6,'1');
drawtext(缩三一,vol*1.3,'3'),COLORGRAY;
drawtext(缩二一,VOL*1.35,'2'), COLORMAGENTA;
页:
[1]