通达信主图操盘主图+成交量副图+庄家控盘副图指标公式源码 免费分享

通达信主图操盘主图指标公式源码:

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);

通达信成交量副图指标公式源码:

VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,0);
MAVOL2:MA(VOLUME,120),COLORFF00FF,LINETHICK2;

通达信庄家控盘副图指标公式源码:

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;

指标截图: