TJA:=CLOSE>OPEN or CLOSE=OPEN and CLOSE>REF(CLOSE,1);
BQ:=IF((SYSPARAM(1) = (BARSSINCE((C > 0)) + 1)),1,0);
BQ1:=(H
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;
{ Gupang.com 股-旁-网_飞狐股票指标公式}
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
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]
IF fl[p]>fl[p+1] then
fl[p]:=fl[p+1];
end;
qk:=LOW>REF(HIGH,1)OR HIGH
G:=IF(LOW>REF(HIGH,1),LOW,IF(HIGH
D:=IF(LOW>REF(HIGH,1),REF(HIGH,1),IF(HIGH
S:=IF(LOW>REF(HIGH,1),2,IF(HIGH
tj:=s=2 and fL<=G AND fL>=D OR s=1 and fH
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;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!