通达信牛魔王冠军副图指标 源码 贴图 涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0); LC:=REF(C,1); 操作线:=SMA(MAX(C-LC,0),2,1)/SMA(ABS(C-LC),2,1)*100; 震仓线:=45; 抄底线:=20; PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ; PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线; HH:=COUNT(涨停,13)>=1; A1:=MA(CLOSE,5); A2:=MA(CLOSE,10); A3:=MA(CLOSE,20); A4:=MA(CLOSE,30); XG :(REF(PP,1) AND HH) OR (REF(PP3,1) AND HH) AND C>A1 AND A1>A2 AND A2>A3 AND A3>A4 AND C>O; STICKLINE(XG,0,2,3,1),COLORYELLOW; STICKLINE(XG,9,11,3,1),COLORYELLOW; DRAWTEXT(XG,8,' 冠军'),COLORYELLOW; DRAWICON(XG,1,9); DRAWICON(XG,2,2); DRAWICON(XG,3,1); DRAWICON(XG,4,1); DRAWICON(XG,5,1); DRAWICON(XG,6,1); DRAWICON(XG,7,28); DRAWICON(XG,8,1); DRAWICON(XG,9,1); DRAWICON(XG,10,9); DRAWICON(XG,11,1);
|