LC:=REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100; RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100; STICKLINE(RSI1 > 80,O,C,3,0),COLORBLUE; STICKLINE(RSI1 > 80,H,L,0,0),COLORBLUE; STICKLINE(RSI1 < 20,O,C,3,0),COLORYELLOW; STICKLINE(RSI1 < 20,H,L,0,0),COLORYELLOW; 要求在出现超买的黄线又出现红线上涨的时候选出该股 就像图里画白圈的那样
爱约股解答:
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
REF(RSI1<20,1) AND C>REF(C,1);