大盘多空
A1:=EMA(C,12)-EMA(C,25); VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2); 机构:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORRED,LINETHICK2; STICKLINE(机构<-10,0,机构,0.85,0),COLORGREEN;
A2:=EMA(A1,6);
主力:(A2>=0)*A2,COLORWHITE,LINETHICK0;
STICKLINE(A2>=0,A2,0,5,0),COLORWHITE;
STICKLINE(A2<0,A2,0,5,0),COLORD4FF7F;
STICKLINE(A1<0,A1,0,5,0),COLORB00058;
STICKLINE(A1>=0,A1,0,5,0),COLORRED;
VAR8:=VOL>2*MA(VOL,30);
VAR9:="DMI.ADX"(12,6);
VARA:="DMI.ADXR"(12,6);
VARB:=CLOSE>MA(CLOSE,30) AND CLOSE
VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))
0,COLORRED;
STICKLINE(机构>10,0,机构,0.95,0),COLORYELLOW;