程序化指标公式
问答中心

通达信突破买入主图指标公式

通达信指标 2020-03-23阅读量:4721

安装后如下图,友情提示(指标只是辅助,不作建议) 所有程序均为免费分享。

不会安装点击 安装指南 步骤操作。

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

VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;

VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;

VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;

VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;

VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;

VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;

DRAWBAND(VAR1,RGB(255,0,255),VAR6,RGB(250,250,0));

DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

短线:VAR1,COLORWHITE;

中线:VAR6,COLORYELLOW;

NOTEXT1:IF(VAR1=VAR6,VAR6,DRAWNULL),COLORWHITE,LINETHICK2;

DRAWICON(VAR1>VAR6 AND REF(VAR1,1)=REF(VAR6,1),L*0.95,5);

{立桩价}

N1:=5;

N2:=7;

N3:=11;

EM1:=EMA(C,N1),COLORWHITE;

EM2:=EMA(C,N2),COLORRED;

EM3:=EMA(C,N3),COLORGREEN;

TJ:=BETWEEN(EM2,EM1,EM3);

MA20:MA(C,14) LINETHICK3;

IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK3;

立桩量:=FILTER(TJ=0,5);

价:REF(H,BARSLAST(立桩量)),NODRAW;

STICKLINE(C,REF(H,BARSLAST(立桩量)),REF(H,BARSLAST(立桩量)),6,0),COLORLIMAGENTA;

DRAWTEXT(C AND ISLASTBAR,价,' 突破买入');

出水芙蓉:=(OPEN<EMA(C,20) OR OPEN<EMA(C,40) OR OPEN<EMA(C,60)) AND (C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))))AND (V/MA(V,30)>1.2 AND C/REF(C,1)>1.049);

DRAWTEXT(出水芙蓉,L-L*0.02,'出水芙蓉'),COLORYELLOW;

AAA1:=CLOSE>OPEN;

BBB1:=AAA1&&CLOSE>MA(CLOSE,5)&&CLOSE>MA(CLOSE,10)&&CLOSE>MA(CLOSE,20);

CCC1:=BBB1&&OPEN<MA(CLOSE,10)&&OPEN<MA(CLOSE,20);

出水芙蓉2:=CCC1&&(CLOSE-OPEN)>0.0618*CLOSE;

DRAWTEXT(出水芙蓉2,H,'出水芙蓉2'),COLORWHITE;

STICKLINE(出水芙蓉,C,O,2,0),COLORYELLOW;

DRAWICON(CROSS(C,价),H,1);

{捕捉主升浪}

MA135:=MA(VOL,135);

TJ1:=VOL=HHV(VOL,10) AND VOL>1.7*REF(VOL,1) AND C>=1.03*REF(C,1) AND C>=O AND VOL<=MA135*3.5;

LJL:=FILTER(TJ1,3);

TJ3:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(LOW,3),1,0);

ST:=TJ3=1;

CL:=FILTER(ST,3);

{更多指标关注微信公众号:程序化指标}

STICKLINE(CLOSE,REF(L,BARSLAST(LJL)),REF(L,BARSLAST(LJL)),2,0),COLORCYAN; }

STICKLINE(LJL,OPEN,CLOSE,1,0),COLORYELLOW;

DRAWTEXT(LJL,L*0.99,'支撑'),COLORWHITE;

版权声明

所有指标均为免费分享。

文章内容来自互联网,本网站无任何收费项目也不推荐股票
广告投放请自行识别风险。

分享:

扫一扫在手机阅读、分享本文

程序化指标公众号

左边广告一

关闭

右边广告二

关闭