【AI尾盘抢筹法】抢筹先锋,分享编写思路,副图/指标 源码
【AI尾盘抢筹法】编写思路:
1、高开幅度不超过3%;
2、日内涨幅大于2%,收盘涨幅不超过5%;
3、昨天涨幅小于5%,近一个月涨幅小于60%;
4、要求长上影线不长,且12天内的区间振幅不超过18%;
5、成交量大于120天均量线的1.2倍;
6、换手率大于5%,小于10%,量比大于2;
7、自动去掉ST类型个股;
8、指标可副图可,
1、尾盘抢筹副图指标:
ABC1:=(OPEN-REF(C,1))/REF(C,1)*100< 3;
ABC2:=(C-REF(C,1))/REF(C,1)*100< 5;
ABC3:=(C-REF(C,1))/REF(C,1)*100>2;
ABC4:=(REF(C,1)-REF(C,2))/REF(C,2)*100< 5;
ABC5:=(C-REF(C,29))/REF(C,29)*100< 60;
ABC6:=(H-C)/REF(C,1)*100< 4.3;
ABC9:=VOL/CAPITAL*100>5 AND VOL/CAPITAL*100< 10 AND V/REF(MA(V,5),1)>2;
VOLUME:=VOL;
MAVOL1:=MA(VOLUME,120);
ABC7:=VOL>MAVOL1*1.2;
去ST:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S'));
ABC78:=(REF(HHV(C,12),1)-REF(LLV(C,12),1))/REF(LLV(C,12),1)*100< 18;
AI尾盘抢筹:ABC1 AND ABC2 AND ABC3 AND ABC4 AND ABC5 AND ABC6 AND ABC7 AND ABC78 AND 去ST AND ABC9 COLORRED;
DRAWICON(AI尾盘抢筹,1,9);
DRAWTEXT(AI尾盘抢筹,0.6,' ★抢筹'),COLORYELLOW;