资金流量指标优化版 增加选股公式

[复制链接]
查看14 | 回复0 | 2022-7-24 06:44:49 | 显示全部楼层 |阅读模式

资金流量指标优化版

GOQIRI:=99990601;
 GOQI:=DATE>=GOQIRI-19000000;
 GOQIVU:=COUNT(GOQI=1,0);
 TIVIQI:=GOQI=1 AND DAY<=15 ;
 TIVIDJ:=GOQIVU=1 OR TIVIQI>REF(TIVIQI,1);
 TIVI:=TIVIDJ=1 AND CURRBARSCOUNT<=20 AND (MOD(FROMOPEN-1,60)>=30 AND FROMOPEN!=240);
 IHDX:=BARSLAST(TIVI=1)>=5;
 WUXD:=GOQI=1 AND IHDX=1;
 AMO:=AMOUNT;
 AMO1:=AMO/10000;{万元}
成交额:AMO1,NODRAW,COLORFFFFFF;
 MD1:=AMO1/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
 MD2:=AMO1/((HIGH-LOW)*2-ABS(CLOSE-OPEN)+ABS(OPEN-REF(CLOSE,1)));
 IN1:=MD1*(CLOSE-OPEN);
 IN2:=MD2*(CLOSE-REF(CLOSE,1));
涨停价:=IF(NAMELIKE('S') OR NAMELIKE('*'),ROUND(REF(CLOSE,1)*1.05*100)/100,ROUND(REF(CLOSE,1)*1.10*100)/100);
跌停价:=IF(NAMELIKE('S') OR NAMELIKE('*'),ROUND(REF(CLOSE,1)*0.95*100)/100,ROUND(REF(CLOSE,1)*0.90*100)/100);
 IN:=IF((ROUND(OPEN*100)/100=涨停价 AND ROUND(CLOSE*100)/100=涨停价) OR (ROUND(OPEN*100)/100=跌停价 AND ROUND(CLOSE*100)/100=跌停价),IN2,IN1);
净流入:IN,NODRAW,COLOR00FFFF;
 IN5:=(IN*0.5+REF(IN,1)*0.4+REF(IN,2)*0.3+REF(IN,3)*0.2+REF(IN,4)*0.1)/1.5;
 INE:=EMA(IN5,5);
活跃流量1:=INE;
活跃流量:IF(WUXD,DRAWNULL,活跃流量1),COLOR4040FF;
 STICKLINE(活跃流量>0,活跃流量,0,1.8,0),COLOR2020FF;
 STICKLINE(活跃流量<0,活跃流量,0,1.8,0),COLORFF2020;
 INE1:=REF(INE,1);
ZF:=((INE-INE1)/INE1)*100;
流量增幅%:IF(INE1<0,-ZF,ZF),NODRAW,COLORFF00FF;
 HVT:=BARSLAST((VOL=HHV(VOL,40)));
量能突破:HVT<2 AND HVT>=0 AND CLOSE>REF(CLOSE,1) AND 流量增幅%>0,NODRAW,COLORFFFFFF;
 DRAWICON(量能突破=1,HHV(活跃流量,20)*1.2,5);
 DRAWICON(CROSS(活跃流量,0),活跃流量*0.1,26);

724477885.jpg

724477885.jpg

 

选股公式:

GOQIRI:=99990601;
 GOQI:=DATE>=GOQIRI-19000000;
 GOQIVU:=COUNT(GOQI=1,0);
 TIVIQI:=GOQI=1 AND DAY<=15 ;
 TIVIDJ:=GOQIVU=1 OR TIVIQI>REF(TIVIQI,1);
 TIVI:=TIVIDJ=1 AND CURRBARSCOUNT<=20 AND (MOD(FROMOPEN-1,60)>=30 AND FROMOPEN!=240);
 IHDX:=BARSLAST(TIVI=1)>=5;
 WUXD:=GOQI=1 AND IHDX=1;
 AMO:=AMOUNT;
 AMO1:=AMO/10000;{万元}
成交额:=AMO1;
 MD1:=AMO1/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
 MD2:=AMO1/((HIGH-LOW)*2-ABS(CLOSE-OPEN)+ABS(OPEN-REF(CLOSE,1)));
 IN1:=MD1*(CLOSE-OPEN);
 IN2:=MD2*(CLOSE-REF(CLOSE,1));
涨停价:=IF(NAMELIKE('S') OR NAMELIKE('*'),ROUND(REF(CLOSE,1)*1.05*100)/100,ROUND(REF(CLOSE,1)*1.10*100)/100);
跌停价:=IF(NAMELIKE('S') OR NAMELIKE('*'),ROUND(REF(CLOSE,1)*0.95*100)/100,ROUND(REF(CLOSE,1)*0.90*100)/100);
 IN:=IF((ROUND(OPEN*100)/100=涨停价 AND ROUND(CLOSE*100)/100=涨停价) OR (ROUND(OPEN*100)/100=跌停价 AND ROUND(CLOSE*100)/100=跌停价),IN2,IN1);
净流入:=IN;
 IN5:=(IN*0.5+REF(IN,1)*0.4+REF(IN,2)*0.3+REF(IN,3)*0.2+REF(IN,4)*0.1)/1.5;
 INE:=EMA(IN5,5);
活跃流量1:=INE;
活跃流量:=IF(WUXD,DRAWNULL,活跃流量1),COLOR4040FF;
 INE1:=REF(INE,1);
ZF:=((INE-INE1)/INE1)*100;
流量增幅%:=IF(INE1<0,-ZF,ZF);
HVT:=BARSLAST((VOL=HHV(VOL,40)));
量能突破:HVT<2 AND HVT>=0 AND CLOSE>REF(CLOSE,1) AND 流量增幅%>0;

 

回复

使用道具 举报

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

本版积分规则