当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:卜氏理论,副图源码贴图无未来
软件名称:[B]卜氏理论,副图源码贴图无未来[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2011-02-12 07:29:36
软件简介:
N:=14;
M:=6;
TR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),N);
DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),N);
PDI:= DMP*100/TR;
MDI:= DMM*100/TR;
DRAWBAND(PDI,RGB(110,0,110),MDI,RGB(0,88,88));
ADX:= EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,M);
ADXR:=EXPMEMA(ADX,M);
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;
STICKLINE(ADXR,20,0,0.5,0)COLORBLUE;
STICKLINE(ADXR,50,20,0.5,0)COLORGREEN;
STICKLINE(ADXR,80,50,1.5,0 ),COLOR555555;
STICKLINE(ADXR,80,50,1.3,0 ),COLOR777777;
STICKLINE(ADXR,80,50,1.2,0 ),COLOR999999;
STICKLINE(ADXR,80,50,0.7,0 ),COLORBBBBBB;
STICKLINE(ADXR,80,50,0.4,0 ),COLORDDDDDD;
DRAWBAND(100,RGB(0,80,150),D,RGB(0,100,0));
DRAWBAND(100,RGB(0,50,110),80,RGB(0,100,0));
DRAWBAND(D,RGB(155,0,0),ADXR,RGB(0,150,0));
STICKLINE(D>ADXR,ADXR,D,3.2,0),COLOR000045;
STICKLINE(D>ADXR,ADXR,D,2.7,0),COLOR000065;
STICKLINE(D>ADXR,ADXR,D,2.2,0),COLOR000085;
STICKLINE(D>ADXR,ADXR,D,1.7,0),COLOR0000A5;
STICKLINE(D>ADXR,ADXR,D,1.2,0),COLOR0000C5;
STICKLINE(D<ADXR,ADXR,D,3.2,0),COLORYELLOW;
STICKLINE(D<ADXR,ADXR,D,2.7,0),COLOR0088FF;
STICKLINE(D<ADXR,ADXR,D,2.2,0),COLOR00AAFF;
STICKLINE(D<ADXR,ADXR,D,1.7,0),COLOR00CCFF;
STICKLINE(D<ADXR,ADXR,D,1.2,0),COLOR22FFFF;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORYELLOW;
K1:=SMA(RSV,3,1)LINETHICK2;
DRAWICON(CROSS(REF(ADXR,1),ADXR) AND D>ADXR AND ADXR>50,20,12);
出现黄s关注
M:=6;
TR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),N);
DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),N);
PDI:= DMP*100/TR;
MDI:= DMM*100/TR;
DRAWBAND(PDI,RGB(110,0,110),MDI,RGB(0,88,88));
ADX:= EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,M);
ADXR:=EXPMEMA(ADX,M);
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;
STICKLINE(ADXR,20,0,0.5,0)COLORBLUE;
STICKLINE(ADXR,50,20,0.5,0)COLORGREEN;
STICKLINE(ADXR,80,50,1.5,0 ),COLOR555555;
STICKLINE(ADXR,80,50,1.3,0 ),COLOR777777;
STICKLINE(ADXR,80,50,1.2,0 ),COLOR999999;
STICKLINE(ADXR,80,50,0.7,0 ),COLORBBBBBB;
STICKLINE(ADXR,80,50,0.4,0 ),COLORDDDDDD;
DRAWBAND(100,RGB(0,80,150),D,RGB(0,100,0));
DRAWBAND(100,RGB(0,50,110),80,RGB(0,100,0));
DRAWBAND(D,RGB(155,0,0),ADXR,RGB(0,150,0));
STICKLINE(D>ADXR,ADXR,D,3.2,0),COLOR000045;
STICKLINE(D>ADXR,ADXR,D,2.7,0),COLOR000065;
STICKLINE(D>ADXR,ADXR,D,2.2,0),COLOR000085;
STICKLINE(D>ADXR,ADXR,D,1.7,0),COLOR0000A5;
STICKLINE(D>ADXR,ADXR,D,1.2,0),COLOR0000C5;
STICKLINE(D<ADXR,ADXR,D,3.2,0),COLORYELLOW;
STICKLINE(D<ADXR,ADXR,D,2.7,0),COLOR0088FF;
STICKLINE(D<ADXR,ADXR,D,2.2,0),COLOR00AAFF;
STICKLINE(D<ADXR,ADXR,D,1.7,0),COLOR00CCFF;
STICKLINE(D<ADXR,ADXR,D,1.2,0),COLOR22FFFF;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORYELLOW;
K1:=SMA(RSV,3,1)LINETHICK2;
DRAWICON(CROSS(REF(ADXR,1),ADXR) AND D>ADXR AND ADXR>50,20,12);
出现黄s关注
[url=http://www.70822.com/soft/sort013/sort05/down-30342.html]卜氏理论,副图源码贴图无未来[/url]