【大智慧】分时突破涨停板指标
-
相关简介:tt:=BARSCOUNT(C); CC:=CLOSE; zz:=SUM(AMOUNT,tt)/SUM(VOL*100,tt); zz1:=BETWEEN(C/zz,1.05,0.95); 均线:=IF(zz1=0,MA(C,TT),zz); 上均:均线 + AVEDEV(C,tt)*2,COLOR00FF00,LINETHICK2; 下均:均线 - AVEDEV(C,tt)*2,COLORFF6600,LINETHICK2; 时长:=if(HOUR=10 AND HOUR15 ,1,0); 涨
-
文章来源:股海网作者:股海网发布时间:2013-08-19浏览次数:
tt:=BARSCOUNT(C);
CC:=CLOSE;
zz:=SUM(AMOUNT,tt)/SUM(VOL*100,tt);
zz1:=BETWEEN(C/zz,1.05,0.95);
均线:=IF(zz1=0,MA(C,TT),zz);
上均:均线 + AVEDEV(C,tt)*2,COLOR00FF00,LINETHICK2;
下均:均线 - AVEDEV(C,tt)*2,COLORFF6600,LINETHICK2;
时长:=if(HOUR>=10 AND HOUR<15 ,1,0);
涨幅:=(close/DYNAINFO(3))>=1.015;
跌幅:=(close/DYNAINFO(3))<=0.985;
涨跌幅:=涨幅 OR 跌幅;
yy:=SMA(vol,30,1);
放量:=(yy-LLV(Llv(yy,1),30))/(HHV(Hhv(yy,1),30)-LLV(Llv(yy,1),30))>0;
横盘:=((HHV(CLOSE,TT)-LLV(CLOSE,TT))/CLOSE)<=0.05;
横涨:=涨跌幅=0 and 横盘 and 时长 and 放量 and CROSS(CC,上均)and DYNAINFO(22)<DYNAINFO(23) ;
横跌:=涨跌幅=0 and 横盘 and 时长 and 放量 and CROSS(下均,CC) ;
PP:= FILTER(横涨,100) ;
UU:= FILTER(横跌,50) ;
DRAWTEXT(PP,上均,'★上突'),colorff00ff;
DRAWTEXT(UU,下均,'★下破'),COLOR00FFFF;
VERTLINE( PP,3),COLORWHITE,LINETHICK2;
VERTLINE( UU,3),COLOR00FF00,LINETHICK2;
N:=150;
BU:=BARSLAST((CLOSE = HHV(CLOSE,N)));
SE:=BARSLAST((CLOSE = LLV(CLOSE,N)));
KK1:=SE;
KK2:=BU;
LM1:=SE;
LM2:=BU;
OK:=((KK1 > KK2) AND (LM1 > LM2));
OK1:=((KK1 > KK2) AND (LM1 < LM2));
NOK:=((KK2 > KK1) AND (LM2 > LM1));
NOK1:=((KK2 > KK1) AND (LM2 < LM1));
STICKLINE(OK1,CLOSE,OPEN,8,0),colorFFFF00;
STICKLINE(OK1,HIGH,LOW,0,0),colorFFFF00;
STICKLINE(OK,CLOSE,OPEN,8,0),colorred;
STICKLINE(OK,HIGH,LOW,0,0),colorred;
STICKLINE(NOK,CLOSE,OPEN,8,0),colorFFFF00;
STICKLINE(NOK,HIGH,LOW,0,0),colorFFFF00;
STICKLINE(NOK1,CLOSE,OPEN,8,0),colorred;
STICKLINE(NOK1,HIGH,LOW,0,0),colorred;
DRAWICON(CROSS(KK1,KK2),(OPEN * 0.9999),1);
DP:=EMA(INDEXC,240)/EMA(C,480);
大盘对比:INDEXC/DP,colorCyan,linethick2;