通达信进场选股公式

[复制链接]
查看27 | 回复0 | 2022-7-24 07:10:47 | 显示全部楼层 |阅读模式

这是以前进场的选股公式
 这个提示进场不及时。有股票当天出现进场了,选股器,不提示。过两三天,在出现那,
 
{进场选股}
 JJ:=(HIGH+LOW+CLOSE)/3;
 QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
 QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
 QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
 QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
 QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
 DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,1000000,10000);
 V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);
 V5:=SMA(V2*240/FROMOPEN*0.9,5,1);
 TT:=(V2*1.01-REF(V2,1));
 TT2:=(REF(V2*1.01,1)-REF(V2,2));
 YY:=TT>3*ABS(TT2);
 TT1:=EMA(V2,15);
 BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; 
 N:=10; 
 P:=3;
 UPR:=BBI+P*STD(BBI,N);   
DWN:=BBI-P*STD(BBI,N); 
 XF:=L<DWN;
 ZK1:=(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25);
 ZD1:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1;
 ZK2:=EMA(ZK1,25);
 ZD2:=EMA(ZD1,25);
 GF:=ZD1>ZD2 AND L<ZD1 AND C<O;
 潜伏:=GF AND XF;
 进:=ZIG(3,5)>REF(ZIG(3,5),1) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3) AND REF(潜伏,1);
 进2:=TT>0  AND CROSS(TT,TT1) AND YY AND REF(潜伏,1);
 进场:进=1 OR 进2=1;

 

这个公式有好多未来函数,XMA啊,ZIG啊

82455361.JPG

82455361.JPG

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则