含不同周期的RSI划线指标源码(判断行情更方便)
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:4.00 KB
更新时间:2010-08-04 09:20:00
公式简介:
{n3 2.00 500.00 24.00}
N:=8;
80,POINTDOT,COLORGRAY;
20,POINTDOT,COLOR00BCBE;
R:SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100,COLORWHITE,LINETHICK3;
A1:=REF(R,N)=HHV(R,2*N+1);
B1:=FILTER(A1,N);
C1:=BACKSET(B1,N+1);
D1:=FILTER(C1,N);{高点}
R11:=BACKSET(ISLASTBAR,BARSLAST(D1)+1); S11:=R11>REF(R11,1);
DRAWLINE(D1,R,S11,R,1),COLORBLUE;
A2:=REF(R,N)=LLV(R,2*N+1);
B2:=FILTER(A2,N);
C2:=BACKSET(B2,N+1);
D2:=FILTER(C2,N);{低点}
T11:=BACKSET(ISLASTBAR,BARSLAST(D2)+1); U11:=T11>REF(T11,1);
DRAWLINE(D2,R,U11,R,1),COLORBLUE;
M:=INTPART(3*N/5);
A12:=REF(R,M)=HHV(R,2*M+1);
B12:=FILTER(A12,M);
C12:=BACKSET(B12,M+1);
D12:=FILTER(C12,M);{高点}
R112:=BACKSET(ISLASTBAR,BARSLAST(D12)+1); S112:=R112>REF(R112,1);
DRAWLINE(D12,R,S112,R,1),COLORYELLOW;
A22:=REF(R,M)=LLV(R,2*M+1);
B22:=FILTER(A22,M);
C22:=BACKSET(B22,M+1);
D22:=FILTER(C22,M);{低点}
T112:=BACKSET(ISLASTBAR,BARSLAST(D22)+1); U112:=T112>REF(T112,1);
DRAWLINE(D22,R,U112,R,1),COLORYELLOW;
LC:=REF(CLOSE,1);
RSI3:SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100;
DRAWICON(CROSS(R,RSI3),R,1);
DRAWICON(CROSS(RSI3,R),RSI3,2);
[url=http://www.goodgupiao.com/gupiaogongshi/8949.html][B]含不同周期的RSI划线指标源码(判断行情更方便)[/B][/url]