通达信K线锤子选股指标公式
2020/12/29 18:55:01
T1:=
IF(FINANCE(40)>=100000000000,40, {流通市值大于1000亿的,要求下跌40天}
IF(FINANCE(40)>=50000000000,45, {流通市值大于500亿的,要求下跌45天}
IF(FINANCE(40)>=30000000000,50, {流通市值大于300亿的,要求下跌50天}
IF(FINANCE(40)>=20000000000,50, {流通市值大于200亿的,要求下跌50天}
IF(FINANCE(40)>=10000000000,55, {流通市值大于100亿的,要求下跌55天}
IF(FINANCE(40)>=5000000000,60, {流通市值大于50亿的,要求下跌60天}
65 {流通市值小于50亿的,要求下跌65天}
))))));
N1:=
IF(FINANCE(40)>=100000000000,15, {流通市值大于1000亿的,下跌幅度N1赋值15}
IF(FINANCE(40)>=50000000000,18, {流通市值大于500亿的,下跌幅度N1赋值18}
IF(FINANCE(40)>=30000000000,18, {流通市值大于300亿的,下跌幅度N1赋值18}
IF(FINANCE(40)>=20000000000,25, {流通市值大于200亿的,下跌幅度N1赋值25}
IF(FINANCE(40)>=10000000000,25, {流通市值大于100亿的,下跌幅度N1赋值25}
IF(FINANCE(40)>=5000000000,25, {流通市值大于50亿的,下跌幅度N1赋值25}
30 {流通市值小于50亿的,下跌幅度N1赋值30}
))))));
DOWN_20P:=100*(HHV(C,T1)/REF(C,1)-1) > N1; {寻找60天内下跌超过N %的个股}
锤子形态:=(MIN(REF(CLOSE,1),REF(OPEN,1))-REF(LOW,1))/(REF(HIGH,1)-REF(LOW,1))>0.5 {下影线超过2/3}
AND (REF(HIGH,1)-MAX(REF(CLOSE,1),REF(OPEN,1))) < ABS(REF(O,1)-REF(C,1))/4 {有少量上影线}
AND LLV(LOW,T1)=REF(LOW,1);{锤子当天收60天以内的最低价}
OUT:锤子形态
AND DOWN_20P
AND C>REF(H,1); {今天K线过昨天高点,确认锤子形态}
投股 票网 www.tou1 8.cn
股市公式下载推荐