通达信卧龙战法指标公式,通达信跟庄BOLL主图指标公式
admin888
|通达信卧龙战法指标公式,通达信跟庄BOLL主图指标公式
通达信卧龙战法指标公式
M:=5;
警示:=NAMEINCLUDE('S');
W:=IF(NAMELIKE('W') OR NAMELIKE('*W'),0.05,0.1);
ZT:=C>=ZTPRICE(REF(C,1),IF(警示,0.05,0.099));
DT:=(REF(C,1)/C-1>=W-0.01/REF(C,1) AND L=C AND PERIOD=5) OR C=DTPRICE(REF(C,1),IF(警示,0.05,0.1));
DT1:=REF(C,1)/L-1>=W-0.01/REF(C,1) AND L
{卧龙湾}连阴:=COUNT((C=5;
卧龙柱:=REF(连阴,1) AND (DT OR DT1);
距今:=BArslAst(卧龙柱);
{黄金坑}
假阳:=REF(C<=O,1) AND HO;
黄金阳:REF(DT OR DT1,1) AND 假阳,COLORYELLOW,LINETHICK2;
阳距:=BARSLAST(黄金阳);
卧龙潜:=黄金坑 OR 卧龙湾,COLORWHITE;
SY:=H/maX(C,O);
XY:=MIN(C,O)/L;
卧龙深潜:卧龙潜 AND C>O AND XY>1.02 AND SY<1.015,COLORFFFF00,LINETHICK2;
ADA:=(HIGH+LOW+CLOSE)/3;
下:=-100*(0.015*AVEDEV(ADA,14))+MA(ADA,14);
买入:=crOSS(C,下);
潜龙飞天:EXIST(卧龙潜,10) AND 买入,LINETHICK2;
月线:=WMA(C,21);
月角:=ATAN((WMA(C,21)/REF(WMA(C,21),1)-1)*100)*180/3.1416;
卧龙出水:HHV(C,距今)<=REF((C+O)*0.5,距今) AND CROSS(C,月线) AND 月角>-20 AND 距今<30,NODRAW;
STICKLINE(卧龙出水,0,0.2,2,0),COLORLIBLUE;
STICKLINE(卧龙出水,0.2,0.4,2,0),COLORYELLOW;
STICKLINE(卧龙出水,0.4,0.6,2,0),COLORLIMAGENTA;
卧龙根:CROSS(C,REF((C+O)/2,距今)) AND BETWEEN(距今,1,20),COLORLIMAGENTA,LINETHICK2;
再龙根:COUNT(CROSS(C,REF((C+O)/2,距今)),距今)=2 AND CROSS(C,REF((C+O)/2,距今)),COLORRED,LINETHICK2;
{过峰}AQA:=REF(H,M)=HHV(H,2*M+1);
QY:=BacKSET(AQA,M+1);
峰顶:=FILTER(QY,M) AND H=HHV(H,M+1);
峰距:=BARSLAST(峰顶);
过峰:ZT AND CROSS(C,REF(H,峰距)),LINETHICK2E;
通达信跟庄BOLL主图指标公式
M:=20;
N:=4;
boll:maCLOSE,M);
UB:BOLL+2*stD(CLOSE,M);
LB:BOLL-2*STD(CLOSE,M);
高:=REF(HHV(H,72),5);
龙门:REFDATE(高,DATE),COLORWHITE,LINETHICK2;
TM:=1200823;
涨停:IF(DATE
跌停:IF(DATE
明涨停:IF(DATE
明跌停:IF(DATE
ZT:=C>=涨停 AND PERIOD=5 AND H=C;
ZT1:=H>=涨停 AND PERIOD=5 AND H>C;
DT:=C<=跌停 AND PERIOD=5 AND L=C;
DT1:=L<=跌停 AND PERIOD=5 AND L
{涨停k线颜色设置}STICKLINE(ZT,C,(O+C)/2,3,0),COLOR000099;
STICKLINE(ZT,C,(O+C)/2,2.2,0),COLOR0000CC;
STICKLINE(ZT,C,(O+C)/2,1.5,0),COLOR0000FF;
STICKLINE(ZT,C,(O+C)/2,0.5,0),COLORCC66FF;
STICKLINE(ZT,O,(O+C)/2,3,0),COLOR999999;
STICKLINE(ZT,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(ZT,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(ZT,O,(O+C)/2,0.5,0),COLORFFFFFF;
STICKLINE(DT,O,(O+C)/2,3,0),COLOR999999;
STICKLINE(DT,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(DT,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(DT,O,(O+C)/2,0.5,0),COLORFFFFFF;
STICKLINE(DT,C,(O+C)/2,3,0),COLOR009900;
STICKLINE(DT,C,(O+C)/2,2.2,0),COLOR00BB00;
STICKLINE(DT,C,(O+C)/2,1.5,0),COLOR00DD00;
STICKLINE(DT,C,(O+C)/2,0.5,0),COLOR00FF00;
{曾涨跌停打开K线颜色设置}STICKLINE(ZT1,C,(O+C)/2,3,0),COLORFF00FF;
STICKLINE(ZT1,C,(O+C)/2,2.2,0),COLORFF00FF;
STICKLINE(ZT1,C,(O+C)/2,1.5,0),COLOR0000FF;
STICKLINE(ZT1,O,(O+C)/2,3,0),COLOR999999;
STICKLINE(ZT1,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(ZT1,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(DT1,O,(O+C)/2,3,0),COLOR888888;
STICKLINE(DT1,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(DT1,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(DT1,C,(O+C)/2,3,0),COLOR009900;
STICKLINE(DT1,C,(O+C)/2,2.2,0),COLOR00BB00;
STICKLINE(DT1,C,(O+C)/2,1.5,0),COLOR00DD00;
STICKLINE(DT1,C,(O+C)/2,0.5,0),COLOR00FF00;
DRAWTEXT(ZT AND DT1 AND PERIOD=5,L-0.03,'地天板'),COLORCC00CC;{从跌停到涨停}
DRAWTEXT(DT AND ZT1 AND PERIOD=5,H+0.03,'天地板'),COLOR00CC00;{从涨停到跌停};
DRAWTEXT(DT1,L-0.09,'撬'),COLORCC00CC;{从涨停到跌停};
DRAWTEXT(ZT1,H+0.03,'炸'),COLOR00CC00;{从涨停到跌停};
假阴:=REF(C>=O,1) AND AMOUNT/V/100>REF(C,1) AND C
假阳:=REF(C<=O,1) AND HO;
STICKLINE(假阴,O,C,0.2,0),COLORRED;{假阴柱};
STICKLINE(假阳,O,C,0.7,0),COLORLIGREEN;{假阳};
JJ:=(C+H+L)/3;
A:=ema(JJ,10);
B:=REF(A,1);
STICKLINE(A>B,A,B,2,0),COLORYELLOW;
STICKLINE(A
月线:=WMA(C,21);
月角:=ATAN((月线/REF(月线,1)-1)*100)*180/3.1416,NODRAW;
A1:=REF(H,N)=HHV(H,2*N+1);
B1:=FILTER(A1,N);
C1:=BacKSET(B1,N+1);
D1:=FILTER(C1,N) AND ZT;
E1:=BArslAST(D1 );
STICKLINE(D1,BOLL,UB,2,0),COLORRED;
GX:=(O
缩量:=V<0.8*HHV(V,20);{量小于20天内最高量的0.8倍}
选股:=crOSS(C,REF(H,E1)) AND GX AND V<=REF(V,E1)*1.2 AND 月角>30,NODRAW;
STICKLINE(选股,LB,BOLL,0.1,0),COLORGREEN;
STICKLINE(选股,UB,BOLL,0.1,0),COLORRED;
市值:(FINANCE(40)/100000000),NODRAW,COLORRED;
股东占流通比:100*FINVALUE(244)/FINVALUE(239),NODRAW;
历史衰退系数:100/(100-股东占流通比),NODRAW;
{板块排名}TAX:=HORCALC(HYBLOCK,105,1,DRAWNULL);
TAA:=STRCAT(HYBLOCK,' 排名 :');
DRAWTEXT_FIX(ISLASTBAR,0.70,0.005,0,STRCAT(TAA,CON2STR(TAX,0)));
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。