[淘股吧] 鼠标放在均线上,右键。点修改均线,点进去后。按下面的窗口设置。不要错。
上面是图片。下面是文字。文字发上来。会错位,估计是符号。全半角类错误。自己对应一下。下面发上文字版本。
MA3:MA(C,3),colorwhite;
MA18:MA(C,18),colorred;
ZT:=C/REF(C,1)>1.098 AND C=H AND L1.098 AND C=H;
NZT:=C/REF(C,1)>1.098 AND L=C AND C=H;
JZT:=H/REF(C,1)>1.098 AND C1.098 AND C=L;
STICK
LINE (ZZT,O,C,10,0),coloryellow;
//涨停黄色填充//
STICKLINE(NZT,0.998*C,C,10,0),coloryellow;
//一字黄色填充//
STICKLINE(ZZT,L,H,0.01,0),coloryellow;
//涨停黄色影线填充//
STICKLINE(DT,O,L,10,0),colorgreen;
//跌停绿色填充//
STICKLINE(DT,L,H,0.01,0),colorgreen;
//跌停绿色影线填充//
STICKLINE(JZT AND C>O,O,C,10,0),colormagenta;
//烂板上涨洋红色填充//
STICKLINE(JZT,L,H,0.01,0),colormagenta;
//烂板上涨洋红包色影线填充//
STICKLINE(JZT AND C20,COUNT(ZT,240),0);
一字数:=IF(BARSSINCE(C)>20,COUNT(NZT,240)/2,0);
全涨停:=涨停数+一字数;
假涨停数:=IF(BARSSINCE(C)>270,COUNT(JZT,240),1);
QQQ:=全涨停+假涨停数;
FBL:=全涨停/(全涨停+假涨停数)*100;
DRAWTEXT_FIX(ISLA
STBA R,0.95,0.90,0,TO
STRI NG(QQQ,1)),coloryellow;
DRAWTEXT_FIX(ISLASTBAR,0.95,0.95,0,TOSTRING(FBL,1)),coloryellow;
//上面的数字是一年内的涨停个数,下面的数字是一年内的封板率//
DRAWTEXT_FIX(ISLASTBAR,0.35,0.10,0,BLOCK(0,0)),coloryellow;
DRAWTEXT_FIX(ISLASTBAR,0.35,0.15,0,BLOCK(1,0)),coloryellow;
DRAWTEXT_FIX(ISLASTBAR,0.35,0.25,0,BLOCK(2,0)),coloryellow;
DRAWTEXT_FIX(ISLASTBAR,0.15,0.30,0,BLOCK(3,0)),coloryellow;
//显示所属板块//
WZT:=H/REF(C,1)>1.098 AND L0 AND REF(WZT,1);
B1:=YJ2;
M:=IF(REF(WZT,1),YJ,0);
//判断是否冲击涨停//
SYL:=SUM(M,250)/(A+B);
OK:=SYL>2 AND A/(A+B)>0.7 AND X12;
//溢价率大于2%,同时赚钱比率大于70%,冲击涨停个数大于3//
DRAWTEXT_FIX(OK,0.90,0.90,0,‘好‘),colorred;
DRAWTEXT_FIX(SYL<-2,0.90,0.90,0,‘差‘),colorred;
//显示好与差//