RSI彩带指标 (源码)
2012-04-27 08:26:00来源:本站整理浏览:227
通达信RSI彩带指标公式股票软件源码如下:
N1:=7;N2:=250;N3:=21;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORFF901E;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100,COLOR00FFFF;
RSI3:=SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100,COLORDA70D6;
{www.gpxiazai.com 股票软件下载网_通达信股票指标公式}
DRAWBAND(RSI1,RGB(255,143,143),50,RGB(136,136,238));
DRAWBAND(RSI2,RGB(200,50,150),50,RGB(10,100,80));
DRAWBAND(RSI3,RGB(204,0,0),50,RGB(102,204,102));
快线:RSI1,COLOR8F8FFF,LINETHICK1;
中:RSI2,COLORDA70D6;
强弱:RSI3,COLOR0000CC,LINETHICK1;
高抛:75,DOTLINE,COLORRED;
持有:50,DOTLINE,COLORYELLOW;
低吸:25,DOTLINE,COLORGREEN;
- 上一篇公式:黄金分割自动画线超强版主图指标 (源码)
- 下一篇公式:主力控盘率指标 (源码)