n1:=9; LC := REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100; STICKLINE((ref(rsi,1)>=80 and rsi<80),LOW,HIGH,0.8,0),COLORYELLOW; STICKLINE((ref(rsi,1)>=80 and rsi<80),CLOSE,OPEN,8,0),COLORYELLOW; STICKLINE((ref(rsi,1)<=20 and rsi>20),LOW,HIGH,0.8,0),COLORBLUE; STICKLINE((ref(rsi,1)<=20 and rsi>20),CLOSE,OPEN,8,0),COLORBLUE; |
|