一个不错的短线盘中选股方法,求高手改成预警公式[localimg=331,257]1[/localimg]这是会员mnbvcxzpszmj 的DZH1的思路选股(祥见/viewthread.p ... p;extra=&page=1),得到了会员自言自语的优化改成了DTX的选股方法,求高手改成DTX的预警公式!!!
在选股时下列条件同时成立:
1.1 技术指标:红柱选股指标线买等于1.00[日线]
1.2 技术指标:老鸭回头副(10)指标线输出1等于1.00[日线]
1.3 技术指标:预测涨停板(5)指标线输出1等于1.00[日线]
下面是以上三个公式的原码(由自言自语 改编,祥见/thread-961520-6-1.html):
1;{预测涨停板}
{DF:3,10,5;DF表示涨停信号出现后的短期跌幅,低吸信号使用。}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=(SMA(RSV,3,1));
D:=(SMA(K,3,1));
KK:=INTPART(SMA(RSV,3,1));
DD:=INTPART(SMA(K,3,1));
N:=KK+DD,COLORFF00FF,LINETHICK2;
预测:=IF(CROSS(N,50),90,50),COLOR00FF00;
涨停:=IF(CROSS(N,99.5),100,50),COLORYELLOW;
涨停>预测;
2;{红柱选股}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),COLORWHITE;
D:=SMA(K,3,1),COLORYELLOW;
J:=3*K-2*D,COLORFF00FF;
A:=250;
DIF:=(EMA(CLOSE,12) - EMA(CLOSE,26));
DEA:=EMA(DIF,9);
MACD:=2*(DIF-DEA);
MM:=IF(MACD< 0,MACD,0);
JJ:=MM> REF(MM,1);
ZZ:=REF(JJ,1)=1;
准备:=(JJ AND ZZ)*DEA;
JH:=HHV(MAX(K,MAX(D,J)),A);
DH:=HHV(MAX(DIF,DEA),A);
SH:=INTPART(JH/DH)/2;
DIF50:=SH*DIF+50,COLORFFFF00;
DEA50:=SH*DEA+50,COLORBLUE;
红柱:=IF(1.5*(DIF50-DEA50)>REF(1.5*(DIF50-DEA50),1),1.5*(DIF50-DEA50),0);
绿柱:=IF(1.5*(DIF50-DEA50)<REF(1.5*(DIF50-DEA50),1),1.5*(DIF50-DEA50),0);
缩脚:=IF(1.5*(DIF50-DEA50)<0 AND REF(1.5*(DIF50-DEA50),1)< REF(1.5*(DIF50-DEA50),2) AND 1.5*(DIF50-DEA50)>REF(1.5*(DIF50-DEA50),1),1,0);
买:=FILTER(缩脚,3) AND 缩脚;
买>0;
3;{老鸭回头----创幻论坛一品茶缘编写精品指标!}
{N:1,20,10;}
MA5:=MA(C,5),COLORWHITE;
MA10:=MA(C,10),COLORFF00FF;
MA20:=MA(C,20),COLOR00FF00;
MA30:=MA(C,30),COLORYELLOW;
MA120:=SMA(C,120,1),COLOR0000FF;
ZH520:=ABS(MA5-MA20)/MA20*100<=N;
ZH530:=ABS(MA5-MA30)/MA30*100<=N;
QSXS1:=MA5>REF(MA5,1);
QSXS2:=MA20>REF(MA20,1);
QSXS3:=MA30>REF(MA30,1);
DTPL:=MA20>MA30 AND MA30>MA120;
LYHT:=DTPL AND QSXS2 AND QSXS3 AND NOT(QSXS1) AND REF(QSXS1,1);
老鸭回头:=LYHT*50,COLORFF00FF;
WR5:=100*(HHV(H,5)-C)/(HHV(H,5)-LLV(L,5));
WR6:=100*(HHV(H,6)-C)/(HHV(H,6)-LLV(L,6));
WR:=80-(WR5*3+WR6*2)/5;
坑:=IF(WR<0,WR,0),COLORYELLOW;
LYT:=DTPL AND QSXS2 AND QSXS3 AND COUNT(QSXS1,4)<=1;
GJHS:=C>MA5 AND ((QSXS1 AND NOT(REF(QSXS1,1))) OR C>REF(C,3));
LYKK:=GJHS AND (ZH520 OR ZH530) AND LYT;
买:=(LYKK AND NOT(REF(LYKK,1)))*50,COLOR00FF00,LINETHICK2;
买>0;
求高手们改成预警公式,谢谢!!!
18日的盘后选取股:
下载 (8.19 KB)
-1-18 17:12
为感谢创幻各位高手的帮助,现将过程详细讲解,按程序操作,你再也不会说不懂了吧!!!
1、公式输入
功能——专家系统——公式管理器——条件选股公式——其它——新建——写上公式名称(自己定)——将的#5中的选股公式复制后粘贴在大方框内——确定
2、预警系统——条件预警设置——添加股票(上证A股和深证A股全选)——确定——公式设置——添加公式——选股公式中选中自定义的选股公式名称——确定
3、将股软进行关闭后重新启动,完成!!
下载 (12.2 KB)
-1-20 15:57
[ 本帖最后由 cnjt 于 -1-20 15:58 编辑 ]
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
A:=250;
DIF:=(EMA(CLOSE,12) - EMA(CLOSE,26));
DEA:=EMA(DIF,9);
MACD:=2*(DIF-DEA);
MM:=IF(MACD< 0,MACD,0);
JJ:=MM> REF(MM,1);
ZZ:=REF(JJ,1)=1;
JH:=HHV(MAX(K,MAX(D,J)),A);
DH:=HHV(MAX(DIF,DEA),A);
SH:=INTPART(JH/DH)/2;
DIF50:=SH*DIF+50;
DEA50:=SH*DEA+50;
缩脚:=IF(1.5*(DIF50-DEA50)<0 AND REF(1.5*(DIF50-DEA50),1)< REF(1.5*(DIF50-DEA50),2) AND 1.5*(DIF50-DEA50)>REF(1.5*(DIF50-DEA50),1),1,0);
红柱操盘买:=FILTER(缩脚,3) AND 缩脚;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
MA120:=SMA(C,120,1);
ZH520:=ABS(MA5-MA20)/MA20*100<=10;
ZH530:=ABS(MA5-MA30)/MA30*100<=10;
QSXS1:=MA5>REF(MA5,1);
QSXS2:=MA20>REF(MA20,1);
QSXS3:=MA30>REF(MA30,1);
DTPL:=MA20>MA30 AND MA30>MA120;
LYHT:=DTPL AND QSXS2 AND QSXS3 AND NOT(QSXS1) AND REF(QSXS1,1);
LYT:=DTPL AND QSXS2 AND QSXS3 AND COUNT(QSXS1,4)<=1;
GJHS:=C>MA5 AND ((QSXS1 AND NOT(REF(QSXS1,1))) OR C>REF(C,3));
LYKK:=GJHS AND (ZH520 OR ZH530) AND LYT;
老鸭回头买:=(LYKK AND NOT(REF(LYKK,1)))*50;
KK:=INTPART(SMA(RSV,3,1));
DD:=INTPART(SMA(K,3,1));
N:=KK+DD;
预测:=IF(CROSS(N,50),90,50);
涨停:=IF(CROSS(N,99.5),100,50);
K21:=SMA(RSV,3,1);
K22:=SMA(K21,3,1);
大牛短趋势:=K22-REF(K22,1);
红柱操盘买>0AND 老鸭回头买 AND 涨停>预测;
如果觉得《[通达信] 一个不错的短线盘中选股方法 求高手改成警告公式》对你有帮助,请点赞、收藏,并留下你的观点哦!