通達(dá)信主圖操盤主圖指標(biāo)公式源碼:A:=EMA(CLOSE,26)+ABS(EMA(CLOSE,26)-REF(EMA(CLOSE,26),1));
B:=EMA(CLOSE,26)+EMA(CLOSE,26)-REF(EMA(CLOSE,26),1);
操盤線:IF(EMA(CLOSE,26)<B,B,EMA(CLOSE,26)),COLORRED,LINETHICK3;
防守線:操盤線-(EMA(C,6)-操盤線),COLOR888888,LINETHICK1;
攻擊線:EMA(C,6),COLORYELLOW,LINETHICK1;
IF(操盤線<REF(操盤線,1),操盤線,DRAWNULL),COLORGREEN,LINETHICK3;
IF(攻擊線>防守線,操盤線,DRAWNULL),COLORRED,LINETHICK3;
DRAWICON(CROSS(操盤線,防守線),操盤線*0.99,1);
DRAWICON(CROSS(防守線,操盤線),操盤線*1.01,2); 通達(dá)信成交量副圖指標(biāo)公式源碼:VOLUME:VOL,VOLSTICK; MAVOL1:MA(VOLUME,0); MAVOL2:MA(VOLUME,120),COLORFF00FF,LINETHICK2; 通達(dá)信莊家控盤副圖指標(biāo)公式源碼:AAA:=(3*CLOSE+OPEN+HIGH+LOW)/6;
MA12:=EMA(AAA,12);
MA36:=EMA(AAA,36);
MA108:=EMA(AAA,108);
MA250:=EMA(AAA,250);
控盤度:(EMA(AAA,12)-REF(EMA(AAA,36),1))/REF(EMA(AAA,36),1)*100+50,NODRAW;
STICKLINE( 控盤度>=50,50,控盤度,2.5,0),COLORYELLOW;
STICKLINE( 控盤度>=60,60,控盤度,2.5,0),COLORRED;
STICKLINE( 控盤度>=80,80,控盤度,2.5,0),COLORMAGENTA;
低控盤:IF(控盤度>=50,控盤度,0),LINETHICK0,COLORYELLOW,NODRAW;
中控盤:IF(控盤度>=60,控盤度,0),LINETHICK0,COLORRED,NODRAW;
高控盤:IF(控盤度>=80,控盤度,0),LINETHICK0,COLORMAGENTA,NODRAW; 指標(biāo)截圖: |
|