相关简介:通达信地量选股公式(精准地量)指标源码分享
通达信指标公式源码概况:
指标类别:通达信指标公式
授权方式:免费版
指标评级:★★★★★
指标分类:策略
画线方法:副图
1、选股原理
股价处于上升趋势代表市场健康发展,DIF能够二次出现红柱放大,并且股价调整时间不长,macd金叉向上,说明上涨动力还在持续,再配合成交量的放大。
2、选股条件
(1)股价处于上涨趋势,底比底高。
(2)在股价上涨时DIF出现红柱放大,待股价回抽时DIF红柱逐渐缩短,股价在此上涨时,DIF红柱再次放大,此过程中没有DIF绿柱出现。
(3)DIF出现红柱时快速线慢速线必须形成金叉。
(4)随着低点位的出现最好配合成交量放大。3、注意事项
(1)在DIF二次出现红柱之前,最好不要出现绿柱,即使出现绿柱也不能有放大现象。
(2)MacD金叉的位置(DIF红柱二次放大)最好离0轴很近,或者在0轴之上出现,这种现象说明市场处于强势当中。
通达信指标公式源码:
ma5:=EMA(C,5);
MA13:=EMA(C,13);
UP:=DRAWLINE(L=LLV(L,BArslAst(crOSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),0),COLOR0000FF;
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),0),COLOR00FF00;
A8:=100*EMA(EMA((C-REF(C,1)),6),6)/EMA(EMA(Abs((C-REF(C,1))),6),6);
买1:=IF((LLV(A8,2)=LLV(A8,7)ANDCOUNT(A8<0,2)ANDCROSS(A8,MA(A8,2)))ANDREF(DOWN,1)<REF(DOWN,2)ANDUP>REF(DOWN,1),DRAWNULL,100);
买1=100;
volUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,5);
MAVOL2:MA(VOLUME,35);
MAVOL3:MA(VOLUME,135);
IF(V>LLV(MA(V,8),60),VOL,0),VOLSTICK;
地量:DRAWICON(V<LLV(MA(V,8),60),0,17);
MA(V,5);
MA(V,8);
IF(CROSS(0.9,1/VOL*1000>0.01AND”KDJ.J”<0),VOLUME*5,0),COLORYELLOW,LINETHICK2;
VOLUME:1/VOL*100000,VOLSTICK;
A1:(HHV(VOLUME,60)+HHV(VOLUME,30))*0.45,DOTLINE;
A2:(HHV(VOLUME,60)+HHV(VOLUME,30))*0.55,DOTLINE;
B1:(LLV(VOLUME,60)+LLV(VOLUME,30))*0.45;
B2:(LLV(VOLUME,60)+LLV(VOLUME,30))*0.55;
MID:=ma(CLOSE,26);
UPPER:=MID+2*stD(CLOSE,26);
A1:=crOSS(REF(C,3),REF(UPPER,3))ANDCROSS(REF(V,3),REF(EMA(V,30)*2,3));
A2:=REF(H,4)<REF(UPPER,4)ANDREF(C,1)<REF(UPPER,1)ANDREF(L,1)>REF(MID,1)
ANDREF(C,2)<REF(UPPER,2)ANDREF(L,2)>REF(MID,2);
XG1:=A1ANDA2;
B1:=CROSS(REF(C,4),REF(UPPER,4))ANDCROSS(REF(V,4),REF(EMA(V,30)*2,4));
B2:=REF(H,5)<REF(UPPER,5)ANDREF(C,1)<REF(UPPER,1)ANDREF(L,1)>REF(MID,1)
ANDREF(C,2)<REF(UPPER,2)ANDREF(L,2)>REF(MID,2)
ANDREF(C,3)<REF(UPPER,3)ANDREF(L,3)>REF(MID,3);
XG2:=B1ANDB2;
C1:=CROSS(REF(C,5),REF(UPPER,5))ANDCROSS(REF(V,5),REF(EMA(V,30)*2,5));
C2:=REF(H,6)<REF(UPPER,6)ANDREF(C,1)<REF(UPPER,1)ANDREF(L,1)>REF(MID,1)
ANDREF(C,2)<REF(UPPER,2)ANDREF(L,2)>REF(MID,2)
ANDREF(C,3)<REF(UPPER,3)ANDREF(L,3)>REF(MID,3);
XG3:=C1ANDC2;
D1:=CROSS(REF(C,6),REF(UPPER,6))ANDCROSS(REF(V,6),REF(EMA(V,30)*2,6));
D2:=REF(H,7)<REF(UPPER,7)ANDREF(C,1)<REF(UPPER,1)ANDREF(L,1)>REF(MID,1)
ANDREF(C,2)<REF(UPPER,2)ANDREF(L,2)>REF(MID,2)
ANDREF(C,3)<REF(UPPER,3)ANDREF(L,3)>REF(MID,3);
XG4:=D1ANDD2;
E1:=CROSS(REF(C,7),REF(UPPER,7))ANDCROSS(REF(V,7),REF(EMA(V,30)*2,7));
E2:=REF(H,8)<REF(UPPER,8)ANDREF(C,1)<REF(UPPER,1)ANDREF(L,1)>REF(MID,1)
ANDREF(C,2)<REF(UPPER,2)ANDREF(L,2)>REF(MID,2)
ANDREF(C,3)<REF(UPPER,3)ANDREF(L,3)>REF(MID,3);
XG5:=E1ANDE2;
GY1:=CROSS(C,UPPER)ANDC/REF(C,1)>1.03ANDC/O>1.03;
XG:(XG1ORXG2ORXG3ORXG4ORXG5)ANDGY1;
VAR2:=HIGH-LOW;
VAR3:=Abs(OPEN-CLOSE);
VAR4:=HIGH-IF(CLOSE>OPEN,CLOSE,OPEN);
VAR5:=IF(CLOSE>OPEN,OPEN,CLOSE)-LOW;
VAR6:=VAR3/VAR2*vol;
VAR7:=VAR4/VAR2*VOL;
VAR8:=VAR5/VAR2*VOL;
VARB:=ma(CLOSE,5)>MA(CLOSE,10)ANDMA(CLOSE,10)>MA(CLOSE,30)ANDMA(CLOSE,30)>MA(CLOSE,60);
强势参与:VAR6>MA(VOL,5)*2ANDVAR6>=VAR7ANDVAR6>=VAR8ANDCLOSE>OPENORVOL>MA(VOL,5)*3ANDVARB;
[源码注释]通达信公式动态翻译结果
输出XG:1日前的最近10日CANDV连跌 AND 成交量(手)>1日前的成交量(手) AND 收盘价>1日前的收盘价 AND 收阳线
评论(0)