公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

通达信龙行变量副图指标 源码 贴图

2023-11-16 07:31| 发布者: admin| 查看: 61| 评论: 0

通达信龙行变量副图指标 源码 贴图

通达信龙行变量副图指标 源码 贴图

通达信龙行变量副图指标 源码 贴图

虚:=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(VREF(V,1)*0.5 AND NOT(一字涨跌停),V*1.3,'3')COLORGREEN;
DRAWTEXT(VREF(V,1)*0.33 AND NOT(一字涨跌停),V*1.3,'2')COLORGREEN;
DRAWTEXT(VDRAWTEXT(百低,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 VDRAWICON(升势地量,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(V5 AND HHV(V,5)低平量群:BARSLASTCOUNT(V3 OR BARSLASTCOUNT(HHV(V,5)3 NODRAW COLORMAGENTA;
长阴:=(CL AND L短柱:=(V长阴短柱:=长阴 AND 短柱;
DRAWICON(短柱 AND C>=REF(C,1)*1.04 AND NOT(一字涨跌停),V*1.0159,38);
DRAWICON(长阴短柱,V*1.0159,39);
假阴真阳:=CREF(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;



鲜花

握手

雷人

路过

鸡蛋
返回顶部