最新通达信指标公式 通达信高位出局副图公式源码(2)
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;
更多股票公式相关资讯请关注南方财富网
(股票知识网zhishi.southmoney.com)