{太極成交量TJCJL}
ZZ:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.014 AND C<O*1.02,1,3);
V5:=MA(V,5);
V12:=MA(V,12);
V34:=MA(V,34);
C6:=MA(C,6);
STICKLINE(CROSS(C,C6) AND V>V5*1.2 AND V>V12*1.2 AND ZZ>2 AND C>H*0.975,0,VOL*1.05,5,0),COLORC000C0;{吸貨洋紅}
STICKLINE(CROSS(C6,C) AND V>V5*1.2 AND V>V12*1.2,0,VOL*1.05,5,0),COLOR008080;{出貨棕}
STICKLINE(VOL>MA(VOL,5)*2 AND V>V34*3 AND C<REF(C,1)*1.05,0,VOL*1.05,5,0),COLORFFC000;{天量藍(lán)色}
STICKLINE(VOL<MA(VOL,5)/2 AND V<V12/2,0,VOL*1.05,5,0),COLORBLUE;{地量深藍(lán)}
DRAWTEXT_FIX(ISLASTBAR,0.45,0.10,0,'柱底色: 洋紅吸貨量,棕色出貨量,天藍(lán)色天量,深藍(lán)色地量;'),COLORWHITE;
{盤中虛擬}
盤中虛擬:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),COLORWHITE,NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,盤中虛擬,0,-1,-1),COLORGRAY;
{量能提示 BY 冷妞妞}
基準(zhǔn)量:=(MA(VOL,5)+MA(VOL,10))/2;
危險(xiǎn)量:=基準(zhǔn)量*1.5;
破壞量:=基準(zhǔn)量*1.15;
弱壓量:=基準(zhǔn)量*0.8;
超大量:=基準(zhǔn)量*1.5;
攻擊量:=基準(zhǔn)量*1.15;
防守量:=基準(zhǔn)量*0.8;
YL:=C>O OR (C=O AND C>=REF(C,1));
DL:=C<O OR (C=O AND C<REF(C,1));
TJ1:=DL AND VOL>=弱壓量 AND VOL<破壞量;
TJ2:=DL AND VOL>=破壞量 AND VOL<危險(xiǎn)量;
TJ3:=DL AND VOL>=危險(xiǎn)量;
TJA:=YL AND VOL>=防守量 AND VOL<攻擊量;
TJB:=YL AND VOL>=攻擊量 AND VOL<超大量;
TJC:=YL AND VOL>超大量;
DRAWTEXT_FIX(ISLASTBAR AND TJ1,0.998,0.0,1.0,'[ 弱壓量 ]'),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR AND TJ2,0.998,0.0,1.0,'[ 破壞量 ]'),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR AND TJ3,0.998,0.0,1.0,'[ 危險(xiǎn)量 ]'),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR AND TJA,0.998,0.0,1.0,'[ 防守量 ]'),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR AND TJB,0.998,0.0,1.0,'[ 攻擊量 ]'),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR AND TJC,0.998,0.0,1.0,'[ 超大量 ]'),COLORRED;