当前位置:首页 > 教育 > 正文

通达信自用指标——一线天,一套被公认最为精准实用的指标

大家好,我是军师黑马,又到了分享的时间了,这一周大盘连续的回调也是意料之中,跟2014年的技术形态还是有点类似的,如果大盘不回调整理,直接进入疯涨模式,相信这样的牛市是不健康的,市场也是不允许这样的牛市出现的,短暂的回调整理是为了更好的上涨,个人观点还是非常看好下周的表现。闲话不多说,今天还是分享指标吧,今天无偿分享一套自己经常用的指标,也是经过自己的一个测试非常的精准实用。

一线天用法说明

①上穿并且出现红线为入场信号

②线上持股。线下持股

③绿色趋势线提示,黄金横线为量能线

④白金线横线为洗盘线


这里就不多过的介绍功能了,大家拿到指标后可以进行测试,展示源码图如下

一线天主图指标源码

JJ:=(H+L+3*C)/5;

VAR021:=EMA(JJ,5);VAR022:=EMA(JJ,13);VAR023:=EMA(JJ,21);VAR024:=EMA(JJ,34);H1A:=(VAR021+VAR022+VAR023+VAR024)/4;

成本和谐:MA(H1A,5),COLORWHITE,LINETHICK1;

IF(成本和谐>REF(成本和谐,1),成本和谐,DRAWNULL),COLORRED,LINETHICK3;

IF(成本和谐

{ZF:=(EMA(SUM(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)),3),49) * 10)+EMA(C,20);

强势线:IF(PERIOD!=0 ,EMA(ZF,34),DRAWNULL),LINETHICK2,COLOR00FFFF;

IF(强势线>REF(强势线,1),强势线,DRAWNULL),COLORFF00FF,LINETHICK2;

MA120:MA(C,120),DOTLINE,COLORWHITE;}

N:=30;

T1:=CONST(HHVBARS(V,N));

T0:IF(CURRBARSCOUNT<=N+7,CONST(IF(T1=0,C,REF(C,T1))),DRAWNULL),LINETHICK3,COLORYELLOW;

IF(CURRBARSCOUNT=T1+1,T0,DRAWNULL),CIRCLEDOT;

DRAWTEXT(ISLASTBAR,T0,' 量能平台');

N5:=10;

T011:=CONST(LLVBARS(LOW,N5));

T11HIGH:=CONST(REF(HIGH,T011));

T12:=CONST(BARSLAST((CURRBARSCOUNT >(CC01+T011)) AND (HIGH>T11HIGH)));

T12HIGH:=CONST(REF(HIGH,T12));

T13:=CONST(BARSLAST((CURRBARSCOUNT >(CC01+T12)) AND (HIGH>T12HIGH)));

T13HIGH:=CONST(REF(HIGH,T13));

洗盘杀入线:DRAWLINE(CURRBARSCOUNT=T13+1, T13HIGH, ISLASTBAR, T13HIGH, 1),LINETHICK2,COLORWHITE;

DRAWTEXT(ISLASTBAR, T13HIGH, '洗盘杀入线')LINETHICK2,COLORWHITE;

VARA1:=IF(CLOSE>150,91.3,0.913);

箱体下沿:INTPART(CLOSE/VARA1 )*VARA1,POINTDOT,LINETHICK4,COLORGREEN;

箱体上沿:箱体下沿+VARA1,POINTDOT,LINETHICK4,COLORYELLOW ;

箱体中线: (箱体下沿+箱体上沿)/2,POINTDOT,COLORWHITE,LINETHICK3;

N2:=75;P:=5;P01:=10;

{N2为多少天内的高低值参数,我以自已的初始K线根数定义。P1、P2为短、长支撑压力取点参数}

A11:=REF(H,P)=HHV(H,2*P+1);

B11:=FILTER(A11,P);

C11:=BACKSET(B11,P+1);

D1:=FILTER(C11,P);

E1:=BACKSET(ISLASTBAR,BARSLAST(D1)+1);

F1:=E1>REF(E1,1);

短压:DRAWLINE(D1,H,F1,H,1),COLORCYAN;

A22:=REF(L,P)=LLV(L,2*P+1);

B22:=FILTER(A22,P);

C22:=BACKSET(B22,P+1);

D2:=FILTER(C22,P);

E2:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);

F2:=E2>REF(E2,1);

短支:DRAWLINE(D2,L,F2,L,1),COLORLIRED;

AA1:=REF(H,P01)=HHV(H,2*P01+1);

BB1:=FILTER(AA1,P01);

CC1:=BACKSET(BB1,P01+1);

DD1:=FILTER(CC1,P01);

EE1:=BACKSET(ISLASTBAR,BARSLAST(DD1)+1);

FF1:=EE1>REF(EE1,1);

长压:DRAWLINE(DD1,H,FF1,H,1),COLORGREEN;

AA2:=REF(L,P01)=LLV(L,2*P01+1);

BB2:=FILTER(AA2,P01);

CC2:=BACKSET(BB2,P01+1);

DD2:=FILTER(CC2,P01);

EE2:=BACKSET(ISLASTBAR,BARSLAST(DD2)+1);

FF2:=EE2>REF(EE2,1);

长支:DRAWLINE(DD2,L,FF2,L,1),COLORRED;

DRAWTEXT_FIX(1,0.00,0,0,HYBLOCK)COLOR0080FF;

DRAWTEXT_FIX(1,0.14,0,0,DYBLOCK)COLOR00FFFF;

DRAWTEXT_FIX(1,0.00,0.06,0,EXTERNSTR(0,1))COLOR0000FF;

DRAWTEXT_FIX(1,0.00,0.12,0,EXTERNSTR(0,2))COLORFF00FF;


你可能想看:

有话要说...

取消
扫码支持 支付码