参数:
n,1,50,5
n1,1,50,13
个股:=((((C-MA(C,6))/MA(C,6)+(C-MA(C,24))/MA(C,24)+(C-MA(C,32))/MA(C,32))*100)/3);
大盘:=((((INDEXC-MA(INDEXC,6))/MA(INDEXC,6)+(INDEXC-MA(INDEXC,24))/MA(INDEXC,24)+(INDEXC-MA(INDEXC,32))/MA(INDEXC,32))*100)/3);
B:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100;
反弹:=B<-18 AND CLOSE/OPEN>1.06,COLORMAGENTA;
高抛:=B>40 AND C/REF(C,1)<1.08,COLORGREEN;
AA05:=MA(C,5);五日乖离率:=(C-AA05)/AA05*100;
AA30:=MA(C,30);三拾日乖离率:=(C-AA30)/AA30*100;
MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1)
AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;
介入:=FILTER(MR,10),COLORYELLOW;
半:=REF(EMA(C,120),1);年:=REF(EMA(C,250),1);
年距:=(C-年)/年*100;年距小:=LLV(年距,0);
半距:=(C-半)/半*100;半距小:=LLV(半距,0);
B1:=BARSSINCE(C>0)>220 AND 年距<REF(年距小,1)AND 半距<REF(半距小,1)AND 年距<-20;
底部:=FILTER(B1,10),,COLORCYAN;
放量:=VOL/LLV(MA(VOL,20),20);
乖离率:=(CLOSE-MA(CLOSE,20))/CLOSE*100;
恐慌盘:=放量>2 AND 乖离率<-0.5,COLOR553300;
追涨盘:=放量>2 AND 乖离率>0.5,COLOR808040;
平均乖离:=MA(个股,8);
{止损天数=(当日股价-当日均线对应值)÷(当日均线对应值-前一交易日均线对应值)}
止损天数:=(C-MA(C,N))/(MA(C,N)-REF(MA(C,N),1));
N3:=BARSLAST(CROSS(C,MA(C,N1)));
N4:=BARSLAST(CROSS(MA(C,N1),C));
疯牛天:=IF(N3<N4,N3+1,0),COLORRED;
疯牛涨幅:=(C-REF(C,疯牛天))/REF(C,疯牛天)*100;
N1:=BARSLAST(CROSS(C,MA(C,250)));
N2:=BARSLAST(CROSS(MA(C,250),C));
慢牛天:=IF(N1<N2,N1+1,0),COLORMAGENTA;
慢牛涨幅:=(C-REF(C,慢牛天))/REF(C,慢牛天)*100;
换手:=VOL/CAPITAL*100;
换手跟踪:=SUM(换手,0)-REF(SUM(换手,0),疯牛天),COLORFF937F;
跟踪系数:=换手跟踪/疯牛涨幅,COLOR00FF00;
日均换手:=换手跟踪/慢牛天;
A1:=BARSLAST(REF(CROSS(个股,平均乖离),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND 个股>REF(个股,A1+1) AND CROSS(个股,平均乖离);
A2:=BARSLAST(REF(CROSS(平均乖离,个股),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(平均乖离,A2+1)>个股 AND CROSS(平均乖离,个股);
STICKLINE(FILTER(MR,10),个股,0,2,1),COLORYELLOW;
|