短线1:=MA(C,21),nodraw; 中线1:=MA(C,60),nodraw;
中长线1:=MA(C,120),nodraw;
机构操盘线:MAX(中长线1,MAX(短线1,中线1)),colorliblue,linethick3;
短线:IF(短线1>=中线1 AND 短线1>=中长线1 ,短线1,DRAWNULL),colorlimagenta,linethick3 ;
中线:IF(中线1>=中长线1 AND 中线1>=短线1 ,中线1,DRAWNULL),colorliblue,linethick3,nodraw;
中长线:IF(中长线1>=中线1 AND 中长线1>=短线1 ,短线1,DRAWNULL),colorliblue,linethick3,nodraw;
牛熊分界限:EMA(C,250),colorgreen,DOTLINE;
DRAWTEXT(CROSS(MA(C,120),MA(C,250)),MA(C,250),"长趋"),colorgreen;
DRAWTEXT(CROSS(MA(C,60),MA(C,250)),MA(C,250),"中趋"),coloryellow;;
成交量条件1:=((VOL>=MA(VOL,10) ) AND (VOL>=MA(VOL,135) ) AND C>REF(C,1) AND C>O AND ATAN((MA(CLOSE,10)/REF(MA(CLOSE,10),1)-1)*100)*180/3.14159>=0 ) ;
STICKLINE(成交量条件1,OPEN,CLOSE,8,0),colorred;
STICKLINE(成交量条件1,L,H,1,0),colorred;
STICKLINE(C/REF(C,1)>1.0925 AND C=H,O,C,8,0),colormagenta;
C3:=REF(C,1);
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,O,C,8,0),colorgreen;
STICKLINE(跌停,L,H,1,0),colorgreen;
LC := REF(CLOSE,1);
RSI6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
STICKLINE(RSI6<20,O,C,8,0),colorblue;
|
