【通达信免费源码】高位出局指标 副图 无未来函数 抄底逃顶 操盘控盘

通达信免费指标 12-17 阅读:885 评论:0

30-1PH2221158.png30-1PH2221158-50.png

高位:100,COLORWHITE;

冲顶:70,COLORYELLOW;

预警:60,COLORBLUE;

V1:=MA((O+C+H+L)/4,2);

V2:=MA((O+C+H+L)/4,5);

N1:=BARSLAST(CROSS(V1,V2));

N2:=BARSLAST(CROSS(V2,V1));

N:=IF(N1<N2,N1+1,0-N2-1);

A1:=(H+L+C*2)/4;

A2:=EMA(A1,10);

A3:=STD(A1,10);

A4:=(A1-A2)*100/A3;

A5:=EMA(A4,5);

A6:=(EMA(A5,10)+100/2-5)/2;

A7:=IF(A6<100,IF(A6>-100,A6,-100),100);

多:IF(A7>0,A7,0),COLORYELLOW,LINESTICK,NODRAW;

NOTEXT多:=IF(A7<REF(A7,1),ABS(A7),DRAWNULL),COLORGREEN,LINESTICK;

空:IF(A7<0,ABS(A7),0),COLORMAGENTA,LINESTICK,NODRAW;

A8:=ABS(EMA(A6,4));

A9:IF(A8<100,A8,100),COLORGREEN,LINETHICK2;

DRAWICON(CROSS(多,A9),多*1.1,1);

DRAWICON(CROSS(A9,多),A9*1.1,2);

STICKLINE(多>REF(多,1),多,REF(多,1),10,0),COLORYELLOW;

STICKLINE(多<REF(多,1),多,REF(多,1),10,0),COLORRED;

STICKLINE(空>REF(空,1),空,REF(空,1),10,0),COLORRED;

STICKLINE(空<REF(空,1),空,REF(空,1),10,0),COLORMAGENTA;

NOTEXT获利了结:IF(多>80,75,80),COLORCYAN,LINETHICK1;

NOTEXT出局:IF(多>90,85,90),COLORGREEN,LINETHICK1;

DRAWTEXT(多>90 AND REF(多,1)<90,95,'出'),COLORWHITE;


版权声明

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

服务热线

18020657357

微信客服

微信客服