以下是通达信主力轨迹 副图指标(无源码的请下载附件导入)
DRAWTEXT_FIX(1,0,0.05,0,'【使用说明:】'),COLORYELLOW;
DRAWTEXT_FIX(1,0,0.15,0,'当短期线5日跌穿50时,而中长期多空30日线还在50以上,'),COLORMAGENTA;
DRAWTEXT_FIX(1,0,0.25,0,'说明主力没有出货,是洗盘。 '),COLORMAGENTA;
DRAWTEXT_FIX(1,0,0.35,0,'如果短期5日线和中长期30日线都破50,'),COLORRED;
DRAWTEXT_FIX(1,0,0.45,0,'那是主力出货了。'),COLORRED;
N1:=9;N2:=5;
MTM:=C-REF(C,1);
主力轨迹:=100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),COLORWHITE;
MAZL:=MA(主力轨迹,N2),COLORYELLOW;
主力:CROSS(主力轨迹,MAZL),COLORMAGENTA,NODRAW;
STICKLINE(主力,0,4,5,0 ),COLORMAGENTA;
{主力监控}
主力净流入:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*AMO/V/10000,LINETHICK2;
M1:=MA(主力净流入,5);
M2:=MA(主力净流入,10);
主力买进:=LARGEINTRDVOL*AMO/V/10000;
主力卖出:=LARGEOUTTRDVOL*AMO/V/10000;
买入:CROSS(主力买进,主力卖出)AND CROSS(M1,M2) AND MA(VOL,5)>MA(VOL,10),NODRAW,COLORYELLOW;
STICKLINE(买入,4,8,5,0 ),COLORYELLOW;
VAR1J:=REF(LOW,1);
VAR2J:=SMA(ABS(LOW-VAR1J),13,1)/SMA(MAX(LOW-VAR1J,0),13,1)*4;
VAR3J:=EMA(VAR2J,13);
VAR4J:=LLV(LOW,34);
VAR5J:=EMA(IF(LOW<=VAR4J,VAR3J,0),3);
主力进场:VAR5J>REF(VAR5J,1),NODRAW,COLORRED;
STICKLINE(VAR5J>REF(VAR5J,1),10,VAR5J,5,0 ),COLORRED;
{洗盘出货};
多空5日线:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE;
多空10日线:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW;
多空20日线:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORCYAN,LINETHICK2;
多空30日线:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORBLUE,LINETHICK3;
50;
622311233.jpg
|