软件名称:[B]优化RSI叠加版本[/B]
软件类型:国产软件
运行环境:Win9X/2000/XP/2003/
软件语言:简体中文
授权方式:解密版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2008-12-25 13:02:22
软件简介:
优化RSI叠加版本
(说明:叠加版本只是增加了背景和背离提示以及叠加了MSD指标,觉得不好可以省略掉,另外,背离参数可根据自己的长短线策略而调整)
INPUT:N(14,0,100),N1(3,0,30),N2(34,0,100),K(3,0,100);
DRAWGBK(1, COLORRGB(100,50,0), COLORRGB(100,100,0),0);
LC := REF(CLOSE,1);
RSI:SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100,,Colorred,linethick2;
压力: HHV(MA(rsi,3),13),COLORGREEN;
支撑:llV(MA(rsi,3),13),COLORYELLOW;
AA:=REF(rsi,N1)=HHV(rsi,2*N1+1);
BB:=BACKSET(AA,N1+1);
CC:=FILTER(BB,N1) AND rsi=HHV(rsi,N1+1);
A1:=BARSLAST(REF(CC,1));
顶背离:=REF(CLOSE,A1+1)<CLOSE AND REF(rsi,A1+1)>rsi AND CC;
DRAWTEXT(顶背离,rsi*1.2,'顶背离'),COLORMAGENTA;
STICKLINE(FILTER(顶背离>0,5),支撑,rsi,10,0),COLORMAGENTA;
DRAWLINE(CC,rsi,FILTER(顶背离>0,5),rsi,0),COLORWHITE;
DRAWICON(顶背离,rsi*1.1,2);
AA2:=REF(rsi,N1)=LLV(rsi,2*N1+1);
BB2:=BACKSET(AA2,N1+1);
CC2:=FILTER(BB2,N1) AND rsi=LLV(rsi,N1+1);
A2:=BARSLAST(REF(CC2,1));
底背离:=REF(CLOSE,A2+1)>CLOSE AND REF(rsi,A2+1)<rsi AND CC2;
DRAWTEXT(底背离,rsi*1.2,'底背离'),COLORMAGENTA;
STICKLINE(FILTER(底背离>0,5),压力,rsi,10,0),COLORMAGENTA;
DRAWLINE(CC2,rsi,FILTER(底背离>0,5),rsi,0),COLORWHITE;
DRAWICON(底背离,rsi*0.98,1);
个股:EMA(100*(CLOSE-LLV(LOW,N2))/(HHV(HIGH,N2)-LLV(LOW,N2)),K),COLORCYAN,linethick2;
大盘:EMA(100*(INDEXC-LLV(INDEXL,N2))/(HHV(INDEXH,N2)-LLV(INDEXL,N2)),K),COLORBLUE,linethick2;
35,COLORGRAY,LINEDOT;
50,COLORGRAY,LINEDOT;
75,COLORGRAY,LINEDOT;
[url=http://www.70822.com/soft/sort013/sort02/down-5210.html]优化RSI叠加版本[/url]