TT:=BARSCOUNT(CLOSE);
CC:CLOSE,COLORWHITE,LINETHICK2;
均线:SUM(AMOUNT,0)/SUM(VOL*100,0),COLOR00FFFF;
上均:均线 + AVEDEV(C,TT)*2,COLOR00FF00;
下均:均线 - AVEDEV(C,TT)*2,COLORFF6600;
时长:=IF(HOUR>=13 AND HOUR<15 ,1,0);
涨幅:=(CLOSE/DYNAINFO(3))>1.02;
跌幅:=(CLOSE/DYNAINFO(3))<0.98;
横盘:=((HHV(CLOSE,TT)-LLV(CLOSE,TT))/CLOSE)<0.03;
YY:=SMA(VOL,30,1);
放量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))>0.92;
涨跌幅:=涨幅 OR 跌幅;
横涨:=涨跌幅=0 AND 横盘 AND 时长 AND 放量 AND CROSS(CC,上均);
横盘上涨:CROSS(横涨,0),COLORRED,POINTDOT,LINETHICK0;
DRAWTEXT(CROSS(横涨,0),均线,'上涨'),COLORRED;
PP:= FILTER(横涨,100) ;
DRAWTEXT(PP,上均,'★突破'),COLORFF00FF;
VERTLINE( PP,3),COLOR00FF00,LINETHICK2;TT:=BARSCOUNT(CLOSE);
CC:CLOSE,COLORWHITE,LINETHICK2;
均线:SUM(AMOUNT,0)/SUM(VOL*100,0),COLOR00FFFF;
上均:均线 + AVEDEV(C,TT)*2,COLOR00FF00;
下均:均线 - AVEDEV(C,TT)*2,COLORFF6600;
时长:=IF(HOUR>=13 AND HOUR<15 ,1,0);
涨幅:=(CLOSE/DYNAINFO(3))>1.02;
跌幅:=(CLOSE/DYNAINFO(3))<0.98;
横盘:=((HHV(CLOSE,TT)-LLV(CLOSE,TT))/CLOSE)<0.03;
YY:=SMA(VOL,30,1);
放量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))>0.92;
涨跌幅:=涨幅 OR 跌幅;
横涨:=涨跌幅=0 AND 横盘 AND 时长 AND 放量 AND CROSS(CC,上均);
横盘上涨:CROSS(横涨,0),COLORRED,POINTDOT,LINETHICK0;
DRAWTEXT(CROSS(横涨,0),均线,'上涨'),COLORRED;
PP:= FILTER(横涨,100) ;
DRAWTEXT(PP,上均,'★突破'),COLORFF00FF;
VERTLINE( PP,3),COLOR00FF00,LINETHICK2; |