通达信公式源码概况:
指标类别:通达信公式
授权方式: 免费版
指标评级: ★★★★★
指标分类: 策略
画线方法: 副图
两线交缠纽麻花,均价线上起行情。
条件:1、头天收阳,今天高开,大部分人认为涨不动或者会回落。2、线抬头时,突然放大量,从量柱上很容易区别得出来,大开始拉抬,这是很重要的条件。
等腰三角形整理,保持距离。
条件:1、一段下跌,初步止跌,多空换手。2、一段上涨,K线初步止涨,多空换手。
公式解读:
CTX:=(3*C+H+L+O)/6;
IONG:=(8*CTX+7*REF(CTX,1)+6*REF(CTX,2)+5*REF(CTX,3)+4*REF(CTX,4)+3*REF(CTX,5)+2*REF(CTX,6)+REF(CTX,8))/36;
CTXIONG:==HHV(VOL,20)ANDVOL 2*REF(VOL,1)ANDCLOSE IONGANDC REF(C,1);
XG:FILTER(CTXIONG,5);
RSV:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,3,1);
J1:=3*K-2*D;
J2:=EMA(K,3);
WH:=DRAWLINE(D =HHV(D,21),D,D =LLV(D,21),D,1);
精准买点:CROSS(趋势J1,WH)ANDCROSS(趋势J2,WH);
ZKK:= KD.K#WEEK (9,3,3);
ZKD:= KD.D#WEEK (9,3,3);
KCD:=FILTER(CROSS(ZKK,ZKD)ANDREF(ZKD,1) 30,13);
KCD1:=FILTER(CROSS(ZKK,ZKD)ANDREF(ZKD,1) 30,13);
XG1:=KCD;
DIFW:= MACD.DIF#WEEK (12,26,9);
DEAW:= MACD.DEA#WEEK (12,26,9);
P:=10;A:=5;
FCA:=FILTER(CROSS(DIFW,DEAW)ANDREF(DEAW,1) 0,13);
XG2:=FCA;
RSV:=((((HHV(HIGH,P)-CLOSE)/(HHV(HIGH,P)-LLV(LOW,P)))*200)-125);
:=SMA(RSV,A,1)+15;
RSV1:=((((CLOSE-LLV(LOW,P))/(HHV(HIGH,P)-LLV(LOW,P)))*200)-105);
:=SMA(RSV1,A,1)+15;
XG3:=CROSS(主力,散户);
:XG2ANDFCA;
STICKLINE(选股,0,20,3,0),COLOR0000FF;
STICKLINE(选股,20,40,2,0),COLORGREEN;
STICKLINE(选股,40,80,1,0),COLORMAGENTA;
DRAWTEXT(选股,40, 天下无敌 ),COLORYELLOW;
Vvol:=IF(CURRBARSCOUNT=1ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
stICKLINE(CURRBARSCOUNT=1ANDPERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
倍量:VOL =REF(V,1)*1.90ANDC REF(C,1),NODRAW,COLORYELLOW;
低量:VOL REF(LLV(VOL,13),1),NODRAW,COLORGREEN;
地量:VOL REF(LLV(VOL,100),1),NODRAW,COLORmaGENTA;
平量:Abs(VOL-HHV(REF(VOL,1),5))/HHV(REF(VOL,1),5) =0.03ORABS(VOL-REF(VOL,1))/REF(VOL,1) =0.03,NODRAW,COLORWHITE;
倍缩:VOL =REF(V,1)*0.5,NODRAW,COLORRED;
梯量:COUNT(V REF(V,1),3)=3ANDCOUNT(C O,3)=3,NODRAW,COLOR824173;
缩量涨:COUNT(C REF(C,1),2)=2ANDCOUNT(V REF(V,1),2)=2,NODRAW,COLORBLUE;
STICKLINE(倍量,0,V,1,0),COLORYELLOW;
STICKLINE(低量,0,V,1,0),COLORGREEN;
STICKLINE(地量,0,V,1,0),COLORMAGENTA;
STICKLINE(平量,0,V,1,0),COLORWHITE;
STICKLINE(倍缩,0,V,1,0),COLORRED;
STICKLINE(梯量,0,V,1,0),COLOR824173;
STICKLINE(缩量涨,0,V,1,0),COLORBLUE;
黄金柱:DRAWICON(LLV(L,3) REF(L,3)ANDHHV(V,3) REF(V,3)AND
REF(C,3) REF(O,3)ANDREF(V,3) 2*REF(V,4),0,1);
流通〖亿〗:CAPITAL/1000000,LINETHICK0;
内外比:DYNAINFO(51),COLORYELLOW,NODRAW;
单日:V/REF(V,1),COLORWHITE,NODRAW;
五日量比:V/(REF(MA(V,5),1)/240*FROMOPEN),COLORYELLOW,NODRAW;
换手:VOL*10000/FINANCE(7);
十日换手:SUM(换手,10);
二十日换手:SUM(换手,20);
公式解读:
ZT赋值:如果模糊匹配品种名称ORNAMELIKE( *ST ),返回收盘价=计算价,否则返回如果模糊匹配品种代码OR(模糊匹配品种代码ANDDATE =1200824),返回收盘价=计算涨停价,否则返回收盘价=计算涨停价
输出XG:取反