虚:=IF(CURRBARSCOUNT=1 AND PERIOD=5,vol*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,虚,0,(-1),(-1)),COLOR00C0C0;
量:VOL,VOLSTICK;
饱和度:IF(AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20))>1,1,AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20)))*100,NODRAW,COLORMAGENTA;
换手:100*VOL/(FINANCE(7)/100) NODRAW;
均价:=AMOUNT/VOL/100;
涨停:=C=ZTPRICE(REF(C,1),0.1);
跌停:=C=DTPRICE(REF(C,1),0.1);
一字涨跌停:=(涨停 OR 跌停) AND O=H AND C=O AND L=O AND L=H;
百低:V=LLV(V,100) AND NOT(一字涨跌停),COLORGREEN NODRAW;
DRAWTEXT(V<REF(V,1)*0.67 AND V>REF(V,1)*0.5 AND NOT(一字涨跌停),V*1.3,'3')COLORGREEN;
DRAWTEXT(V<REF(V,1)*0.5 AND V>REF(V,1)*0.33 AND NOT(一字涨跌停),V*1.3,'2')COLORGREEN;
DRAWTEXT(V<REF(V,1)*0.33 AND NOT(一字涨跌停),MA(V,5),'1')COLORGREEN;
DRAWTEXT(百低,MA(V,123),'-1')COLORYELLOW;
STICKLINE(百低,0,VOL,2.5,0),COLORGREEN;
倍量:V>REF(V,1)*1.9 AND C>O,COLORYELLOW NODRAW;
STICKLINE(倍量,0,V,2,0) COLORYELLOW;
平量:=RANGE(V,REF(V,1),REF(V,1)*1.03) AND C>O,COLORMAGENTA NODRAW;
STICKLINE(平量,0,VOL,2,0),COLORMAGENTA;
缩倍:=V<=REF(VOL,1)*0.505,NODRAW,COLORCYAN ;
梯量:UPNDAY(C,3) AND UPNDAY(V,3) NODRAW;
DRAWTEXT(FILTER(梯量,2),V*1.2,'T') COLORRED;
高量:V=HHV(V,10) OR V=HHV(V,21) OR V=HHV(V,100) NODRAW COLORRED;
升势地量:V=LLV(V,10) AND EMA(C,20)>REF(EMA(C,20),1) AND EMA(C,55)>REF(EMA(C,55),1) AND EMA(C,20)>EMA(C,55) AND V<MIN(REFX(V,1),REFX(V,2)) NODRAW COLORGREEN;
DRAWICON(升势地量,V*1.5,1);
STICKLINE(升势地量,0,V,1,0),COLORMAGENTA;
低量:=V=LLV(V,10) AND V<=REF(V,1) AND V<=REFX(V,1) AND NOT(一字涨跌停);
DRAWICON(低量,V*0.5,23);
百低群:BARSLASTCOUNT(V<MA(V,123))>5 AND HHV(V,5)<MA(V,123)*1.5 NODRAW COLORRED;
低平量群:BARSLASTCOUNT(V<MIN(HHV(V,21),HHV(V,100))*0.5)>3 OR BARSLASTCOUNT(HHV(V,5)<LLV(V,10)*1.8)>3 NODRAW COLORMAGENTA;
长阴:=(C<O*0.97 OR C<=REF(C,1)*0.97) AND H>L AND L<REF(MIN(C,O),1);
短柱:=(V<REF(V,1)*0.99 OR V<=HHV(V,10)*0.67 OR V<HHV(V,5) OR MA(V,5)<MA(V,60)*0.5) AND NOT(一字涨跌停);
长阴短柱:=长阴 AND 短柱;
DRAWICON(短柱 AND C>=REF(C,1)*1.04 AND NOT(一字涨跌停),V*1.0159,38);
DRAWICON(长阴短柱,V*1.0159,39);
假阴真阳:=C<O AND (C>REF(C,1) OR 均价>REF(C,1));
STICKLINE(假阴真阳,0,V,2,0)COLORRED;
{量柱刻度}
STICKLINE(V>0 AND V>REF(V,1),V*2/3,V*2/3,2,0),COLORBLUE;
STICKLINE(V>0 AND V>REF(V,1),V/2,V/2,2,0),COLORBLUE;
STICKLINE(V>0 AND V>REF(V,1),V*1/3,V*1/3,2,0),COLORBLUE;
ABC1:IF(CURRBARSCOUNT<=CONST(REF(HHVBARS(VOL,100),1)+1)+1,CONST(REF(V,REF(HHVBARS(VOL,100),1)+1)),DRAWNULL),COLOR00BCBC DOTLINE;
ABC2:IF(CURRBARSCOUNT<=CONST(REF(HHVBARS(VOL,100),1)+1)+1,CONST(REF(V*0.5,REF(HHVBARS(VOL,100),1)+1)),DRAWNULL),COLORLIGREEN DOTLINE;
ABC3:IF(CURRBARSCOUNT<=CONST(REF(HHVBARS(VOL,21),1)+1)+1,CONST(REF(V,REF(HHVBARS(VOL,21),1)+1)),DRAWNULL),COLOR00BCBC;
ABC4:IF(CURRBARSCOUNT<=CONST(REF(HHVBARS(VOL,21),1)+1)+1,CONST(REF(V*0.5,REF(HHVBARS(VOL,21),1)+1)),DRAWNULL),COLORLIGREEN;
ABC5:=IF(CURRBARSCOUNT<=CONST(REF(LLVBARS(VOL,21),1)+1)+1,CONST(REF(V,REF(LLVBARS(VOL,21),1)+1)),DRAWNULL),COLORBLUE;
DRAWTEXT(CURRBARSCOUNT=21, ABC1*0.9,'21')COLORGREEN;
LD5:=FILTER(BACKSET(FILTER(REF(MIN(C,O),5)=LLV(MIN(C,O),2*5+1),5),5+1),5);
LD10:=FILTER(BACKSET(FILTER(REF(MIN(C,O),10)=LLV(MIN(C,O),2*10+1),10),10+1),10);
LLD5:=CONST(BARSLAST(LD5));
LLD10:=CONST(BARSLAST(LD10));
ABC7:=IF(CURRBARSCOUNT<=LLD5+1,CONST(IF(LLD5=0,V,REF(V,LLD5))),DRAWNULL),COLORGREEN ;
ABC8:=IF(CURRBARSCOUNT<=LLD10+1,CONST(IF(LLD10=0,V,REF(V,LLD10))),DRAWNULL),COLORBLUE;
高:=V>REF(V,1) AND V>REFX(V,1) ;
GT:=BARSLAST(高);
有序缩量:=DOWNNDAY(V,3) AND V=LLV(V,GT) AND GT>2;
ABC9:DRAWLINE(高,V,有序缩量,V,0) COLORMAGENTA;
通达信龙行变量指标公式
本文来自网络,不代表公式指标立场,转载请注明出处:https://www.gszb.top/104644.html