通达信指标公式源码概况:

指标类别:通达信指标公式

授权方式:免费版

指标评级:★★★★★

指标分类:策略

画线方法:副图

相关简介:通达信买点精准指标公式(精准买再加仓)源码分享

杯柄理论的买点,简单地说,就是股价放量上升即将创出新高时,为最佳买入时机。其实质都是主力在前期高点附近,考虑到前期高点套牢盘的压力,主动采取的一种洗盘行为,目的是为了走得更远,拉得更高。

实际中有时分为二种情况:

一是超强主力。在前期高点附近,通过横盘方式消化压力。股价在C区域横盘一段时间后,当放量突破C区高点时,即为买点。图中D点

二是强主力。在前期高点附近,对股价进行一定的打压,使股价有一定跌幅。这就形成了欧奈尔的杯柄形态。当放量突破C区高点时,即为买点。图中E点。


通达信指标公式源码介绍:

顶压:HHv(ma(h,11),50),Color00FFFF;

短压:HHv(ma(h,11),15),Color0090E0;

XL1:=llv(ma(h,11),1);

趋势:IF(XL1>=短压,短压,XL1),ColorFFFFFF;

x1:=(3*C+H+L+O)/6;

x2:=EMA(x1,10);

x3:=REF(x2,1);

x4:=(REF(HIGH,1)+REF(LOW,1))/2;

x5:=MA(CLOSE,21)+2*STD(CLOSE,21);

x6:=REF(CLOSE,1);{出货}

x7:=SMA(MAX(CLOSE-x6,0),7,1)/SMA(ABS(CLOSE-x6),7,1)*100;

x8:=CROSS(79,x7);

x9:=FILTER(x8,4);{40}

WZ1:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);{减}

WZ2:=POW(MA(LOW,5),2)+MA(LOW,5);

WZ3:=POW(MA(HIGH,5),2)+MA(HIGH,5);

WZ4:=(WZ1-LLV(WZ2,9))/(HHV(WZ3,9)-LLV(WZ2,9))*150+65;

Dk:=SMA(WZ4,3,1)*1.5;

DD:=SMA(Dk,3,1);

DJ:=3*Dk-2*DD;

WZ5:=EMA(CLOSE,12)-EMA(CLOSE,26);

WZ6:=EMA(WZ5,9);

WZ7:=2*(WZ5-WZ6);{50}

WZ8:=ref(WZ7,1);

WZ9:=CROSS(WZ8,WZ7)and WZ8>0;

DRAWTEXT(WZ9 and dj>250,H,’←减’),ColorBCFF8B;

var11:=EMA(CLOSE,8);{起步}

var2:=EMA(var11,20);

var3:=CROSS(var11,var2);

var4:=var11<MA(CLOSE,120);

var5:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;{逃命}

var6:=SMA(var5,5,1);

VAR3:=LLV(HIGH,240);

VAR4:=100*(CLOSE-VAR3)/VAR3;

VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;

VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;

VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;

VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;

VARA:=BARSCOUNT(CLOSE);

VARB:=VAR8<20 AND VAR9<23 AND VARA>35;

VARC:=VARB AND COUNT(VARB,1)=1;

VARD:=EMA(CLOSE,21)-EMA(CLOSE,8);

VARE:=EMA(VARD,5);

VARF:=TROUGHBARS(3,6,1)<4 AND CROSS(VARD,VARE);

VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);

VAR11:=ZIG(3,6)>REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2)AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);

VAR12:=ZIG(3,6)<REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2)AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);

VAR13:=ZIG(3,22)>REF(ZIG(3,22),1)AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2)AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);

VAR14:=ZIG(3,22)<REF(ZIG(3,22),1)AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2)AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);

VAR15:=ZIG(3,51)>REF(ZIG(3,51),1)AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2)AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);

VAR16:=ZIG(3,51)<REF(ZIG(3,51),1)AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2)AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);

VAR17:=ZIG(3,72)>REF(ZIG(3,72),1)AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2)AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);

VAR18:=ZIG(3,72)<REF(ZIG(3,72),1)AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2)AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);

VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);

VAR1A:=EMA(VAR19,100);

VAR1B:=2*(VAR19-VAR1A);

VAR1C:=POW(VAR1B,3)*0.1+POW(VAR1B,1);

VAR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));

VAR1E:=EMA(VAR1D*0.97,3);

VAR1F:=(HIGH+LOW+CLOSE)/3;

VAR20:=(VAR1F-MA(VAR1F,14))/(0.015*AVEDEV(VAR1F,14));

VAR21:=CROSS(VAR1E,LOW);

选股买点:VAR10,,COLORYELLOW;

组合买:(VAR11+VAR13+VAR15+VAR17),,COLORRED;

组合卖:(VAR12+VAR14+VAR16+VAR18),,COLORGREEN;

黑马线:IF(MONTH<2008 AND VAR1B>0.1,VAR1C,0)*1,,COLOR6699CC;

黑马信号介入点:选股买点AND VARF AND VARC AND VAR21 AND VAR4<0 AND VAR5<2 AND VAR6=0,,COLORFFFF99;

DRAWTEXT(VAR13,0.6,’●’),,COLORRED;

DRAWICON(组合买,组合买,1);

DRAWICON(组合卖,组合卖,9);

DRAWTEXT(黑马信号介入点>0,4.5,’●我的黑马介入点’),,COLORRED;

DRAWICON(选股买点>0,4.2,1);

DRAWTEXT(选股买点AND VARF AND VARC,2.8,’30%下单莫错过!’),,COLORMAGENTA;

DRAWTEXT(VAR18,3,’空仓’),,COLORGREEN;

DRAWTEXT(VAR20<-110 AND选股买点>0,2,’选股买点’),,COLORYELLOW;

DRAWTEXT(VAR17,1.3,’发现黑马’),,COLORFF6600;

DRAWTEXT(选股买点AND VAR20<-100 AND VARF AND VARC>0,4.1,’★组合5分钟线选股思路获利5%以上’),,COLORRED;

-10;

Var1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;

Var2:=SMA(SMA(Var1,3,1),3,1);

Var3:=EMA(Var2,5);

股海论坛专用版:Var2,COLORYELLOW;

91.307;

6.788;

49.048;

BB:Var3,COLORMAGENTA;

DD:3*Var2-2*Var3,COLORWHITE;

见底:STICKLINE(DD<6.788,100,95,7,0),COLORYELLOW;

STICKLINE(CROSS(DD,Var2),Var2-5,Var2+5,8,0),COLORRED;

HAHA:0

[源码注释]通达信公式动态翻译结果

N赋值:1.01

A1赋值:收盘价的5日简单移动平均和收盘价的10日简单移动平均的较大值和收盘价的20日简单移动平均的较大值和收盘价的30日简单移动平均的较大值

A2赋值:收盘价的5日简单移动平均和收盘价的10日简单移动平均的较小值和收盘价的20日简单移动平均的较小值和收盘价的30日简单移动平均的较小值

去ST赋值:模糊匹配品种名称=0 AND 模糊匹配品种名称=0 AND 模糊匹配品种名称=0 AND 模糊匹配品种名称=0

LT赋值:流通市值/100000000

输出XG:收盘价<20 AND LT<10 AND A1/A2<N AND 换手线的HSL<10 AND 去ST

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。