ͨ_(d)Źɺָ(bio)ʽ
- ָ(bio)e ͨ_(d)ָ(bio)ʽ
- ڙ(qun)ʽ M
- ָ(bio)u
- ָ(bio)
- D
- ڣ2022-08-02 Դ(lin)W(wng)
ͨ_(d)Źɺָ(bio)ʽ
H: VOL,LINETHICK0 ;
P: DYNAINFO(23),LINETHICK0 ;
(ni)P: DYNAINFO(22),LINETHICK0 ;
TT:=240/FROMOPEN;
:=TT;
V:=REF(V,1);
A(y):H*TT/V,LINETHICK0;
ӯ :DYNAINFO(39) ;
Q:V/CAPITAL*100,LINETHICK0;
տ:=SUM(V,100);
ՓQ:տ/CAPITAL*100,LINETHICK0;
WJ:=(H+L+C)/3;
V1:=IF(H=L,1,H-MAX(O,C));
V2:=IF(H=L,1,MAX(C,O)-WJ);
V3:=IF(H=L,1,MIN(O,C)-L);
V4:=IF(H=L,1,WJ-MIN(C,O));
V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5);
V7:=(V2*V5);
V8:=(V3*V5);
V9:=(V4*V5);
IP1:=DYNAINFO(23)*;
uP1:=DYNAINFO(22)*;
IP2:=IF(ISLASTBAR AND C>300,(V9+V8)*TT,(V9+V8));
uP2:=IF(ISLASTBAR AND C>300,(V6+V7)*TT,(V6+V7));
IP:=IF(ISLASTBAR AND PERIOD=5 AND C<300,IP1,IP2);
uP:=IF(ISLASTBAR AND PERIOD=5 AND C<300,uP1,uP2);
Iu:=IP-uP;
STICKLINE(C>=O,0,IP+uP,2.8,1),COLORRED;
STICKLINE(C<O,0,IP+uP,2.8,1),COLORFFFF00;
STICKLINE(Iu>=0,0,IP,2.5,0),COLORRED;
STICKLINE(Iu>=0 AND C>=MA(C,30),0,IP,3.0,0),COLORRED;
STICKLINE(Iu>=0,0,uP,1.1,0),COLOR998800;
STICKLINE(Iu>=0 AND C>=MA(C,30),0,uP,1.5,0),COLORDDCC00;
STICKLINE(Iu<0,0,IP,2.5,0),COLORRED;
STICKLINE(Iu<0 AND C>=MA(C,30),0,IP,3.0,0),COLORRED;
STICKLINE(Iu<0,0,uP,1.1,0),COLOR998800;
STICKLINE(Iu<0 AND C>=MA(C,30),0,uP,1.5,0),COLORDDCC00;
STICKLINE(1,0,MAX(IP,uP),0,0),COLORFFFFFF;
M(jn):=Iu;
t3:=COUNT(M(jn)>0,3)=3;
DRAWICON(t3,-400 ,1);
ͨ_(d)Źɺָ(bio)ʽD⣺
ͨ_(d)Źɺָ(bio)ʽ