仿指南针资金---猎手工作室修改版
指标说明:
黄色和青色代表敢死队动态,黄色为做多,青色为做空;
红色和绿色代表机构动态,红色为做多,绿色为做空;
图中加入了买入信号、主力净流入和总流入数据,以及资金流速指标;
买入信号就是黄色的小图标;
资金流速快说明活跃,有大资金进出,不是上涨就是下跌;
{仿指南针资金---猎手工作室修改版}
CC:=EMA(C,5)-EMA(C,55),NODRAW;
DD:=EMA(CC,10),NODRAW;
敢死队:(CC-DD)*20000,NODRAW,COLORYELLOW;
DRAWBAND(敢死队,RGB(255,255,51),0,RGB(51,255,255));
DC:=(2*C+H+L+O)/5;
EMDC:=EMA(EMA(EMA(DC,4),4),4);
BB:=(EMDC-REF(EMDC,1))/REF(EMDC,1)*100,;
BA:=MA(BB,2),NODRAW;
机构:(BB-BA)*30000,NODRAW,COLORRED;
DRAWBAND(机构,RGB(255,1,0),0,RGB(1,255,1));
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+ (CLOSE-
LOW)),VOL/2)),LINETHICK0;
卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0- AA*(HIGH-LOW),0-
VOL/2)),LINETHICK0,COLORCYAN;
主力净流入:MA(买量+卖量/2,3)*AMO/V/100000000,COLORYELLOW,NODRAW;
TYP:=(HIGH+LOW+CLOSE)/3;
资金流速:(TYP-MA(TYP,3))/(0.015*AVEDEV(TYP,3))COLORGREEN;
IF(资金流速>REF(资金流速,3),资金流速,DRAWNULL)COLORRED;
买:=IF(O=C AND (C-REF(C,1))/REF(C,1)*100>9.8,AMOUNT,AMOUNT/((H-L)*2-ABS(O-C))*(C-L));
买%:=买/AMOUNT*100;
流入:=AMOUNT*买%/10000000000;
流出:=AMOUNT/100000000-流入;
个股总净流入:(流入-流出);
64555237.jpg
|