软件名称:[B]RSI副图改编(副图 源码)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2014-06-12 07:28:09
软件简介:
{坐标背景}
DRAWBAND(-50,RGB(0,0,0),50,RGB(230,230,230));{该行设置背景色};
DRAWBAND(-25,RGB(0,0,0),25,RGB(210,210,210));{该行设置背景色}
{正文}
LC:=REF(CLOSE,1);
RS1:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100-50;
WR10:=100*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))-50;
TR1:=MAX(MAX((RS1-RS1),ABS(REF(RS1,1)-RS1)),ABS(REF(RS1,1)-RS1));
MD:=MA(RS1,6),COLOR0000FF,NODRAW;
DRAWBAND(RS1,RGB(132,189,168),MD,RGB(228,202,199));
DRAWBAND(MD,RGB(132,189,168),RS1,RGB(228,202,199));
0,COLORWHITE;
STICKLINE(-25,-25,-25,5,1),COLORWHITE;
STICKLINE(25,25,25,5,1),COLORWHITE;
RSI:RS1,COLORLIRED;
MR:MD,COLORGRAY,LINETHICK1;
IF(MR>REF(MR,1) OR RSI>MR,MR,DRAWNULL),COLORRED,LINETHICK1;
活跃:=(RS1-WR10)/4,NODRAW;
饱和:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100);
STICKLINE(活跃>0,0,活跃,0,1),COLORFF00FF;
STICKLINE(活跃<0,0,活跃,0,1),COLORBROWN;
STICKLINE(活跃>17 AND 活跃<19.5,0,活跃,0,1)COLOR858500;
STICKLINE(活跃>19.5,0,活跃,0,1),COLORBLUE;
活跃度:活跃,COLORLIMAGENTA,NODRAW;
饱和度:饱和,COLORBLACK,NODRAW;
STICKLINE(饱和度=100,0,-2,2,1),COLORLIBLUE;
{图示}
VM:=MA(RS1,5),COLORFF00FF,NODRAW;
DRAWTEXT(ISLASTBAR AND RSI>REF(RSI,1),0,' ▲'),COLORDD00FF;
DRAWTEXT(ISLASTBAR AND RSI<REF(RSI,1),0,' ▼'),COLORBLUE;
[url=http://www.70822.com/soft/sort013/sort05/down-73210.html]RSI副图改编(副图 源码)[/url]