【通达信源码分享】精品指标公式-突围战法主图公式

通达信免费指标 01-18 阅读:589 评论:0

公式源码:


ZT:=REF(C,1)*1.1-C<0.01 AND H=C;

MA1:=MA(CLOSE,5);

MA2:=MA(CLOSE,10);

MA3:=MA(CLOSE,15);

MA4:=MA(CLOSE,20);

MA5:=MA(CLOSE,25);

MA6:=MA(CLOSE,30);

MA7:=MA(CLOSE,35);

MA8:=MA(CLOSE,40);

MA9:=MA(CLOSE,45);

MA10:=MA(CLOSE,50);

MA11:=MA(CLOSE,55);

MA12:=MA(CLOSE,60);

MA13:=MA(CLOSE,65);

MA14:=MA(CLOSE,70);

MA15:=MA(CLOSE,75);

MA16:=MA(CLOSE,80);

MA17:=MA(CLOSE,85);

MA18:=MA(CLOSE,90);

MA19:=MA(CLOSE,95);

MA20:=MA(CLOSE,100);

MA21:=MA(CLOSE,105);

MA22:=MA(CLOSE,110);

MA23:=MA(CLOSE,115);

MA24:=MA(CLOSE,120);

MA25:MA(CLOSE,250),COLORLIRED,LINETHICK2;

股价平台60:REF(H,BARSLAST(H=HHV(H,60)));

ZX1:MAX(MA1,MAX(MA2,MAX(MA3,MAX(MA4,MAX(MA5,MAX(MA6,MAX(MA7,MAX(MA8,MAX(MA9,MAX(MA10,MAX(MA11,MAX(MA12,MAX(MA13,MAX(MA14,MAX(MA15,MAX(MA16,MAX(MA17,MAX(MA18,MAX(MA19,MAX(MA20,MAX(MA21,MAX(MA22,MAX(MA23,MA24))))))))))))))))))))))),COLORRED,LINETHICK2;

ZX2:MIN(MA1,MIN(MA2,MIN(MA3,MIN(MA4,MIN(MA5,MIN(MA6,MIN(MA7,MIN(MA8,MIN(MA9,MIN(MA10,MIN(MA11,MIN(MA12,MIN(MA13,MIN(MA14,MIN(MA15,MIN(MA16,MIN(MA17,MIN(MA18,MIN(MA19,MIN(MA20,MIN(MA21,MIN(MA22,MIN(MA23,MA24))))))))))))))))))))))),COLORYELLOW,LINETHICK2;

IF(REF(ZX1,1)>ZX1,ZX1,DRAWNULL),COLORGREEN,LINETHICK2;

异动:=CROSS(C,ZX1) AND CROSS(C,MA25);

DRAWTEXT(异动,L,'异动'),COLORMAGENTA;

A11:=MA1=ZX2;

DRAWTEXT(A11,L,'合');

A33:=NOT(REF(MA1,1)=REF(ZX1,1)) AND MA1=ZX1;

DRAWTEXT(A33,L,'加');

A22:=CROSS(C,ZX1) AND ZT;

DRAWTEXT(A22,L,'牛');

DF2:=(C-REF(C,1))/REF(C,1)*100>5;

DF3:=(C-O)/O*100>4;

A1:=L<ZX2 AND DF2;

A2:=CROSS(C,ZX2) AND DF2;

A3:=L<ZX2 AND DF3;

狙击:=A1 OR A2 OR A3;

DRAWTEXT(狙击,L*0.99,'狙击'),COLORRED;

STICKLINE(狙击,C,O,4,1),COLORYELLOW;

STICKLINE(狙击,C,O,3,0),COLORYELLOW;

30-1G029134108.png

版权声明

本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!

服务热线

18020657357

微信客服

微信客服