当前位置:分析家公式网 → 股票公式 → 飞狐公式 → 一键转帖:KD变色2(01-60)2
软件名称:[B]KD变色2(01-60)2[/B]
软件类型:国产软件
运行环境:Win9X/2000/XP/2003/
软件语言:简体中文
授权方式:解密版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2009-02-18 12:57:46
软件简介:
{橙色表示K值>50,青色表示K值<50;棕色表示D值>50,灰色表示D值<50.}
K01:="kdj.K#MIN1";
K05:="kdj.K#MIN5";
K15:="kdj.K#MIN15";
K30:="kdj.K#MIN30";
K60:="kdj.K#MIN60";
{}
D01:="kdj.D#MIN1";
D05:="kdj.D#MIN5";
D15:="kdj.D#MIN15";
D30:="kdj.D#MIN30";
D60:="kdj.D#MIN60";
{}
P:=SYSPARAM(1);
VERTLINE(BARPOS=DATACOUNT-34),COLOR00AAAA,LINETHICK2;
VERTLINE(BARPOS=DATACOUNT),COLOR00AAAA,LINETHICK2;
STICKLINE(BARPOS=DATACOUNT-17,100,100,340,0),COLOR00AAAA;
STICKLINE(BARPOS=DATACOUNT-17,-80,-80,340,0),COLOR00AAAA;
{}
STICKLINE(BARPOS=DATACOUNT-28 and K01[p]>=50,0,K01[P],40,0),COLOR0088DD;
STICKLINE(BARPOS=DATACOUNT-28 and K01[p] <50,0,K01[P],40,0),COLORFFDD00;
STICKLINE(BARPOS=DATACOUNT-22 and K05[p]>=50,0,K05[P],40,0),COLOR0088DD;
STICKLINE(BARPOS=DATACOUNT-22 and K05[p] <50,0,K05[P],40,0),COLORFFDD00;
STICKLINE(BARPOS=DATACOUNT-16 and K15[p]>=50,0,K15[P],40,0),COLOR0088DD;
STICKLINE(BARPOS=DATACOUNT-16 and K15[p] <50,0,K15[P],40,0),COLORFFDD00;
STICKLINE(BARPOS=DATACOUNT-10 and K30[p]>=50,0,K30[P],40,0),COLOR0088DD;
STICKLINE(BARPOS=DATACOUNT-10 and K30[p] <50,0,K30[P],40,0),COLORFFDD00;
STICKLINE(BARPOS=DATACOUNT-4 and K60[P]>=50,0,K60[P],40,0),COLOR0088DD;
STICKLINE(BARPOS=DATACOUNT-4 and K60[P] <50,0,K60[P],40,0),COLORFFDD00;
{}
STICKLINE(BARPOS=DATACOUNT-27 and D01[p]>=50,0,D01[P],20,0),COLORBROWN;
STICKLINE(BARPOS=DATACOUNT-27 and D01[p] <50,0,D01[P],20,0),COLORGRAY;
STICKLINE(BARPOS=DATACOUNT-21 and D05[p]>=50,0,D05[P],20,0),COLORBROWN;
STICKLINE(BARPOS=DATACOUNT-21 and D05[p] <50,0,D05[P],20,0),COLORGRAY;
STICKLINE(BARPOS=DATACOUNT-15 and D15[p]>=50,0,D15[P],20,0),COLORBROWN;
STICKLINE(BARPOS=DATACOUNT-15 and D15[p] <50,0,D15[P],20,0),COLORGRAY;
STICKLINE(BARPOS=DATACOUNT-9 and D30[p]>=50,0,D30[P],20,0),COLORBROWN;
STICKLINE(BARPOS=DATACOUNT-9 and D30[p] <50,0,D30[P],20,0),COLORGRAY;
STICKLINE(BARPOS=DATACOUNT-3 and D60[P]>=50,0,D60[P],20,0),COLORBROWN;
STICKLINE(BARPOS=DATACOUNT-3 and D60[P] <50,0,D60[P],20,0),COLORGRAY;
{}
DRAWTEXT(BARPOS=DATACOUNT-33,-30,'K:'),COLORGREEN;
DRAWTEXT(BARPOS=DATACOUNT-33,-52,'D:'),COLORGREEN;
DRAWTEXT(BARPOS=DATACOUNT-30,-10,' 01'),COLORWHITE;
DRAWTEXT(BARPOS=DATACOUNT-24,-10,' 05'),COLORWHITE;
DRAWTEXT(BARPOS=DATACOUNT-18,-10,' 15'),COLORWHITE;
DRAWTEXT(BARPOS=DATACOUNT-12,-10,' 30'),COLORWHITE;
DRAWTEXT(BARPOS=DATACOUNT-6, -10,' 60'),COLORWHITE;
DRAWTEXT(BARPOS=DATACOUNT-30,-30,NUMTOSTR(K01[p],2)),COLOR0088FF;
DRAWTEXT(BARPOS=DATACOUNT-24,-30,NUMTOSTR(K05[p],2)),COLOR0088FF;
DRAWTEXT(BARPOS=DATACOUNT-18,-30,NUMTOSTR(K15[p],2)),COLOR0088FF;
DRAWTEXT(BARPOS=DATACOUNT-12,-30,NUMTOSTR(K30[p],2)),COLOR0088FF;
DRAWTEXT(BARPOS=DATACOUNT-6, -30,NUMTOSTR(K60[p],2)),COLOR0088FF;
{}
DRAWTEXT(BARPOS=DATACOUNT-30,-55,NUMTOSTR(D01[p],2)),COLORYELLOW;
DRAWTEXT(BARPOS=DATACOUNT-24,-55,NUMTOSTR(D05[p],2)),COLORYELLOW;
DRAWTEXT(BARPOS=DATACOUNT-18,-55,NUMTOSTR(D15[p],2)),COLORYELLOW;
DRAWTEXT(BARPOS=DATACOUNT-12,-55,NUMTOSTR(D30[p],2)),COLORYELLOW;
DRAWTEXT(BARPOS=DATACOUNT-6, -55,NUMTOSTR(D60[p],2)),COLORYELLOW;
{}
{}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1),COLORWHITE,PRECISION2,LINEDOT;
D:SMA(K,3,1),COLORYELLOW,PRECISION2;
PARTLINE(D>REF(D,1),D),LINETHICK2,COLORYELLOW;PARTLINE(D<REF(D,1),D),COLORFFBBBB;
KZ:MA("kdj.K#WEEK",5),COLORGREEN,LINETHICK;
PARTLINE(KZ>REF(KZ,1),KZ),COLORGREEN,LINETHICK2;PARTLINE(KZ<REF(KZ,1),KZ),COLORFFAA00;
{}
DRAWTEXTEX(kz and BARSTATUS=2,1,10,150,'周线机会满仓操作'+' '),COLOR0088ff,ALIGN1;
{}
K01:="kdj.K#MIN1";
K05:="kdj.K#MIN5";
K15:="kdj.K#MIN15";
K30:="kdj.K#MIN30";
K60:="kdj.K#MIN60";
{}
D01:="kdj.D#MIN1";
D05:="kdj.D#MIN5";
D15:="kdj.D#MIN15";
D30:="kdj.D#MIN30";
D60:="kdj.D#MIN60";
{}
P:=SYSPARAM(1);
VERTLINE(BARPOS=DATACOUNT-34),COLOR00AAAA,LINETHICK2;
VERTLINE(BARPOS=DATACOUNT),COLOR00AAAA,LINETHICK2;
STICKLINE(BARPOS=DATACOUNT-17,100,100,340,0),COLOR00AAAA;
STICKLINE(BARPOS=DATACOUNT-17,-80,-80,340,0),COLOR00AAAA;
{}
STICKLINE(BARPOS=DATACOUNT-28 and K01[p]>=50,0,K01[P],40,0),COLOR0088DD;
STICKLINE(BARPOS=DATACOUNT-28 and K01[p] <50,0,K01[P],40,0),COLORFFDD00;
STICKLINE(BARPOS=DATACOUNT-22 and K05[p]>=50,0,K05[P],40,0),COLOR0088DD;
STICKLINE(BARPOS=DATACOUNT-22 and K05[p] <50,0,K05[P],40,0),COLORFFDD00;
STICKLINE(BARPOS=DATACOUNT-16 and K15[p]>=50,0,K15[P],40,0),COLOR0088DD;
STICKLINE(BARPOS=DATACOUNT-16 and K15[p] <50,0,K15[P],40,0),COLORFFDD00;
STICKLINE(BARPOS=DATACOUNT-10 and K30[p]>=50,0,K30[P],40,0),COLOR0088DD;
STICKLINE(BARPOS=DATACOUNT-10 and K30[p] <50,0,K30[P],40,0),COLORFFDD00;
STICKLINE(BARPOS=DATACOUNT-4 and K60[P]>=50,0,K60[P],40,0),COLOR0088DD;
STICKLINE(BARPOS=DATACOUNT-4 and K60[P] <50,0,K60[P],40,0),COLORFFDD00;
{}
STICKLINE(BARPOS=DATACOUNT-27 and D01[p]>=50,0,D01[P],20,0),COLORBROWN;
STICKLINE(BARPOS=DATACOUNT-27 and D01[p] <50,0,D01[P],20,0),COLORGRAY;
STICKLINE(BARPOS=DATACOUNT-21 and D05[p]>=50,0,D05[P],20,0),COLORBROWN;
STICKLINE(BARPOS=DATACOUNT-21 and D05[p] <50,0,D05[P],20,0),COLORGRAY;
STICKLINE(BARPOS=DATACOUNT-15 and D15[p]>=50,0,D15[P],20,0),COLORBROWN;
STICKLINE(BARPOS=DATACOUNT-15 and D15[p] <50,0,D15[P],20,0),COLORGRAY;
STICKLINE(BARPOS=DATACOUNT-9 and D30[p]>=50,0,D30[P],20,0),COLORBROWN;
STICKLINE(BARPOS=DATACOUNT-9 and D30[p] <50,0,D30[P],20,0),COLORGRAY;
STICKLINE(BARPOS=DATACOUNT-3 and D60[P]>=50,0,D60[P],20,0),COLORBROWN;
STICKLINE(BARPOS=DATACOUNT-3 and D60[P] <50,0,D60[P],20,0),COLORGRAY;
{}
DRAWTEXT(BARPOS=DATACOUNT-33,-30,'K:'),COLORGREEN;
DRAWTEXT(BARPOS=DATACOUNT-33,-52,'D:'),COLORGREEN;
DRAWTEXT(BARPOS=DATACOUNT-30,-10,' 01'),COLORWHITE;
DRAWTEXT(BARPOS=DATACOUNT-24,-10,' 05'),COLORWHITE;
DRAWTEXT(BARPOS=DATACOUNT-18,-10,' 15'),COLORWHITE;
DRAWTEXT(BARPOS=DATACOUNT-12,-10,' 30'),COLORWHITE;
DRAWTEXT(BARPOS=DATACOUNT-6, -10,' 60'),COLORWHITE;
DRAWTEXT(BARPOS=DATACOUNT-30,-30,NUMTOSTR(K01[p],2)),COLOR0088FF;
DRAWTEXT(BARPOS=DATACOUNT-24,-30,NUMTOSTR(K05[p],2)),COLOR0088FF;
DRAWTEXT(BARPOS=DATACOUNT-18,-30,NUMTOSTR(K15[p],2)),COLOR0088FF;
DRAWTEXT(BARPOS=DATACOUNT-12,-30,NUMTOSTR(K30[p],2)),COLOR0088FF;
DRAWTEXT(BARPOS=DATACOUNT-6, -30,NUMTOSTR(K60[p],2)),COLOR0088FF;
{}
DRAWTEXT(BARPOS=DATACOUNT-30,-55,NUMTOSTR(D01[p],2)),COLORYELLOW;
DRAWTEXT(BARPOS=DATACOUNT-24,-55,NUMTOSTR(D05[p],2)),COLORYELLOW;
DRAWTEXT(BARPOS=DATACOUNT-18,-55,NUMTOSTR(D15[p],2)),COLORYELLOW;
DRAWTEXT(BARPOS=DATACOUNT-12,-55,NUMTOSTR(D30[p],2)),COLORYELLOW;
DRAWTEXT(BARPOS=DATACOUNT-6, -55,NUMTOSTR(D60[p],2)),COLORYELLOW;
{}
{}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1),COLORWHITE,PRECISION2,LINEDOT;
D:SMA(K,3,1),COLORYELLOW,PRECISION2;
PARTLINE(D>REF(D,1),D),LINETHICK2,COLORYELLOW;PARTLINE(D<REF(D,1),D),COLORFFBBBB;
KZ:MA("kdj.K#WEEK",5),COLORGREEN,LINETHICK;
PARTLINE(KZ>REF(KZ,1),KZ),COLORGREEN,LINETHICK2;PARTLINE(KZ<REF(KZ,1),KZ),COLORFFAA00;
{}
DRAWTEXTEX(kz and BARSTATUS=2,1,10,150,'周线机会满仓操作'+' '),COLOR0088ff,ALIGN1;
{}
[url=http://www.70822.com/soft/sort013/sort02/down-6516.html]KD变色2(01-60)2[/url]