T:=DYNAINFO(8)>0;
VO:=VOL=LLV(VOL,100) AND T;
地量柱:=T AND VO,COLORBLUE;
STICKLINE(地量柱,C,O,2.5,0),COLORAAAA00;
STICKLINE(地量柱,L,H,0,0),COLORAAAA00;
DRAWLINE(地量柱,L,REF(地量柱,1),REF(L,1),1),COLORAAAA00;
DRAWTEXT(地量柱,C,'地量柱'),COLORAAAA00;
BLZ:=VOL>REF(V,1)*1.9;
STICKLINE(BLZ,C,O,2.5,0),COLORYELLOW;
STICKLINE(BLZ,L,H,0,0),COLORYELLOW;
倍量柱:=BLZ,COLORYELLOW;
DRAWLINE(倍量柱,L,REF(倍量柱,1),REF(L,1),1),COLORYELLOW;
DRAWTEXT(倍量柱,C*0.95,'倍量'),COLORYELLOW;
HJZ:=(3*C+H+L+O)/6;
HJZ2:=(8*HJZ+7*REF(HJZ,1)+6*REF(HJZ,2)+5*REF(HJZ,3)+4*REF(HJZ,4)+3*REF(HJZ,5)+2*REF(HJZ,6)+REF(HJZ,8))/36;
HJZ3:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>HJZ2 AND C>O;
黄金柱:=FILTER(HJZ3,5),LINETHICK0;
STICKLINE(黄金柱,C,O,2.5,0),COLORRED;
STICKLINE(黄金柱,L,H,0,0),COLORRED;
DRAWLINE(黄金柱,L,REF(黄金柱,1),REF(L,1),1),COLORRED;
DRAWTEXT(黄金柱,C,'黄金柱'),COLORRED;
FLZ:=V>REF(V,1)*0.98 AND V[ STICKLINE(FLZ,C,O,2.5,0),COLORMAGENTA;
]
STICKLINE(FLZ,L,H,0,0),COLORMAGENTA;
平量柱:=FLZ,COLORMAGENTA;
DRAWLINE(平量柱,L,REF(平量柱,1),REF(L,1),1),COLORMAGENTA;
DRAWTEXT(FLZ,C,'平量'),COLORMAGENTA;
=======================
{副图}
VOLUME:VOL,VOLSTICK;
TT:=COUNT(C>REF(C,1),2)=2 AND COUNT(V[ STICKLINE(TT,0,V,2.5,0),COLORGREEN;
]
DRAWTEXT(TT,VOL+80000,'降'),COLORGREEN;
T:=DYNAINFO(8)>0;
VO:VOL=LLV(VOL,100) AND T;
地量柱:T AND VO,COLORBLUE;
STICKLINE(地量柱,0,V,2.5,0),COLORBLUE;
DRAWTEXT(地量柱,VOL+80000,'地'),COLORBLUE;
BLZ:=VOL>REF(V,1)*1.9;
BLZ1:=VOL[ BLZ2:=VOL][ STICKLINE(BLZ,0,V,2.5,0),COLORYELLOW;
]
倍量柱:BLZ,COLORYELLOW;
DRAWTEXT(倍量柱,VOL+80000,'倍'),COLORYELLOW;
HJZ:=(3*C+H+L+O)/6;
HJZ2:=(8*HJZ+7*REF(HJZ,1)+6*REF(HJZ,2)+5*REF(HJZ,3)+4*REF(HJZ,4)+3*REF(HJZ,5)+2*REF(HJZ,6)+REF(HJZ,8))/36;
HJZ3:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>HJZ2 AND C>O;
黄金柱:FILTER(HJZ3,5),STICK,COLORRED,LINETHICK4;
STICKLINE(黄金柱,0,V,2.5,0),COLORRED;
DRAWTEXT(黄金柱,VOL+150000,'黄'),COLORRED;
价涨量缩:TT,COLORGREEN;
FLZ:=V>REF(V,1)*0.98 AND V[ STICKLINE(FLZ,0,V,2.5,0),COLORMAGENTA;
]
DRAWTEXT(FLZ,VOL+80000,'平'),COLORMAGENTA;
平量柱:FLZ,COLORMAGENTA;
有话要说...