{参数: N1 1 100 5 N2 1 100 14 }
A1:=0; 关注线:20; 警戒线:80; A4:100; DRAWBAND(A1,RGB(10,0,0),关注线,RGB(240,0,0)); DRAWBAND(警戒线,RGB(10,50,0),A4,RGB(100,170,250)); LC:=REF(CLOSE,1); {看股吧-股票公式网站 www.kanguba.com} RSI5:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100; RSI14:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100; DRAWBAND(RSI5,RGB(240,0,100),RSI14,RGB(240,240,0));
看股 吧公式 www.kangu ba.com