RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
做多:=IF(K>D AND MACD>0 AND V>1,2,0),COLORRED;
做空:=IF(K
强洗:=IF(MACD>0 AND K
弱升:=IF(MACD<0 AND K>D AND V>1,-1,0),COLORFFFF00;
STICKLINE(做多 AND C>=O,C,O,3,1),COLORRED;
STICKLINE(做多 AND C STICKLINE(做多 AND C STICKLINE(做多 AND C STICKLINE(做多 AND C>=O,C,O,3,1),COLOR0000FF; STICKLINE(做多 AND C>=O,C,O,1.5,0),COLOR0000DD; STICKLINE(做多 AND C>=O,C,O,0.4,0),COLOR0000FF; STICKLINE(做空 AND C>=O,L,H,0.1,0),COLOR0000FF; STICKLINE(做空 AND C>=O,C,O,3,1),COLOR00FF00; STICKLINE(做空 AND C STICKLINE(做空 AND C STICKLINE(做空 AND C STICKLINE(强洗 AND C>=O,L,H,0.1,0),COLOR0000FF; STICKLINE(强洗 AND C>=O,C,O,3,1),COLORFFFFFF; STICKLINE(强洗 AND C STICKLINE(强洗 AND C STICKLINE(强洗 AND C STICKLINE(弱升 AND C>=O,C,O,3,1),COLOR00FFFF; STICKLINE(弱升 AND C STICKLINE(弱升 AND C 昨天:=REF(CLOSE,1); 涨停:=IF(((((CLOSE - 昨天) * 100) /昨天 ) >= (10 - ((0.01 * 100) / 昨天))),1,0); STICKLINE(涨停,H,((CLOSE + OPEN) / 2),2.2,0),COLOR00FFFF; M5:MA(C,5),COLORWHITE,LINETHICK2; IF(M5>REF(M5,1),M5,DRAWNULL),COLORRED,LINETHICK2;