分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]{缺口显示数字}指标[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2012-10-08 01:14:01
软件简介:

{缺口显示数字}
TJA:=CLOSE>OPEN or CLOSE=OPEN and CLOSE>REF(CLOSE,1);
BQ:=IF((SYSPARAM(1) = (BARSSINCE((C > 0)) + 1)),1,0);
BQ1:=(H<REF(L,1));
BQ2:=(L>REF(H,1));
STICKLINE(BQ1,o+(c-o)*0.25,O,8,0),coloraa0000;
STICKLINE(BQ1,o+(c-o)*0.30,O,6,0),colorbb0000;

STICKLINE(BQ1,o+(c-o)*0.35,O,4,0),colorcc0000;
STICKLINE(BQ1,o+(c-o)*0.40,O,3,0),colordd0000;
STICKLINE(BQ1,o+(c-o)*0.45,O,2,0),coloree0000;
STICKLINE(BQ1,o+(c-o)*0.5,O,1,0),coloree0000;

STICKLINE(BQ2,O,o+(c-o)*0.25,8,0),colorFF0070;
STICKLINE(BQ2,O,o+(c-o)*0.3,6,0),colorFF0060;
STICKLINE(BQ2 ,O,o+(c-o)*0.35,4,0),colorFF0050;
STICKLINE(BQ2 ,O,o+(c-o)*0.4,3,0),colorFF0040;
STICKLINE(BQ2 ,O,o+(c-o)*0.45,2,0),colorFF0030;
STICKLINE(BQ2 ,O,o+(c-o)*0.5,1,0),colorFF0020;
STICKLINE(BQ2 ,O,o+(c-o)*0.6,0.5,0),colorFF0010;


QC:=REF(C,1);QO:=REF(O,1);QH:=REF(H,1);QL:=REF(L,1);
FUZ:=L+((H-L)/2);FUS:=O+((C-O)/2); FUSY:=C+((O-C)/2);SSFU:=(FUZ+IF(C>O,FUS,FUSY))/2;
FUZ1:=L+((H-L)*0.333);FUS1:=O+((C-O)*0.333);FUS1Y:=C+((O-C)*0.333);SSFU1:=(FUZ1+IF(C>O,FUS1,FUS1Y))/2;
FUZ2:=L+((H-L)*0.667);FUS2:=O+((C-O)*0.677);FUS2Y:=C+((O-C)*0.667);SSFU2:=(FUZ2+IF(C>O,FUS2,FUS2Y))/2;
BS1:=Ql+((Qh-Ql)/2);BS2:=QO+((QC-QO)/2);BS3:=QC+((QO-QC)/2);
DB1:=QL+((QH-QL)*0.333);DB2:=QO+((QC-QO)*0.333);DB3:=QC+((QO-QC)*0.333);
EB1:=QL+((QH-QL)*0.667);EB2:=QO+((QC-QO)*0.667);EB3:=QC+((QO-QC)*0.667);
SYB1:=QH-((QH-QC)/2);SYB2:=QH-((QH-QO)/2);
SYB3:=IF(QC>QO,SYB1,SYB2);
XYB1:=QL+((QC-QL)/2);XYB2:=QL+((QO-QL)/2);
XYB3:=IF(QC<QO,XYB1,XYB2);
QFU:=(BS1+IF(QC>QO,BS2,BS3))/2;
QDFU:=(DB1+IF(QC>QO,DB2,DB3))/2;
QEFU:=(EB1+IF(QC>QO,EB2,EB3))/2;
A3:=C=HHV(C,6);
A9:=C=LLV(C,6);
A4:=BARSLAST(A3);
A5:=BARSLAST(A9);
A6:=IF(A4,REF(C,A4),REF(C,A4))*1.005;
A7:=IF(A5,REF(C,A5),REF(C,A5))*0.995;

fh:=HIGH;fl:=LOW;
for p=DATACOUNT-1 downto 1 do begin
  IF fh[p]<fh[p+1] then
     fh[p]:=fh[p+1];
  IF fl[p]>fl[p+1] then
     fl[p]:=fl[p+1];
end;
qk:=LOW>REF(HIGH,1)OR HIGH<REF(LOW,1);
G:=IF(LOW>REF(HIGH,1),LOW,IF(HIGH<REF(LOW,1),REF(LOW,1),0));
D:=IF(LOW>REF(HIGH,1),REF(HIGH,1),IF(HIGH<REF(LOW,1),HIGH,0));
S:=IF(LOW>REF(HIGH,1),2,IF(HIGH<REF(LOW,1),1,0));
tj:=s=2 and fL<=G AND fL>=D OR s=1 and fH<G AND fH>=D ;
w:=BARSSINCE(BACKSET(BARSTATUS=2,BARSLAST(TJ*BARPOS=BARPOS)+1))+1;
DD:=DATE;
缺口日期:REF(DD,W-1)+1991219,LINETHICK0,COLORAAFF33;
S1:=IF(REF(S,W-1)=2,REF(fL,w-1),IF(REF(S,W-1)=1,REF(fH,w-1),0));
S2:=IF(REF(S,W-1)=2,REF(D,w-1),IF(REF(S,W-1)=1,REF(G,w-1),0));
A:=MAX(S1,S2);
B:=MIN(S1,S2);
缺口:B[DATACOUNT],COLORWHITE,LINETHICK,,PRECISION2;
→:A[DATACOUNT],COLORWHITE,LINETHICK,PRECISION2;
STICKLINE(w,S1,S2,15,0),COLORGRAY;
DRAWTEXT(BARSTATUS=2,A,NUMTOSTR(B,2)+'-'+NUMTOSTR(A,2)),COLOR0099CC,ALIGN1;


[url=http://www.70822.com/soft/sort013/sort02/down-53627.html]{缺口显示数字}指标[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:31.25000 毫秒