[转载]【资金进出升级】 指标及其选股预警指标[通达信源码]
关于一些贴子,做了隐藏,只能注册会员才能查看,主要目的是防止不相干的人查看后导致的版权问题,请见谅!**** Hidden Message *****
选股公式,1. 资金进场
[code]
ZLCM:=EMA(WINNER(CLOSE)*70,3);
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;
ZZLJJ:=EMA(ZZLKP,89);
ZJLRQD:=ZZLKP-ZZLJJ;
AA:=EMA(ZJLRQD,3);
BB:=EMA(AA,5);
CC:=AA-BB;
资金进场:=IF(CROSS(AA,BB),3,0);
资金进场>0;
[/code]
2. 资金出场
[code]
ZLCM:=EMA(WINNER(CLOSE)*70,3);
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;
ZZLJJ:=EMA(ZZLKP,89);
ZJLRQD:=ZZLKP-ZZLJJ;
AA:=EMA(ZJLRQD,3);
BB:=EMA(AA,5);
CC:=AA-BB;
资金出场:=IF(CROSS(BB,AA),-3,0);
资金出场<0;
[/code] 这是效果图:
[img]http://p.qhlt.cn/filestores/2018/01/22/cec5307bde809dc3e03163e0c9af49f0.jpg[/img]
页:
[1]