公式描述
看股票进场或出逃,可以根据股价所处的位置、上市公司利好利空公告、大单动向、北向资金流向以及K线形态上分析。比如说:
1、上市公司有利空消息,则主力资金一般都会出逃;而如果公司有利好消息,主力资金大概率会进场。
2、大单动向如果大单都是红柱,则说明今日有主力流入;而如果大单显示绿柱,则说明主力在出逃,散户在流入。
3、北向资金流向可以在交易软件中看沪深港通资金,一般净流入或净买入的数值越大,说明主力资金在进场;而如果净买入或净流入的数值是负数,则说明北向资金在出逃。
4、K线形态上,如果在高位收大阴线、吊颈线,或高位死叉、高位顶背离等技术图形出现后,说明主力资金在出逃。如果在低位收十字星、V字形态,双重底、出水芙蓉等形态则说明有主力资金进场。
今日分享的通达信主力资金入场指标公式是一个分析个股中主力进场与出逃的信号的指标公式。
具体信号说明:
当指标中出现“主力进场”的信号时是主力持仓力度加强的信号,是主力进场的信号,后市上涨的概率较大,是参考买入的信号。
当指标中出现“卖”的信号时,是主力撤离的信号,后市下跌的概率较大,是参考卖出的信号。
公式案例
公式源码
AA:=LLV(LOW,34);
BB:=HHV(HIGH,30);
DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);
谷:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);
GOOD1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
GOOD2:=SMA(GOOD1,3,1);
STICKLINE(FILTER(GOOD7,5)=1,0,70,1,0),COLORLIGREEN ;
DRAWTEXT(FILTER(GOOD7,5)=1,50,' 卖'),LINETHICK1,COLORFFCC66;
趋势1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),DOTLINE,COLORGRAY;
GOOD8:=CROSS(GOOD2,GOOD3) AND GOOD3>80 AND GOOD3>GOOD4;
GOOD9:=CROSS(趋势1,GOOD2) AND 趋势1<20 AND 趋势1<段;
分批卖出:STICKLINE(GOOD8,50,90,1,0),COLOR008360;
分批买入:STICKLINE(GOOD9,40,0,1,0),COLOR000080;
NOTEXT1:90,COLORGRAY,DOTLINE;
NOTEXT:=0,COLORYELLOW ;
GOOD01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
GOOD02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
GOOD03:=CROSS(GOOD02,GOOD01);
GOOD04:=REF(GOOD02,2)<REF(GOOD02,1) AND GOOD02<REF(GOOD02,1);
GOOD05:=COUNT(GOOD03,7)>0 AND GOOD04;
GOOD06:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
GOOD07:=SMA(ABS(LOW-GOOD06),13,1)/SMA(MAX(LOW-GOOD06,0),10,1);
GOOD08:=EMA(GOOD07,10);
GOOD09:=EMA(C,5);
GOOD10:=LLV(LOW,33);
GOOD11:=EMA(IF(LOW<=GOOD10,GOOD09,0),3)*40;
GOOD12:=IF(GOOD11>100,GOOD11*0.312,GOOD11);
资金入场:GOOD02,COLORRED;
GUB1:=REF(LOW,1);
GUB2:=SMA(ABS(LOW-GUB1),13,1)/SMA(MAX(LOW-GUB1,0),13,1)*4;
GUB3:=EMA(GUB2,13);
GUB4:=LLV(LOW,34);
GUB5:=EMA(IF(LOW<=GUB4,GUB3,0),3);
GUB6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
GUB7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
GUB8:=GUB6<REF(GUB7,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
散户:STICKLINE(GUB5>REF(GUB5,1),0,GUB5,0.5,0),COLORGREEN;
STICKLINE(GUB8 AND COUNT(GUB8,30)=1,0,18,0.5,0),COLORBLUE;
STICKLINE(GUB8 AND COUNT(GUB8,30)=1,18,36,0.5,0),COLORFF7700;
STICKLINE(GUB8 AND COUNT(GUB8,30)=1,36,60,1,0),COLORYELLOW;
DRAWTEXT(GUB8 AND COUNT(GUB8,30)=1,80,'主力进场★'),COLORYELLOW; |