STICKLINE(上线 下线 , 上线,下线 ,5, 0),COLORRED,LINETHICK3;
STICKLINE(下线 上线,上线,下线,5,0),COLORYELLOW,LINETHICK3;
DRAWTEXT( CROSS(上线,下线) AND (CLOSE/OPEN 1.04),LOW *0.95,'买' ),COLOR00FF00;
DRAWTEXT(CROSS(下线1,上线1),H*1.10,'清仓'),COLORYELLOW;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
UPR:=BBI+3*STD(BBI,13),LINETHICK2;
DWN:=BBI-3*STD(BBI,13);
安全:=MA(CLOSE,60),LINETHICK2;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT( CROSS(82,RSI) , HIGH*1.0,'减仓') ,COLORFF9966,LINETHICK2;