N1:=20;
N2:=60;
N3:=6;
LC:=REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,colorwhite;
RSI2:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100,colorgreen;
DRAWBAND(RSI1,RGB(250,0,250),RSI2,RGB(0,250,100));
RSI3:SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100,colorwhite;
超买线:80,colorblue,DOTLINE,LINETHICK1;
分界线:50,colorblue,DOTLINE,LINETHICK1;
超卖线:20,colorblue,DOTLINE,LINETHICK1;
|
