DRAWTEXT_FIX(1,0.0,0.0,0,"翰墨均线--右侧交易。仓位管理:长线绿色线下三成,绿色线上5成绿色线上红线上7成,"),coloryellow;
脱离长线大底:MA(CLOSE, N),colorgreen,nodraw;
短线1:=MA(C,20),nodraw;
中线1:=MA(C,60),nodraw;
机构操盘线:MAX(短线1,中线1),colorliblue,linethick3;
短线:IF(短线1>=中线1 ,短线1,DRAWNULL),colorlimagenta,linethick3 ;
中线:IF(中线1>=短线1 ,中线1,DRAWNULL),colorliblue,linethick3,nodraw;
短线20:IF(短线1>=MA(C,750) ,短线1,DRAWNULL),colorred,linethick1;
STICKLINE(MA(C,60)>MA(C,750),MA(C,750),MA(C,750),8,0),colorgreen,linethick2 ;
DRAWTEXT(CROSS(MA(C,20),MA(C,60)),MA(C,60),"黑马"),colorgreen;
DRAWTEXT(CROSS(MA(C,60),MA(C,120)),MA(C,60),"红马"),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;