博弈K线中添加预警功能

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

博弈K线中添加预警功能

DRAWGBK(C>0,RGB(0,150,150),RGB(0,00,100),0,' ',0),LINETHICK2;

 25,LINETHICK2,COLORRED;
开:WINNER(O)*100,LINETHICK0,COLORWHITE;
高:WINNER(H)*100,LINETHICK0,COLORBLUE;
低:WINNER(L)*100,LINETHICK0,COLORCYAN;
收:WINNER(C)*100,LINETHICK0,COLORGREEN;
博弈K线长阳:=收-开>20;
无量长阳:=收-开>15 AND V/CAPITAL<0.03;
 STICKLINE(收>=开,开,收,2,1),COLORYELLOW;
 STICKLINE(收>=开,低,开,0,0),COLORYELLOW;
 STICKLINE(收>=开,收,高,0,0),COLORYELLOW;
 STICKLINE(收<开,开,收,2,1),COLORGREEN;
 STICKLINE(收<开,收,低,0,0),COLORGREEN;
 STICKLINE(收<开,开,高,0,0),COLORGREEN;
 STICKLINE(无量长阳,开,收,2,0),COLORMAGENTA;
 STICKLINE(无量长阳,低,开,0,0),COLORMAGENTA;
 STICKLINE(无量长阳,收,高,0,0),COLORMAGENTA;
 STICKLINE(博弈K线长阳,开,收,2,0),COLORRED;
 STICKLINE(博弈K线长阳,低,开,0,0),COLORRED;
 STICKLINE(博弈K线长阳,收,高,0,0),COLORRED;
 DRAWICON(CROSS(收,25),25-0.05 ,23);
 DRAWTEXT(CROSS(收,25),25-0.05,'↖买▲'),COLORYELLOW;
 

044300149.jpg

044300149.jpg

 

选股预警:

一字涨停:=C/REF(C,1)>1.0975 AND H=O;  
去除ST股:=IF(NAMELIKE('S'),0,1);
去除星股:=IF(NAMELIKE('*'),0,1);
去除停牌:=DYNAINFO(8)>0;
停牌:=(DYNAINFO(4)=0);
 MM:=NOT(停牌);
量比:=IF(ISLASTBAR,DYNAINFO(17),V/REF(MA(V,5),1));
涨幅:=DYNAINFO(14)*100;
换手率:=DYNAINFO(37)*100;换手:=V/CAPITAL*100;
去除ST:=去除ST股 AND 去除星股 AND MM AND NOT(一字涨停) AND 涨幅>2.3 AND DYNAINFO(17)>1.82
 AND C<17.00  &&  (CAPITAL/100)/10000<159.87 AND IF(CODELIKE('300'),0,1)  AND 换手>2.85;
线:=25;收:=WINNER(C)*100;CROSS(收,线) && 去除ST;

 

回复

使用道具 举报

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

本版积分规则