通达信大盘研判指趋势标公式:
A:SUM(ADVANCE,10)/SUM(DECLINE,10),STICK;
B:MA(ADR,6),;
AA:MA(ADR,12);
STICKLINE(A>REF(A,1),A,0,2,0),COLORMAGENTA;
STICKLINE(A<REF(A,1),A,0,2,0),COLORGREEN;
STICKLINE(A>1.8,1.8,A,2,0),COLORYELLOW;
STICKLINE(A<0.6,0.6,A,2,0),COLORRED;
强:IF(B>REF(B,1),B,DRAWNULL),COLORYELLOW,LINETHICK3;
DRAWBAND(AA,RGB(0,0,255),B,RGB(255,51,51));
AAA:=EMA(ADVANCE/DECLINE,10);
DRAWICON(AAA>REF(AAA,1)*3,0,1);
BB:MA(ADR,3),COLORWHITE;
强1:IF(BB>REF(BB,1),BB,DRAWNULL),COLORRED,LINETHICK2;
DRAWTEXT(A<0.6,A,'底部'),COLORRED;
DRAWTEXT(A>1.8 AND(BB<REF(BB,1)),A,'顶部'),COLORGREEN;
通达信大盘研判指趋势标公式