软件名称:[B]福泉KD[/B]
软件类型:国产软件
运行环境:Win9X/2000/XP/2003/
软件语言:简体中文
授权方式:解密版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2008-10-10 06:41:33
软件简介:
福泉KD
经典指标KDJ,万千宠爱集一身!KDJ是我最喜爱,最常用的经典指标之一,为了使用方便,我擅自作了些改动,实站使用感觉不错,朋友们如果觉得还有使用价值,烦请顶一下,以让更多的朋友们看到.
您的举手之劳,对我是莫大的鼓励!
下面先发原码:
{n=45;m=15}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:3*K-2*D;
RSV1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K1:SMA(RSV1,M,1);
D1:SMA(K1,M,1);
FILLRGN(K1,D1,K1>D1,RGB(255,0,0),K1<D1,rgb(0,255,0));
rsv2:=(CLOSE-LLV(LOW,180))/(HHV(HIGH,180)-LLV(LOW,180))*100;
K2:=SMA(RSV2,60,1);
D2:=SMA(K2,60,1);
dk:(k2-d2),linethick0;
stickline(dk>0 and dk>ref(dk,1),50+2*dk,50,0.8,0),colorred;
stickline(dk>0 and dk<ref(dk,1),50+2*dk,50,0.8,0),coloryellow;
stickline(dk<0 and dk<ref(dk,1),50,50+2*dk,0.8,0),colorblue;
stickline(dk<0 and dk>ref(dk,1),50,50+2*dk,0.8,0),colorgreen;
{A1:=BARSLAST(REF(CROSS(k,d),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND k>REF(k,A1+1) AND CROSS(k,d);
STICKLINE(底背离,0,0.008,8,0),COLORRED,linethick2;
DRAWLINE(A1=0,d,底背离,d,0),COLORRED,linethick2;
A2:=BARSLAST(REF(CROSS(d,k),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(d,A2+1)>k AND CROSS(d,k);
DRAWLINE(A2=0,d,顶背离,d,0),COLORGREEN,linethick2;}
v1:=llv(low,10);
v2:=hhv(h,25);
价位线:=ema((c-v1)/(v2-v1)*4,4);
DRAWTEXT(CROSS(价位线,0.3),-0,'■'),COLOR33FF33;
DRAWTEXT(CROSS(3.5,价位线),111,'■'),Color0000ff;
[url=http://www.70822.com/soft/sort013/sort03/down-2664.html]福泉KD[/url]